-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Results from a trained model of mine. #18
Comments
Hello, that's strange. I didn't preprocess except for the rescaling and splitting. I don't remember the learning rate I used or the number of epochs, but you should try letting it run longer, with a different learning rate. Also when predicting you can try to set the mask threshold to a higher value : Line 94 in 23e8173
Last thing, have you tried using the CRF postprocessing ? That might help a bit. |
Hi, |
At the end, what did you do @changjo? Did you get a better result? Thanks! Thanks! |
@bermudezarii I tried to change the learning rate, the training epochs, and batch size but I did not work... Currently, I have not been looking into the codes... |
The pretrained model was available for the commit https://github.com/milesial/Pytorch-UNet/tree/e2e46ce509382a45b1db4e1f639aeed568f6cb3e and before. After that, I cleaned up the code and the model and I don't think the same file will load. |
Thanks and MODEL.pth can be loaded successfully using the corresponding commit! |
I have not recognized the repo was updated. |
Hi,
Thanks for your codes.
I trained the model with only changing batch size to 4 and I predicted some test images.
The right part in the image from a trained model is distorted and right parts in other results are also similar.
I was wondering why this happened and what your pre-trained parameters or any pre-processing except splitting a image to left and right are. Thanks.
"Original image"
Result from pre-trained model "MODEL.pth"
Result from my trained model
The text was updated successfully, but these errors were encountered: