Comments (6)
The script is not fully tested for model which is trained with batch normalization (BN), you should make adjust to certain settings if you want to try ResNet.
For your specific problems, you should change mbox_source_layers
to layer names you want to use for prediction in ResNet152. And you should use ResNet152Body(net, from_layer='data', use_pool5=False)
.
from caffe.
yes, i already changed "mbox_source_layers" part.
I try to change layer names(many time) for prediction in ResNet152. but I have still a error .
I0716 11:52:04.729372 1913 net.cpp:752] Ignoring source layer fc7_relu7_0_split
F0716 11:52:04.730145 1913 net.cpp:765] Cannot copy param 0 weights from layer 'conv6_1'; shape mismatch. Source param shape is 256 1024 1 1 (262144); target param shape is 256 2048 1 1 (524288). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.
thank you.
from caffe.
It is weird that you have fc7_relu7_0_split
, which is not part of ResNet152 (assuming you download it from here). Make sure you are not loading from a previously saved wrong snapshot.
from caffe.
@weiliu89
thank you.
this problem remained previously logs(model...etc). I delete this log.
i try to again.
fortunately, above error not generating!
when resnet execute for training, it generate out of gpu memory.
but, it not generate when I excute using 8 core gpu.
i running(train) and yet not out of memory.
and
I have a questions.
l wonder optimal layer names to use for prediction in ResNet152(using mbox_source_layers variable).
how to select optimal ResNet152 ' layer name?(only test??)
sorry, I am not good at English. and Thank you for the reply.
from caffe.
ResNet has a problem of consuming a lot of memory. I think usually people use ResNet101 for detection. According to my experience, it's performance is similar to VGG (at least on VOC0712) within the SSD framework.
For optimal layers, you can find corresponding layers which has similar feature map size as the ones used in VGG.
from caffe.
tankyou~^^
from caffe.
Related Issues (20)
- 您这个版本的caffe 对比 BVLC/caffe 都做了哪些改动?
- Dataset file VOCtest_06-Nov-2007.tar download failed,anyone can give me a new download link?
- Problems of port_def.inc file not found in Make compilation HOT 1
- Where I can find image name when I train model?
- Single Shot Detector (SSD) architecture modification option?
- [libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 1761:15: Message type "caffe.PriorBoxParameter" has no field named "fixed_size".
- caffe.layerparameter has no field named norm_param HOT 1
- How to evaluate results after running train.sh??
- Compilation Error in cudnn_conv_layer.cpp: 'CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT’ was not declared in this scope HOT 8
- caffe ssd build failed layers/detection_output_layer.o' failed HOT 1
- Error while building Caffe - SSD tree
- Which data in trainval.txt is set aside for validation??
- Unable to download fully convolutional reduced VGGNet HOT 1
- Cannot compile Caffe (cannot find -lhdf5, cannot find -lhdf5) HOT 1
- build/tools/get_image_size: No such file or directory HOT 1
- Do annotated data layer include to rotate image method?
- Loss and missing detections
- Check failed: error == cudaSuccess (8 vs. 0) on the nvidia-docker2, RTX3070
- Priorboxes sizes and aspect ratios
- The cloud drive link provided by the author for the pre-trained model cannot be found.
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 caffe.