Fix binder support by adding torchvision, torchtest, and opencv to environment.yml #5
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.
Hi @Atcold. I was recently recommending your minicourse but I saw that as the result of recent course development the Binder for it is broken. Specifically,
torchvision
andtorchtext
are now used and are not part of the currentenvironment.yml
. In addition, in Notebook 10opencv
is used. In the notebook you install it in the environment using Jupyter shell magics, but this can't be done in Binder as the user doesn't have access toconda
once they are in the built image. To fix thisopencv
is added toenvironment.yml
and anapt.txt
file is added which containslibgl1-mesa-glx
for Binder to install with apt-get to provide some of the OS libraries thatopencv
needs.Please let me know your thoughts on all of this and if you would like any of these changes (or none of them). If you want to try out the new environment in Binder you can try the image built
from my fork(edit: as I deleted my branch this is now the Binder ofmaster
):