Comments (4)
Hi, the problem is that the intermediate models are saved either in GPU or CPU format, depending on the initial setting. The solution would be to use vl_simplenn_move() right after loading the intermediate model. We should add this to a future version.
On 8 Jan 2015, at 18:05, guanggz [email protected] wrote:
When i interrupt the example code, say cnn_mnist with opts.train.useGpu = false, and change it to GPU mode by doing opts.train.useGpu = true, it gives errors like
resuming by loading epoch 59
training: epoch 60: processing batch 1 of 600 ...Error using vl_nnconv
DATA and FILTERS are not both CPU or GPU arrays.
Also, if I complete run can_mnist in GPU mode, it will skip to run again in CPU mode.
Any idea that I can switch btw CPU and GPU freely and start from the beginning as I wish?Thanks in advance.
—
Reply to this email directly or view it on GitHub #37.
from matconvnet.
Hi Andrea, thanks for quick reply.
It is a great function for notebooks to carry on with unfinished jobs. But as for now, could you suggest some quick fix/hints for this problem? thx.
On 08 Jan 2015, at 19:22, Andrea Vedaldi [email protected] wrote:
Hi, the problem is that the intermediate models are saved either in GPU or CPU format, depending on the initial setting. The solution would be to use vl_simplenn_move() right after loading the intermediate model. We should add this to a future version.
On 8 Jan 2015, at 18:05, guanggz [email protected] wrote:
When i interrupt the example code, say cnn_mnist with opts.train.useGpu = false, and change it to GPU mode by doing opts.train.useGpu = true, it gives errors like
resuming by loading epoch 59
training: epoch 60: processing batch 1 of 600 ...Error using vl_nnconv
DATA and FILTERS are not both CPU or GPU arrays.
Also, if I complete run can_mnist in GPU mode, it will skip to run again in CPU mode.
Any idea that I can switch btw CPU and GPU freely and start from the beginning as I wish?Thanks in advance.
—
Reply to this email directly or view it on GitHub #37.—
Reply to this email directly or view it on GitHub.
from matconvnet.
Hi, yes of course. Simply use vl_simplenn_move() to convert the model to GPU or CPU as needed right after the load instruction in cnn_Train.m
On 8 Jan 2015, at 18:33, guanggz [email protected] wrote:
The solution would be to use vl_simplenn_move() right after loading the intermediate model.
from matconvnet.
Thanks! good to go again :D
On 08 Jan 2015, at 19:40, Andrea Vedaldi [email protected] wrote:
vl_simplenn_move()
from matconvnet.
Related Issues (20)
- Command failed while compiling MatConvNet HOT 1
- Visual Studio compiling: DagNN.mex
- Latest versions vl_compilenn fail
- vl_compilenn directory
- Error in vl_testnn('gpu', true). MATLAB: mex: ErrInvalidMEXFile
- Error vl_compilenn('enableGpu', true) HOT 1
- cuda11.1 HOT 1
- 未定义的函数 'vl_testnn'
- this is why
- D:\Software\matconvnet-1.0-beta25\matlab\src\bits\datacu.hpp(89): error: identifier "cudnnConvolutionFwdPreference_t" is undefined D:\Software\matconvnet-1.0-beta25\matlab\src\bits\datacu.hpp(94): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined D:\Software\matconvnet-1.0-beta25\matlab\src\bits\datacu.hpp(99): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined D:\Software\matconvnet-1.0-beta25\matlab\src\bits\datacu.hpp(141): error: identifier "cudnnConvolutionFwdPreference_t" is undefined D:\Software\matconvnet-1.0-beta25\matlab\src\bits\datacu.hpp(147): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined D:\Software\matconvnet-1.0-beta25\matlab\src\bits\datacu.hpp(153): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined 6 errors detected in the compilation of "D:/Software/matconvnet-1.0-beta25/matlab/src/bits/data.cu". HOT 1
- every time i reopen the matlab porject,need to recompile the matconvnet,why?
- Question about the matrix format of vgg19
- Error in vl_compilenn>mex_compile (line 583) and vl_compilenn (line 492) HOT 1
- How to solve?
- The NVCC compiler 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc' does not appear to be valid. HOT 1
- Issue when compiling with GPU enabled HOT 1
- error in vl_compilenn HOT 1
- Is vl_nnconv implemented based on the FFT operator? HOT 1
- Convert pytorch model to matconvnet model
- Matlab crack after run again Matconvnet
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 matconvnet.