Closed RobBlackwell closed 2 years ago
Thanks @RobBlackwell unfortunately this seems to be a thorny Binder issue with a mismatch in numpy versions causing issues. At the moment, when I run the notebook locally, this doesn't seem to happen. In either case, the conda environment I am using to run the notebook (or gets used to build the binder) installs numpy via it being a dependency of scivision (by default it is numpy-1.23.3 now). So there must be some quirk of how the binder get's built that I'm misunderstanding - I'll try to look into this further.
@acocac resident Binder expert, do you have any thoughts on this?
Ok, for some reason the binder at https://github.com/alan-turing-institute/scivision called "Launch Binder" works - I will replace the button in the readthedocs (its the same notebook)
ah wait no it failed for me there too
I tested clicking the binder link from the readthedocs link in a private browser and it now works...
@RobBlackwell can you try to replicate @edwardchalstrey1 suggested workaround?
One of my colleague who hasn't opened the link before also had the same issue
and now I just tried again with incognito and it doesn't work
I will try and create a fresh binder link and see if that works
ok yes this worked, I will update the links in the docs
Describe the bug
The example notebook referenced from the getting started documentation no longer seems to work, error is
module compiled against API version 0x10 but this version of numpy is 0xf
.I suppose that all the models need to be recompiled so that dependent library versions remain in step?
How To Reproduce
Load the example notebook and run.
It fails with a RuntimeError when you get to
resnet_model = load_pretrained_model(model_repo, model='resnet18', allow_install=True)
Environment (generate for Linux, macOS and 64-bit Windows)
Example binder.
Additional information