Comments (6)
hey, DebojitBiswas. I meet the same question, have you figure it out?
from mobilenet-ssd.
Hey. Did you solve this problem? I'm also getting the same error and couldn't find any solution.
from mobilenet-ssd.
Hi,
I have solved the problem. That was long time ago. I dont remember exactly. But I will try to help you. Please let me know your steps you performed and which step you are getting error.
from mobilenet-ssd.
@DebojitBiswas I have to use SSD framework to train the network on my own image dataset. For that I looked in the internet how things work and how to train a SSD network. I found out that I need some files like "solver.prototxt" with the net defined inside solver "train.prototxt" and "test.prototxt" and a "labelmap.prototxt". There is also a "train_lmdb" and "test_lmdb" files needed. For generating lmdb files I did this
$ GLOG_logtostderr = 1 / Users / screamer / caffe / build / tools / convert_imageset --resize_height = 256 --resize_width = 256 --shuffle / /Users/screamer/Desktop/Test/train.txt / Users / screamer / Desktop / Test / train_lmdb
where the "train.txt" file contains the path to the images and class number (format like this)
/export/users/hull/Downloads/cars_test/00001.jpg 0
/export/users/hull/Downloads/cars_test/00002.jpg 0
/export/users/hull/Downloads/cars_test/00003.jpg 0
In my case, I have just one class.
After doing all these necessary steps, I put the network on training
/Path/To/caffe train --solver /Path/To/solver.prototxt
But here I encounter a problem which is "Error parsing text-format caffe.NetParameter: 16:18: Message type "caffe.TransformationParameter" has no field named "resize_param".
I want to know that if I'm doing all this right? Where I'm making a mess? I would really be thankful if you help me out in explaining this.
from mobilenet-ssd.
- From SSD dataset you need only "SSD.caffemodel" that s all.
- Then you need to create a symbolic link (if you are putting your full dataset at the same directory, you dont need to create this then) to the current MobileNet directory.
- You need to create a label map file which is easy. I would suggest use atleast 2 classes instead of 1. Because of there is a background you will have class 0,1 and 2.
- you need to edit no.of classes at gen_model.sh, that file will edit MobileNetSSD_deploy.prototxt, MobileNetSSD_test.prototxt and MobileNetSSD_train.prototxt in the example folder.
5.Finally run train.sh this file contains path of SSD.caffemodel file and solver_train.prototxt
As far I remember I was getting "resize_param" because of I did not change the class number at step 4. Let me know what did you get.
from mobilenet-ssd.
I’m also getting the same error
Message type “caffe.TransformationParameter” has no field named “resize_param”.
According to a github friend,
"there is no such functionality in caffe framework. To make it work, you would need to first get original caffe, and second merge it with https://github.com/ducha-aiki/caffe/tree/more-transforms
This process is non-trivial, so I don`t recommend you to do it. Instead, better use newer frameworks like pytorch or keras".
from mobilenet-ssd.
Related Issues (20)
- ./train.sh results got aborted (core dumped) HOT 3
- Working code, but no detections using C++?
- Getting error [Errno 2] No such file or directory when I run create_data.sh HOT 3
- Error caused by 'line' and 'size' lines in create_list.sh
- Custom data training using VGG16 deploy.prototxt and .caffemodel
- 如果你是看[手把手教你]有问题进来的,赶紧把环境搞成一样的
- how to run train.sh scipt with cpu only mode
- Training aborts when running train.sh for unknown reason HOT 1
- How to evaluate results after running train.sh??
- Incompatible number of blobs for layer conv0/bn
- How to set the size of prior box of PriorBox layer?
- Accuracy too low for custom dataset
- Which data is in validation set in trainval.txt?
- 关于mobilenet中卷积核的深度的问题
- Reproduce deploy.prototxt
- # HOT 1
- how to compute meanAp for deploy.prototxt?
- where is scripts/annotate.py
- Hii HOT 1
- Object
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 mobilenet-ssd.