axondeepseg / axondeepseg

Axon/Myelin segmentation using Deep Learning
https://axondeepseg.rtfd.io/
MIT License
115 stars 32 forks source link

Refactor CLI options for nnunet #798

Closed hermancollin closed 1 month ago

hermancollin commented 6 months ago

For the nnunet migration, some CLI flags will become useless.

There might potentially be new options, though. We could have one to specify which checkpoint to use (best or final, see #797), but I would prefer not to expose this to the user such that we keep total control of what models are used. I don't think they need to know about these details in the first place.

hermancollin commented 5 months ago

As of today, the -t, -s, -z, -r, -l, --no-patch and --overlap options are no longer available (see #800). This simplifies the segmentation CLI: the following command is now valid:

axondeepseg -i input.png

Looks much cleaner! Note that this was one of the main motivation to train a single model.

hermancollin commented 4 months ago

We could also remove the -i option since its the only required arg.