Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train on a different dataset #17

Open
jay98 opened this issue Jul 11, 2017 · 8 comments
Open

Train on a different dataset #17

jay98 opened this issue Jul 11, 2017 · 8 comments

Comments

@jay98
Copy link

jay98 commented Jul 11, 2017

Hey @TimoSaemann ,
I'm confused as of how to use train Enet on a different dataset. I'm trying to train it on KITTI data set.
Thank You

@TimoSaemann
Copy link
Owner

Have a look into the tutorial: https://github.com/TimoSaemann/ENet/tree/master/Tutorial

@Viswa14
Copy link

Viswa14 commented Jul 12, 2017

Hey @TimoSaemann : While training on a different dataset (with different resolution of images) What will be the necessary modifications ? Is there an example for the same ? Thanks a lot

@kli-casia
Copy link

Same question

@nk-dev0
Copy link

nk-dev0 commented Jul 17, 2017

@Viswa14 @kli-nlpr I basically followed the tutorial, but for changing image resolution just change the first layer in the train prototxt to your desired size, and the label divide factor if necessary. Also you'll want to change the num_output param in deconv6_0_0 to your number of classes

@Viswa14
Copy link

Viswa14 commented Jul 17, 2017

@nkrall : Thanks for you help!
Did you by any chance encounter a protobuf version mis-match error while compiling the code ? When I compile the caffe with default protobuf 2.x, the compilation is successful but when I execute Training script, I get an error stating Python layer requires protobuf 3.X and if I upgrade my protoc and protobuf version, the caffe compilation fails. Any Suggestion ?

@nk-dev0
Copy link

nk-dev0 commented Jul 19, 2017

@Viswa14 hmm, no I didn't run into that

@changlinzhang
Copy link

@nkrall May I ask how you edit other files? I have edited absolute paths and train_file.txt. Because my the number of new dataset classes is 30, I also changed class numbers. But it didnt seem to converge. (and create_colormap.py needed to be edited? My new dataset doesnt seem to have RGBs of classes)

@jianbozhanghit
Copy link

@nkrall : Thanks for you help!
Did you by any chance encounter a protobuf version mis-match error while compiling the code ? When I compile the caffe with default protobuf 2.x, the compilation is successful but when I execute Training script, I get an error stating Python layer requires protobuf 3.X and if I upgrade my protoc and protobuf version, the caffe compilation fails. Any Suggestion ?

@Viswa14 Did you solve the problem? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants