-
Notifications
You must be signed in to change notification settings - Fork 460
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
Most of the test results are all black image. #69
Comments
This problem often happens because the upsampling layer is not initialised with correct weights. |
@bittnt may I know how should I initialize the weights? I have two class of foreground and background (organ segmentation) also once tried initialization with xavier method but in both case still all my predictions are in black. |
I think you used the wrong weight_filler. |
@bittnt thank you for fast response, |
Yes. Please give it a try, also read the caffe documentation: http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1BilinearFiller.html |
@bittnt I have tried to train the network with bilinear initialization of deconv layers but yet the output |
I think you made several mistakes in that prototxt, e.g. you set the initialization for the convolution using bilinear.... This is wrong. You can take msra or something to initialize the convolution. please make sure you follow the examples, and you really read the caffe documentations about CNN layers. https://github.com/torrvision/caffe/blob/crfrnn/examples/crfasrnn_segmentation/TVG_CRFRNN_new_traintest.prototxt |
hi .
i train my data on gpu Iteration over 100 thousand times.
But the result is very bad.
Even a very result is just a full black image.
i can't solve this problem,i need you help , thank you!
The text was updated successfully, but these errors were encountered: