Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
/ nmf2-paper Public archive

Code for generating some figures in for the NeuroMechFly v2 paper.

License

Notifications You must be signed in to change notification settings

NeLy-EPFL/nmf2-paper

Repository files navigation

NeuroMechFly v2 Manuscript Repository

This repository contains the scripts to generate the figures and videos for the NeuroMechFly v2 paper. It is for archival purposes and will not be maintained.

To use NeuroMechFly, see the FlyGym repository and visit neuromechfly.org.

Instructions

Install the resubmission-20240501 snapshot of FlyGym.

Clone this repository:

git clone git@github.com:NeLy-EPFL/nmf2-paper.git
cd nmf2-paper
git checkout as-published

Create the conda environment using the provided environment.yml file:

conda env create --file environment.yml

If you are working on a machine without a display (e.g., a server), you will need to switch the renderer to EGL:

conda activate nmf2-paper
conda env config vars set MUJOCO_GL=egl PYOPENGL_PLATFORM=egl
conda deactivate

Some tasks require time-consuming data collection and training. To save time, you can download the data and trained models:

./download_data.sh

Generate the figures and videos by running the following script:

conda activate nmf2-paper
./generate_figures.sh

Note that the results may vary slightly due to differences in system architecture.

About

Code for generating some figures in for the NeuroMechFly v2 paper.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •