Coder Social home page Coder Social logo

Comments (6)

rgeirhos avatar rgeirhos commented on July 30, 2024

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.

mingbocui avatar mingbocui commented on July 30, 2024

@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.

rgeirhos avatar rgeirhos commented on July 30, 2024

Thanks @mingbocui for testing this. I have updated requirements.txt in commit 2d6ef2e.

from stylized-imagenet.

iminfine avatar iminfine commented on July 30, 2024

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.

rgeirhos avatar rgeirhos commented on July 30, 2024

Thanks @iminfine; I have updated requirements.txt in commit 0e9a244.

from stylized-imagenet.

GA-17a avatar GA-17a commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.