-
Notifications
You must be signed in to change notification settings - Fork 23
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 segmentation network #5
Comments
Hi @kkirtac , the .list file is a text file, the content is the form of " ISIC_0000000.jpg ISIC_0000000_Segmentation.png", both training part and testing part are this form, i have tried ,it's right. the image of 480*480 is got by deconvolution, rather resized, i hope this can help you. |
Okay, it seems that feeding the network with cropped images (without resizing to a canonical size) is working good. But I still do not understand at which point we do get 480x480. The output size of the network should be the same with the input size. |
|
Hi, @kkirtac ,@muyulin. In summary, we crop two subimages from one training images. These subimages are in the .lis file. When training the network, we use the caffe data layer to randomly crop 480480 patches from these subimages as network input. In the testing phase, the network input size is also 480480. We use sliding window strategy to tile these sub segmentation results. Btw, the cropped subimages are a little larger than the annotation bounding boxes. |
Thank you @yulequan @muyulin , it is much more clear now. I understand from caffe datatransformer that in test phase (on validation samples)
Just 2 questions about this:
Besides all,
Thanks. |
|
Hi @yulequan ,
|
I forget the specific overlap ration. Yes, we use the simple averaging of the probabilities. |
Hi @yulequan , I have implemented the same segmentation pipeline using keras-tf. I left %10 random portion of my training data as validation data. Then I performed the same method during preparing training samples as you explained. I finally come up with 1399 training (including the resampled background images) and 90 validation samples. I am experiencing overfitting issues. Please see my validation error when I fine tune only final layers versus fine tuning all layers as your training prototxt suggests. During fine tuning final layers, I skipped multi-scale feature aggregation, and just performed deconvolution on the output of the final convolution layer with stride 32. How did you overcome overfitting while fine tuning all layers? |
Hi @https://github.com/yulequan Can you please share with us ,how you augmented the testing and training data? |
hi @yulequan
hi @yulequan |
Hi @yulequan ,
I am trying to reproduce your segmentation results.
I want to understand what specifically you have in your input
.list
file. Do you have file paths like ISIC_0000000.jpg ISIC_0000000_Segmentation.png (after cropping with respect to segmentation mask, then resizing to 480x480) at each row of the file? Can you give an example of one row from your.list
file?thanks in advance.
The text was updated successfully, but these errors were encountered: