From a scivision workshop this week we encountered the following issues, a couple of notes on problems encountered yesterday when they were going through the example notebook, all on M1 Macs:
- we already mentioned the tensorflow one, but to clarify a bit, if they see the error when doing
load_pretrained_model for the "resnet" model, we had to clone the repo https://github.com/alan-turing-institute/scivision_classifier.git then remove tensorflow from requirements.txt, and then pip install . (and install tensorflow some other way e.g. via conda
- some people also had problems with load_pretrained_model for the huggingface classifier. For this, the approach was similar: clone the repo https://github.com/alan-turing-institute/scivision_huggingface, remove all the "transformer" lines from the requirements.txt, then do
pip install git+https://github.com/huggingface/transformers (i.e. install from source), and then do pip install . .
From a scivision workshop this week we encountered the following issues, a couple of notes on problems encountered yesterday when they were going through the example notebook, all on M1 Macs:
load_pretrained_modelfor the "resnet" model, we had to clone the repo https://github.com/alan-turing-institute/scivision_classifier.git then remove tensorflow from requirements.txt, and thenpip install .(and install tensorflow some other way e.g. via condapip install git+https://github.com/huggingface/transformers(i.e. install from source), and then dopip install ..