gaudot / SlicerDentalSegmentator

3D Slicer extension for fully-automatic segmentation of CT and CBCT dental volumes.
Apache License 2.0
55 stars 5 forks source link

replace weight file #12

Open DanpengDing opened 1 month ago

DanpengDing commented 1 month ago

I want to develop an extension to segment tumors based on you. I want to replace the weights file with my own, but as soon as I change to my own weights, this problem arises. The target directory does not generate the target file, resulting in an error when loading the result

image I replace the weight file here

image run then this error arise

image The target directory is empty

How can I solve this problem

Thibault-Pelletier commented 1 month ago

Hi @DanpengDing,

Thanks for reaching out. You may be interested in using the Slicer NNUNet module instead.

With this module you can point to a fully trained nnUNet folder and run the segmentation on it.

I suspect your problem is coming from a configuration mismatch (config in the dataset.json vs associated weights).

Note also that these extensions are compatible only with nnUNet V2.

Best, Thibault