Comments (6)
Thanks for pointing this out. You're recommending to change "torch==1.1.0" to "torch==0.4.0" in requirements.txt, is that correct / can you confirm this works as expected? The requirements were automatically generated with pipreqs, happy to change this line if necessary.
from stylized-imagenet.
@rgeirhos thanks for your reply, I have tested for several trails and I would suggest that changing torch version to 0.4.1(version 0.4.0 did not work) and torchvision version to 0.2.2. Now the code could run correctly.
from stylized-imagenet.
Thanks @mingbocui for testing this. I have updated requirements.txt in commit 2d6ef2e.
from stylized-imagenet.
I think the requirements should be updated. You can just delete tqdm=4.32.2
ERROR: torchvision 0.2.2 has requirement tqdm==4.19.9, but you'll have tqdm 4.32.2 which is incompatible.
from stylized-imagenet.
Thanks @iminfine; I have updated requirements.txt in commit 0e9a244.
from stylized-imagenet.
Hi @mingbocui @iminfine, did you meet the UserWarning "nn.UpsamplingNearest2d is deprecated. Use nn.functional.interpolate instead."? It seems that AdaIN style transfer model uses the old upsample algorithm. Now I can only get 224*224 images without fixing this warning. For val dataset, it's ok. But for train dataset, it's a little trouble.
from stylized-imagenet.
Related Issues (12)
- [Request] requirements.txt HOT 1
- Fraction of 'shape' decisions and Fraction of 'texture' decisions HOT 1
- About checkpoint file HOT 1
- docker image missing requirements HOT 7
- Conflicting torch / numpy versions HOT 3
- Issue with RuntimeError in Stylized-ImageNet Preprocessing HOT 1
- Can you share the vgg_normalised.pth,.py,decoder.pth,.py and so on? HOT 3
- recommendations for training HOT 1
- imagenet root problem. HOT 2
- Custom dataset HOT 2
- Kaggle's painter-by-numbers dataset is not found HOT 2
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 stylized-imagenet.