Skip to content

pcsl-epfl/two-hypothesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

two-hypothesis

requirements

Reproduce the figures

Execute:

python plots.py

It will run the simulations and plot the results.

To execute many simulation (let say 100) at the same time using a slurm scheduler execute:

python plots.py --thread 100 --python "srun python"

To execute the simulations longer (during 1 hour), execute:

# delete previous shorter time simulations
rm -rf glassy ram_opt_mem ram_opt_reset
python plots.py --thread 100 --python "srun python" --wall 3600

Full install instructions for conda user

conda create -n test python=3.8
conda install pytorch torchvision torchaudio cpuonly -c pytorch
conda install matplotlib
pip install git+https://github.com/mariogeiger/gradientflow

# clone this repository
python plots.py