Merged
Conversation
Run GeNN models from a docker image that launches a jupyter notebook
Thank you again for your hard work on this @Stevinson - am merging this into an internal development branch so we can experiment with a few more things - hopefully our impending 4.8.0 release will come with a docker image though!
…enamed entrypoint
Codecov ReportBase: 88.85% // Head: 88.85% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #550 +/- ##
=======================================
Coverage 88.85% 88.85%
=======================================
Files 76 76
Lines 12319 12319
=======================================
Hits 10946 10946
Misses 1373 1373 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
jamesturner246
approved these changes
Oct 27, 2022
Member
jamesturner246
left a comment
There was a problem hiding this comment.
All requested changes (via Skype) done. Looks good to go.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docker
Notebook
A jupyter notebook can be launched with the notebook command:
Script
PyGeNN scripts can be run with the
scriptcommand:Shell
If no command is specified, a bash shell will be launched. Alternatively another executable could be specified:
This shell can be used for interacting with both PyGeNN and C++ GeNN models.
User permissions
The GeNN docker creates an unprivileged user but, this user can be configured to have the same UID and GID as your local user, meaning that files they create will have correct permissions etc by passing through
LOCAL_USER_IDandLOCAL_GROUP_IDenvironment variables:Closes #546