If you're using a GPU, run:
./install_gpu.shOtherwise, use:
./install_cpu.shpython3 train.py +selected_model/mnist_collage=distance_aware_self_attention +experiment=mnist_collagepython3 train.py +selected_model/mnist_collage=distance_aware_self_attention +experiment=mnist_collage_inversepython3 train.py +selected_model/camelyon16=distance_aware_self_attentionYou can use the option device=0 to use GPU 0. Full list of options is available at conf/config.yaml. We use hydra for configuration management.
See the YAML files in conf/selected_model/mnist_collage_ablations.
Run ./run_trials_for_selected_models_cpu.sh to run all the ablations (set selected_model_type="mnist_collage_ablations" in the shell script).