-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make sure to produce JSON files with appropriate target_suffix
to be used by 3rd party software
#43
Comments
@jcohenadad, IIUC, you changed the In In our discussions and in ADS meeting, we agreed that the suffix for the prediction filenames should be determined on ADS side, independent from the ivadomed config file. My understanding was that a similar mechanism would be implemented in SCT as well to name the prediction files without using the |
Thank you very much for the clarification, @mariehbourget. Indeed, I wasn't sure what we agreed on. I thought that "target_suffix" should be disregarded only for multiclass predictions, but now I understand that it should always be ignored for any predictions (which is better, as it is less confusing). We could indeed add lines of code in SCT to rename the output prediction. I'll see how this could be done elegantly across all models. Thank you again for your inputs!! |
Completely agree with the conclusion here! To further motivate, two different projects can use the same |
The default JSON file output from the model has the
target_suffix
"_seg-manual" (for SC segmentation), which is a problem because it is counter-intuitive.A solution is to change this field for something more intuitive, eg: "_seg".
I've done it for the release https://github.com/ivadomed/model_seg_ms_mp2rage/releases/tag/r20211223 (ie: i replaced the ZIP files of both models). Here are fields I used:
For
model_seg_ms_lesion_mp2rage.json
:For
model_seg_ms_sc_mp2rage
:Related to #41
The text was updated successfully, but these errors were encountered: