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

training my own data #123

Open
luciaL opened this issue Apr 28, 2017 · 5 comments
Open

training my own data #123

luciaL opened this issue Apr 28, 2017 · 5 comments

Comments

@luciaL
Copy link

luciaL commented Apr 28, 2017

I use the crfrnn net to make a segmentation of an organ,so the number of output is 2.Then I modify the example/segmentationcrfrnn/solve.protoxt.Then I run the .sh file.But it check failed at softmax_loss_layer and said number of labels don't match number of predictions.Please help to figure out what's the problem??

Could you tell me how to make 'label' lmdb file?The name of label's size should be 121500500,how to make it?The number of my output is 2,so i need to make it be 12500500,but i don't know how to make it.Thank you very much

@luciaL luciaL closed this as completed Apr 28, 2017
@luciaL luciaL reopened this Apr 28, 2017
@bittnt
Copy link
Collaborator

bittnt commented Apr 28, 2017

You need to change the name of the deconvolution layer and you also need to change the number of the output.

Make sure you initialize the weights of all layers correctly.

@luciaL
Copy link
Author

luciaL commented Apr 29, 2017

Could you tell me how to make 'label' lmdb file?The name of label's size should be 121500500,how to make it?The number of my output is 2,so i need to make it be 12500500,but i don't know how to make it.Thank you very much

@bittnt
Copy link
Collaborator

bittnt commented May 10, 2017

https://lmdb.readthedocs.io/en/release/ will probably help you.

@lixiang-ucas
Copy link

@bittnt i'm training with my own data, how to initialize the convolution weights?

@Sam813
Copy link

Sam813 commented Jun 4, 2018

@lixiang-ucas I am also trying to use this network for organ segmentation, could you manage to train the network on your data? so far all my predictions are in black and I don't know whats the proper initialization of the convolutions/deconv?

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

4 participants