Code corresponding to our NeurIPS 2022 paper "No Free Lunch from Deep Learning in Neuroscience: A Case Study through Models of the Entorhinal-Hippocampal Circuit"
We recommend creating a virtual environment. One way to do this is by running the following sequence of commands:
python3 -m venv mec_hpc_venv
Then activate the virtual environment:
source mec_hpc_venv/bin/activate
Ensure pip is up-to-date:
pip install --upgrade pip
Then install the required packages:
pip install -r requirements.txt
Note: Some of the requirements' pinned versions have known security vulnerabilities and have since been updated. We intentionally kept the outdated versions to ensure fair comparisons with previous papers. Additionally, much code is vestigial (see Attribution below).
At a high level, our code is designed with two different phases in mind: training models at scale, then analyzing trained models at scale.
We use W&B to run sweeps on our SLURM cluster. W&B sweep configurations are specified inside sweeps/
,
and SLURM run scripts are inside scripts/
. The Python entrypoint is mec_hpc_investigations/models/run_trainer_rylan.py
.
After training models, they can be analyzed in a 2 step process. First, use scripts/run_eval_sweep.py
to create files for analyzing a single model. Second, use the code inside notebooks/
to answer
particular questions.
This repository was forked from Nayebi et al. 2021's
commit dfaa3bc03eba9df8aace1541c0724482fbcab75e
on 2022/03/18.
Questions? Comments? Interested in collaborating? Open an issue or email Rylan Schaeffer ([email protected]) and cc Ila Fiete ([email protected]).