Giter VIP home page Giter VIP logo

Comments (8)

ieee8023 avatar ieee8023 commented on September 17, 2024

Ok I see it. It seems to be related to a new version of torchvision or torch. I tested it with torchvision 0.6.1 and it worked so you can downgrade to that. I'll look more into it today.

from torchxrayvision.

dara1400 avatar dara1400 commented on September 17, 2024

I have downgraded as:
!pip install torchvision==0.6.1

now this error happened:

The NVIDIA driver on your system is too old (found version 10010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.

Also I forgot to mention, I am using google colab

from torchxrayvision.

ieee8023 avatar ieee8023 commented on September 17, 2024

I have a fix. I am pushing in in 5 min.

from torchxrayvision.

ieee8023 avatar ieee8023 commented on September 17, 2024

It is the same issue and solution here: pytorch/pytorch#42242

from torchxrayvision.

ieee8023 avatar ieee8023 commented on September 17, 2024

Ok the version 0.0.13 should fix it.

from torchxrayvision.

dara1400 avatar dara1400 commented on September 17, 2024

Thanks a lot
It is working well.

from torchxrayvision.

Jen2351 avatar Jen2351 commented on September 17, 2024

Hi there,

I have the same issue right now. I run this line in Spyder and then it shows the error "AttributeError: module 'torchxrayvision' has no attribute 'models'". The version of torchxrayvision is 0.0.24, torchvision is 0.9.0 and torch is 1.8.0. I have tried to downgrade the torchxrayvision to 0.0.23, but it did not help.

from torchxrayvision.

ieee8023 avatar ieee8023 commented on September 17, 2024

@Jen2351 maybe you have a folder called torchxrayvision in your path that is confusing the import?

from torchxrayvision.

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.