-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipython notebook tutorial GCAL_Tutorial.ipynb issues #631
Comments
How are you running the notebooks? Topographica has a notebook command for the command line, which will set up the environment correctly. Try: ./topographica -n |
Great thanks.
|
All seems to work in tutorial until the command topo.sim.Retina.input_generator.anim(50) which fails with output: KeyError If i change the value 50 to anything other than 0, it produces same error. If use anim(0) i get a pattern displayed. |
After further investigation, it seems the actual call to anim(50) is not the problem. So if I do: |
I found the issue and will file an issue with HoloViews. For now though you can remove the call to: holoviews.archive.auto() This call tries to archive all the plotted figures in the notebook and seems to be failing in this particular case. |
Thanks Philipp. That seems to do the trick and now that tutorial can work and I can see the animation. Cool... I think the Notebook is a good approach, but it will require me to change my entire present work flow. Something I will invest in eventually, but first I need to work out ways to take advantage of GPUs in the settling sheets, so i am stuck with the inability to display projections in the GUI if I am to look at integrating the sparce/GPU work somehow. |
While waiting on the GUI issue to be resolved, I thought i try the notebook tutorials. When trying to run the GCAL_Tutorial.ipynb tutorial it runs into import issues. Is this tutorial supposed to run out of the box? Note i am using a git clone of topographica.
I tried:
It seems the modules definitions and paths are not defined and ipython cannot find them.
The text was updated successfully, but these errors were encountered: