Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 955 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 955 Bytes

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