Giter Site home page Giter Site logo

Comments (6)

stoicdataguy avatar stoicdataguy commented on August 16, 2024

@aa210682 I think you are running into the same problem as i was. If you have followed pytorch installation for conda, then please check its version using.
import torch; print (torch.__version__);
I found out that conda provides version 0.12 . Instead, try pip which gives you the latest 0.3 version.

What actually happens is that it throws error showing torchvison.transforms doesnot have 'Resize' or 'TenCrop' module. This problem will be resolved on updating your pytorch library.

screen shot 2018-01-29 at 1 09 49 pm

from chexnet.

billhhh avatar billhhh commented on August 16, 2024

@AkhilPunia thx for providing your solution, I have the same problem as aa210682's. I have checked my version of pytorch, it is already in 0.3.0

from chexnet.

stoicdataguy avatar stoicdataguy commented on August 16, 2024

@billhhh If you are getting an error code please post it here if not, then i suggest you try running a jupyter notebook for step by step execution.

from chexnet.

billhhh avatar billhhh commented on August 16, 2024

@AkhilPunia Thx for the advice, not an error code, just stuck here. I tried waiting, but it stucked here like forever

image

from chexnet.

stoicdataguy avatar stoicdataguy commented on August 16, 2024

@billhhh You can have a look at my notebook .
Model_Test_Prediction.pdf

Ok, so if your code seems to be stuck at this step, it might not even be an issue because the 'model.eval()' takes a significant amount of time. I am using a Tesla K80 and it took around 10 minutes for me. So, that is completely normal. You can check if your GPU is running by using 'nvidia-smi', if you are not using a GPU then its no wonder why the code is stuck.

from chexnet.

billhhh avatar billhhh commented on August 16, 2024

@AkhilPunia Thx, man

from chexnet.

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.