Comments (4)
Modifying pytorch and torchvision pip install commands to use torch 1.8.1 and torchvision 0.9.0 works. It will print an error complaining about torchtext dependency but the notebook will run just fine.
Use:
print('Installing PyTorch and Torchvision...')
! pip install pip install torch==1.8.0 torchvision==0.9.01>/dev/null
from once-for-all.
Same here. I installed torch version: 1.8. But still have the same error.
from once-for-all.
it works at Colab but print following error as you said.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchtext 0.10.0 requires torch==1.9.0, but you have torch 1.8.0 which is incompatible.
I was trying to run the tutorial in my pc and it works finally with torch 1.8.0 after restarting my VS-code workspace.
Thanks for the suggestion.
from once-for-all.
Thanks for pointing out it. This is brought API breaking changes from PyTorch. Commit 4f6fce3 should fix the issue.
from once-for-all.
Related Issues (20)
- KeyError from MBv3LatencyTable in EvolutionFinder
- ImportError: cannot import name 'MyRandomResizedCrop' HOT 1
- How to train my own acc predictor and efficiency predictor HOT 2
- All memory on one card
- How to cal calculate the mobile_trim.yaml?
- KeyError: <InterpolationMode.BILINEAR: 'bilinear'> HOT 4
- expand_ratio BUG?
- Using Once-for-all for a custom CNN HOT 1
- torch.hub example is broken HOT 2
- error when custom sub sampling a model HOT 1
- Each network in the child pool has the same architecture?
- About the pre-trained hypernetwork used for the results in Table 1, is it ofa_mbv3_d234_e346_k357_w1.0 or ofa_mbv3_d234_e346_k357_w1.2?
- Missing dependency numpy
- imagenet_1k.zip HOT 1
- [Easy fix] OFA Tutorial On colab
- Can't download `ofa_resnet50` super network HOT 3
- How do i specialize OFA for cifar10
- Resnet50 Access Denied
- LatencyTable Target Hardware Error
- Additional requirements for running the notebool
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from once-for-all.