Coder Social home page Coder Social logo

PyTorch (<= 1.0.0 ) ? about gscnn HOT 4 CLOSED

nv-tlabs avatar nv-tlabs commented on May 28, 2024
PyTorch (<= 1.0.0 ) ?

from gscnn.

Comments (4)

Tetsujinfr avatar Tetsujinfr commented on May 28, 2024

ok, so I tried running the code with pytorch v1.1 and it failed.
Now, I have setup a new virtual env for your project only, where I did install pytorch 1.0.0. I am going through t)the dependencies installation currently (there are many dependencies you did not list in your readme but I can figure out hopefully.
So I am reaching the torchvision dependency (ModuleNotFoundError: No module named 'torchvision'), then I am like doing pip3 install torchvision but then it tries to install pytoch1.2.
So I kill it and I am trying to prevent this, but on the pypi webpage of torchvision (https://pypi.org/project/torchvision/) they say "TorchVision requires PyTorch 1.1 or newer."

So your project requires pytorch <=1.0.0 but your project has a dependency on torchvision which itself requires pytorch v1.1 or above... please help me resolve this indefinite loop!!!
thanks a lot

from gscnn.

ShreyasSkandanS avatar ShreyasSkandanS commented on May 28, 2024

I was able to install torch vision by forcing it to use torchvision==0.2.0. I'm not sure if it's the right thing to do or not, but as you mentioned installing torchvision by default upgrades torch to 1.2.0.

from gscnn.

tovacinni avatar tovacinni commented on May 28, 2024

Thanks for your interest in our work! As mentioned in #6, the PyTorch versioning was a typo and I have now amended it. Using the newest versions for most things should in theory work, although you may need to make certain tweaks if there are deprecated functions etc. I can try to find out which exact versions I used for the dependencies.

from gscnn.

Tetsujinfr avatar Tetsujinfr commented on May 28, 2024

Thanks a lot for your help and clarifications. Great project. Closing this.

from gscnn.

Related Issues (20)

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.