Skip to content

Instantly share code, notes, and snippets.

@nagataka
Last active November 20, 2019 19:23
Show Gist options
  • Save nagataka/f4ce09c8c81b89ac5bdf8835862e86d4 to your computer and use it in GitHub Desktop.
Save nagataka/f4ce09c8c81b89ac5bdf8835862e86d4 to your computer and use it in GitHub Desktop.
README_template.md

The repository is organized as follows:

  • src : Contains the source codes for all .... The source code is written in Python and it takes advantage of Numpy and Matplotlib. In order to run a simulation you have to use the file run_xxxx.py.

  • tools: In this folder you can find some tools for.... With yyy.py you can reproduce the figures found in ().

  • data: Here are saved all the results once you run a simulation.

  • params: Here you can find all the configuration files containing all the parameters (for each experiments).

Requirements

  • Python 3.6
  • Numpy
  • PyTorch 1.2.0
  • CUDA 10.1
conda create -n myenv python=3.6
conda install something
mkdir xxxxx

Run

python run_xxxx.py

headless environment

If you are using headless environment (for example, ssh to a server and run the code), you may need to run something like this: xvfb-run -s "-screen 0 1400x900x24" python run_xxxx.py

License

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment