-
-
Notifications
You must be signed in to change notification settings - Fork 11
Inference failed saving prediction #97
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
Conversation
… on tensor dimensions. (#84)
|
@perctrix can you check |
|
For 3D, that works. For 2D cases, it failed due to SimpleITK limited support for dtypes: |
|
BTW, I suggest adding |
…NotFoundError` if missing. (#84)
|
I added error handling. |
|
Also, dtype not supported is the most important problem here. |
|
What if the image is float? |
|
Well, just convert to an integer... because for |
|
There is a helper function for it, actually. I have included |
|
rn the auto_convert returns a tensor with dtype |
|
What abt now? |
|
Additionally, I tested that if we normalize after |
|
That normalization should be done separately. Some images are intended to have a maximum value that is not 255. We should not narrow that down to a strict range. |


See #84.