Comments (5)
out of memory!
train to change the batchSize=4 ,for example : batchSzie =1.
Because the resnet101 need much more memory.
from tiny.
thank you ! I have set opts.batchSize = 10 to opts.batchSize = 1in cnn_widerface.m and opts.batchSize = 256 to opts.batchSize = 1 in cnn_train_dag_hardmine.m ,but remain get the same error ,
from tiny.
Parameters set in hr_res101.m
will override default ones in both cnn_widerface.m
and cnn_train_dag_hardmine.m
.
from tiny.
hi dear @peiyunh I haved compiled and tested as you said,and I can run the demo,but when I run hr_res101('train');I got the errors as floows:
( I have changed the MAX_INPUT_DIM in hr_res101.m to 1500)
Lab 1:
train: epoch 01: 1/269:
Lab 2:
train: epoch 01: 1/269:
Lab 3:
train: epoch 01: 1/269:
Lab 4:
train: epoch 01: 1/269:
Error using dagnn.Conv/forward (line 11)
Error detected on worker 1.
Out of memory on device. To view more detail about available memory on the GPU, use 'gpuDevice()'.
If the problem persists, reset the GPU by calling 'gpuDevice(1)'.
Error in dagnn.Layer/forwardAdvanced (line 85)
outputs = obj.forward(inputs, {net.params(par).value}) ;
Error in dagnn.DagNN/forward (line 28)
obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;
Error in cnn_train_dag_hardmine>process_epoch (line 286)
net.forward(inputs, opts.derOutputs);
Error in cnn_train_dag_hardmine>(spmd body) (line 158)
[stats_.train, prof_] = process_epoch(net_, state, opts, 'train') ;
Error in cnn_train_dag_hardmine>(spmd) (line 156)
spmd
Error in cnn_train_dag_hardmine (line 156)
spmd
Error in cnn_widerface (line 212)
[net, info] = trainFn(net, imdb, getBatchFn(batchGetter, opts, net.meta), ...
Error in hr_res101 (line 41)
cnn_widerface('inputSize', inputSize, ...
I have tried to reset the gpuDevice and tried to change the batchsize smaller ,but another error came out.So I am wondering if you have any idea to fix this problem. thank you so much!
from tiny.
I have fixed the probelm~thx
from tiny.
Related Issues (20)
- How to train with my database? HOT 4
- How to pre-process the training data HOT 1
- hr_res101('train') error: vl_argparse error HOT 1
- How to speed up the process to use it with webcamera?
- Which layer can we use for face recognition params?
- Where is ellipse linear regression?
- how to convert the text file to mat file like wider face ?
- Question on train detector on my own dataset HOT 1
- Training on own data HOT 1
- Initialise Resnet model HOT 1
- Foveal descriptor HOT 1
- too much training time
- I have the same question too. It confuse me a few days. I read part of the code, it seems that the output 'score_cls' is a 25 depth matrix or tensor which corresponding to each 'templates'. I just don't understand the why?? If someone know it, I'm very thanksful to you. HOT 2
- hr_res101.mat broken link HOT 2
- Can not download model HOT 1
- new issue
- How can we use our model to detect faces with camera in real time? HOT 1
- About the function 'nms_mex' error HOT 1
- nvcc fatal: Unsupported gpu architecture 'compute_86'
- Links to pretrained weights broken? HOT 1
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 tiny.