Certainly.
step :
1.Install nengo using command:pip install nengo
2.Install nengo-bio using command: pip install nengo-bio
3.reset nengo-bio version to commit 8ff2274f8f5e09877ed0a554ca268f9fa396e3a5
4.Download the cerebellum model code
5.Run the plot-result-basic.py program with mode=two_populations_dales_principle
6.Then the above result appeared
I have been struggling with this problem for a long time, if you can help me solve this problem, I would be very grateful!
I looked into this some more and there are multiple potential issues:
- You have to use
pip install -e .
if you want changes made to the source repository to be visible. In other words, you cannot usepip install nengo-bio
and then make changes to the source repository (e.g., check out an older revision). - The code for running the model in
Plot - Results - Basic.ipynb
was just for debugging; as I wrote above [1] you have to useRun Model.ipynb
and then load the results in the appropriate places inPlot - Results - Basic.ipynb
. You’re likely using the debug data to plot your results (at least your plots are very similar to what I get when I plot the debug data). - The
Plot - Results - Basic.ipynb
in the repository was not exactly the version we used for the paper; that’s why the overall layout was not what’s in the paper. I’ve restored a version from Feb 3 from our backups and replaced the file on GitHub.
To make things easier for you, I’ve prepared a Docker container that sets everything up. See the Dockerfile
[2] in the repository for the exact sequence of commands required in a fresh Debian 10.8 installation. See the updated README [3] for how to use the Docker container. Note that my knowledge of Docker boils down to ten minutes of using Google; so I cannot help you if you run into any issues with Docker.
Sorry for making this entire process so complicated; but (unfortunately) this is how things typically are with research code.
[2] cogsci2020-cerebellum/Dockerfile at master · ctn-waterloo/cogsci2020-cerebellum · GitHub
[3] cogsci2020-cerebellum/README.md at master · ctn-waterloo/cogsci2020-cerebellum · GitHub
Thank you very much for your patience and meticulous help! I have solved this problem. This paper deeply inspired me and made me very interested in this research direction.