Skip to content
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

Does 3D prediction fail if the Z dimension is too small (not a power of 2, less than 8)? #296

Open
jdeschamps opened this issue Dec 6, 2024 · 2 comments
Labels
question Further information is requested
Milestone

Comments

@jdeschamps
Copy link
Member

Question

We should test whether images with low number of slices (e.g. shape (5, 128, 128)) fail when predicting because of the Z dimensions not being power of 2 and less than 8?

If they do, would padding be a work-around?

@jdeschamps jdeschamps added the question Further information is requested label Dec 6, 2024
@jdeschamps
Copy link
Member Author

Also downsampling is applied similarly in Z as in YX, which might be suboptimal given that dimensions and resolutions are often different in Z.

@jdeschamps jdeschamps added this to the v0.2.0 milestone Dec 17, 2024
@mese79
Copy link
Collaborator

mese79 commented Feb 27, 2025

Yes, It will fail if the Z dimension of a test stack is less than 8.
Especially for the BMZ export which calls the predict with the default config params (link).

I'm wondering if this is the model (algorithm) limitation, or just the CAREamics api ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants