The environment is described in environment.yml, and you should also clone and install the custom D4RL fork from this repository.
-
Train a single model
To train a model for theumazeenvironment, run:python main.py --env-name antmaze-umaze-v2 --act relu
-
Train multiple models
To train all three models, use:./train_checkpoints.sh
Pre-trained models are available in the ref_ckpts_0411/ directory.
-
Evaluate pre-trained models
Assuming the checkpoints are in theref_ckpts_0411/folder, evaluate the ant agents with:./run_computer_exps.sh
-
Simulate synapse weights
Generate simulated synapse weights under various conditions by running:python generate_simulated_synapse.py
-
Run stretchable ant experiments
For experiments with stretchable ant agents, execute:./run_stretch_exps.sh