Skip to content

Code for the paper "Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making"

Notifications You must be signed in to change notification settings

vivekmyers/contrastive_metrics

Repository files navigation

Contrastive Metric Distillation

Code for the paper "Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making."

Installation

  1. Build conda environment: conda env create -f environment.yml
  2. Activate the environment: conda activate metrics
  3. Install pip dependencies: pip install -r requirements.txt --no-deps
  4. Export environment variables
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib

Running experiments

Check run.py for available tasks and specific hyperparameters. You can turn on --debug and --run_tf_eagerly to run the code in debug mode.

About

Code for the paper "Learning Temporal Distances: Contrastive Successor Features Can Provide a Metric Structure for Decision-Making"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages