hippunfold icon indicating copy to clipboard operation
hippunfold copied to clipboard

AD trained model

Open jordandekraker opened this issue 8 months ago • 5 comments

work by @Bradley-Karat

jordandekraker avatar Apr 25 '25 15:04 jordandekraker

yeah its probably not great that we're parsing the model from the name of the URL - probably something we should work on in the future (or here). Either way, I just uploaded Brad's AD model to zenodo so it can be run just like the other models! just wetrun testing now to see how it looks

jordandekraker avatar Apr 25 '25 18:04 jordandekraker

yeah true at some point we can refactor code to avoid that.. but the easy thing to do right now is move to zenodo as you've done!

akhanf avatar Apr 25 '25 18:04 akhanf

made a minor naming change for future proofing.. Also, note that by merging into master we won't have this in the dev-2.0.0 branch -- thinking maybe we just merge into dev-2.0.0 instead..

akhanf avatar Apr 25 '25 19:04 akhanf

there are still a few issues with the .tar file - the data from fold_0 seems to be missing, and the folders have a different naming scheme than expected. @Bradley-Karat do you still have the original by any chance? also note that "tempmodel" shouldn't be in the tarred file, it just gets extracted to a folder named that. not sure if you renamed some of the other files/folders, but they should look something like this:

tempmodel/nnUNet/3d_fullres/Task301_ADNI_T1w_successful/Task301_ADNI_T1w_successful__nnUNetPlansv2.1/fold_0/nnUNetTrainer.model.pkl
tempmodel/nnUNet/3d_fullres/Task301_ADNI_T1w_successful/Task301_ADNI_T1w_successful__nnUNetPlansv2.1/fold_0/nnUNetTrainer.model

jordandekraker avatar Apr 25 '25 20:04 jordandekraker

ah good catch, not sure why fold_0 was missing from that one - I must've uploaded the wrong one. The model with fold_0 can be downloaded here: https://osf.io/kch9v/download

Bradley-Karat avatar Apr 25 '25 21:04 Bradley-Karat

OK the new model should be available, could someone please run a quick test to ensure its publicly accessible and not just to me?

Can alse edit in any additional information on the zenodo page, i tried to make it similar to the neonatal project: https://zenodo.org/uploads/15297857

jordandekraker avatar Apr 28 '25 15:04 jordandekraker

Do we want to merge this into dev-2.0.0 instead of master? Or we could cherry-pick from dev-2.0.0 and keep this merging into master as is..

akhanf avatar May 07 '25 01:05 akhanf

i was thinking the latter since there's nothing specific to dev here, and technically the AD model has already been available for a while via this branch & docker build prior to the PR. But i'm fine either way

jordandekraker avatar May 07 '25 12:05 jordandekraker

Yes I agree, merging it in!

akhanf avatar May 07 '25 12:05 akhanf