Comments (6)
Okay. The problem is caused because there is no gpu in your environment.
If you have the GPU in the machine, make sure setting the CUDA_VISIBLE_DEVICE
properly before running the code.
I add the support to run the code in CPU mode. You can add --cpu
and see the instructions in README. But Keep in mind, cpus are not efficient for training.
from pytorch-vgg-cifar10.
Hi @Adnan-annan,
Which PyTorch version you are using now?
This code was implemented 1~2 years ago. I cannot remember all the details. It should be PyTorch 0.3 or 0.4. Due to the dramatical updates in PyTorch 1.0.0, there is a high chance you may need to modify some parts to make it work.
from pytorch-vgg-cifar10.
updated the code. It works with my PyTorch 1.0.0. now. Let me know if it still causes any problem.
from pytorch-vgg-cifar10.
Thanks for your reply, i want to use the trained model and use it for my own research, i am using cpu at the moment, so i would like to just run the trained model in my cpu first and later i will fine tune it for my own purpose. but it not loading your trained model on my cpu, may be the problem is pytorch version mismatch.
from pytorch-vgg-cifar10.
unfortunately wget http://www.cs.unc.edu/~cyfu/cifar10/model_bes_cpu.pth.tar is not working,,, it gives ERROR 404: Not Found. error :(
from pytorch-vgg-cifar10.
oh it should be wget http://www.cs.unc.edu/~cyfu/cifar10/model_best_cpu.pth.tar . It works now
from pytorch-vgg-cifar10.
Related Issues (12)
- License? HOT 1
- What is the model_best.pth file's model? HOT 3
- How is the data divided among workers
- The version of Pytorch and torchvision
- Should it be decay by 2? HOT 1
- Oversampling in CIFAR-10 HOT 2
- Question regarding VGG cfg HOT 1
- I use your code the result all are 100 or 99.9? HOT 1
- I run your code and always nan loss, can you help me? HOT 1
- Is your code based on a code template? HOT 2
- Why not giving the whole model to DataParallel ?
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 pytorch-vgg-cifar10.