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

Ensembling? #8

Open
bartbols opened this issue Jul 26, 2024 · 1 comment
Open

Ensembling? #8

bartbols opened this issue Jul 26, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bartbols
Copy link

Hi

First of all - thanks for making this extremely useful extension available.

I have installed the app without issues and ran it on my own trained nnUNet. It works very well. I just have a question about if/how it does the ensembling? I usually train 2d and 3d_fullres models and use nnUNet's "find best configuration" option before inference. But I don't think the nnUNet Slicer extension uses the 3d_fullres model for inferencing, even though it is available in my folder structure. To test this out, I changed the name of one of the 3d_fullres fold's foldernames from fold_0 to fold_xxx, expecting it to return an error but it didn't so I suspect it only uses my trained 2d models. Just wondering if someone could clarify how it does the inferencing when multiple models are available.

Bart

@bartbols bartbols changed the title Ensembling and need for .npz softmax outputs Ensembling? Jul 26, 2024
@Thibault-Pelletier
Copy link
Collaborator

Hi @bartbols,

Thanks for using this extension and for reaching out to us!

The current extension doesn't use every args available in the library.
find_best_configuration and using the fold=all option are included.

When provided a model path, it will look for the first dataset.json file it finds in the folder and use this as the model root directory for inference (in your case the 2D model). To use your 3D model, you should use the 3D model folder explicitly.

I will add the support for ensembling to the feature request for future versions of the extension, although I won't be able to give you a timeline on its developments.

Best,
Thibault

@Thibault-Pelletier Thibault-Pelletier added the enhancement New feature or request label Jul 26, 2024
@Thibault-Pelletier Thibault-Pelletier self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants