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

Question about training on my own dataset #6

Closed
zqnnn opened this issue Jul 10, 2018 · 4 comments
Closed

Question about training on my own dataset #6

zqnnn opened this issue Jul 10, 2018 · 4 comments

Comments

@zqnnn
Copy link

zqnnn commented Jul 10, 2018

Hello, if I want to use your net model train on my dataset, what should I do?

@nmerrill67
Copy link
Collaborator

Hello,

If I am understanding correctly, you want to fine tune our pretrained model with your own dataset?

If that's the case, then first create the LMDBs for your dataset. You can see how to do this by running ./main.py db -h. Make sure you don't specify the --train-after flag. After those are made, you can run ./main.py net --define --train -w model/calc.caffemodel -x1 <your X1> -x2 <your X2> to define and train the model, initializing the weights to the previous model. Simply skip the -w model/calc.caffemodel to train from scratch. You can change the learning rate in makeNet.py in the line self.sp['base_lr'] = '0.0009' #'0.0018' if you want to lower it for fine tuning.

@zqnnn
Copy link
Author

zqnnn commented Jul 12, 2018

Thank you. I have read your paper. I don't know why you say that "Without any extra optimization constraints, the network learned zero vectors". I want to reconstruct the raw image.
2018-07-12 09 21 20

@nmerrill67
Copy link
Collaborator

Right. I think we should take this conversation off the issues feed. Please email me at nmerrill@udel.edu with questions about the paper specifically.

@nmerrill67
Copy link
Collaborator

Closing for now since this is not specifically related to the repo any more.

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

2 participants