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

Unexpected filetype makes inference fail #7

Open
hermancollin opened this issue Oct 31, 2023 · 0 comments
Open

Unexpected filetype makes inference fail #7

hermancollin opened this issue Oct 31, 2023 · 0 comments

Comments

@hermancollin
Copy link
Member

We just received an email from a collaborator who tried the tool. She tried to apply on TIFF images a model trained on PNG images. nnunet doesn't even complain, it just ignores every file because it is looking for PNGs. Along with #5, this is the kind of errors we really need to catch.

In the dataset.json file contained in the packaged models, the field file_ending specifies which extension nnunet is looking for. When we are copying input images in the temporary directory, we could easily check for the extension and apply conversions when necessary.

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

No branches or pull requests

1 participant