You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 . .
The text was updated successfully, but these errors were encountered:
edwardchalstrey1
changed the title
Address dependency problems caused by tensorflow, transformers
Address dependency problems caused by M1 Macs
Sep 29, 2022
Since the issue doesn't occur when installing tensorflow via conda, this might be a nice time to think about updating scivision load_pretrained_model function to install dependencies for models that have an environment.yml -> #331
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_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 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 .
.The text was updated successfully, but these errors were encountered: