-
Notifications
You must be signed in to change notification settings - Fork 136
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
Issue with Unet 2D #317
Comments
Dear @jinxsfe, Not sure about the issue that you are facing. The first image is saying that it cannot find the image on the selected folder. The second one seems to be a problem with the shape of the image. I have a new version of the notebook on a different branch (while it goes under an additional testing): Please try again with this notebook and if you find the same problem let us know and we will iterate over it 🤗 Thanks again for your valuable feedback! Iván |
Hi @IvanHCenalmor: For U-Net 2D, you had mentioned the number of step equivalent to the number of samples in the training set divided by the batch size, For U-Net 3D, I seperate original data size 1. Enable mixed-precision BEFORE creating your model.set_global_policy('mixed_float16') |
Hi @jinxsfe, Number of steps on U-Net 2DFor the U-Net 2D, for what you want, you don´t need to calculate the number of steps. As it says in the notebook: "This behaviour can also be obtained by setting it to 0." So setting the U-Net 3DI´m not sure what is the problem that you are facing on this notebook. Is it a memory issue? If you have a modified version of the notebook, could you please send a link to the notebook to have a better idea of which one could be the error? If you send the notebook, it would be also helpful if you keep the output of the cells to have a better insight. Thanks a lot for the feedback, |
@IvanHCenalmor Hi Ivan, I had meet the two issue for UNET 2D and 3D until now. for UNET 2D , during the unet2D lou calculation(quality), it seems it not working data type for float 32bit,
for UNET 3D, it's not memories issue cause the CNN can continue training, can you send me your personal email and I can send the notebook that I modified and dataset that I have.
|
@paxcalpt @cleterrier @IvanHCenalmor threshold_list = [] for threshold in range(0,256):
return (threshold_list, IoU_scores_list)" i change it to import numpy as np def getIoUvsThreshold(prediction_filepath, ground_truth_filepath):
|
actually, I trained the UNet 2d Successfullly in 1 years ago, but I trained again in recently and out put error is
![image](https://private-user-images.githubusercontent.com/121477741/320737225-b2723ea2-35fc-424d-b570-e30cca182e30.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjY1MzEsIm5iZiI6MTczOTU2NjIzMSwicGF0aCI6Ii8xMjE0Nzc3NDEvMzIwNzM3MjI1LWIyNzIzZWEyLTM1ZmMtNDI0ZC1iNTcwLWUzMGNjYTE4MmUzMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQyMDUwMzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wODlkMjU3NDA0ZGE1NDI1OTljMzJiMGQxNDI2YTJmYmMzODhjNzZhMTRlZjczMWM4YjNjNTRlNDNmMTRlMTY1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.bCZ3lbvpOa4q926ChAhCHXoW1flduLhyvki2Q23OMws)
I don't change the parameter. original data dimension is 1000
I also try to train the new dataset which dimension is 12*12, but also failed
I think no need add 3 in third dimension, the data is 32 bit unsigned integer,, the mask is 8 bit-binary.
can you give me some hint?
The text was updated successfully, but these errors were encountered: