Comments (6)
@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.
from chexnet.
@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.
@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.
@AkhilPunia Thx for the advice, not an error code, just stuck here. I tried waiting, but it stucked here like forever
from chexnet.
@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.
@AkhilPunia Thx, man
from chexnet.
Related Issues (20)
- what torchvision version? HOT 1
- Tencrop on test images & preprocessing imbalanced data HOT 2
- Broken Pipeline error HOT 1
- model.load_state_dict(checkpoint['state_dict']) error with pytorch 0.4.0 HOT 10
- RuntimeError: CUDA Error: out of memory HOT 11
- where can i get the pretrained model?
- Unable to run the model on CPU
- Where can i configure GPU details? HOT 5
- cannot be unzipped HOT 1
- FPGA Development
- Low AUROC HOT 6
- can you share pre trained model
- I have an error with the first line of the code. the error is about 'tuple' object is not callable HOT 1
- How to Cite?
- Code to make Class Activation Maps?
- Replication having probelm.
- torch._C._cuda_init() RuntimeError: The NVIDIA driver on your system is too old (found version 10020)
- isn't the training labels should be 15 (14 disease labels+ No Findings) instead of 14?
- How long will it take for training?
- 协议声明
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 chexnet.