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

NnUNetTrainerLightMUNet has not been used #32

Open
AFuJianPeople opened this issue Jul 28, 2024 · 2 comments
Open

NnUNetTrainerLightMUNet has not been used #32

AFuJianPeople opened this issue Jul 28, 2024 · 2 comments

Comments

@AFuJianPeople
Copy link

Hello, I'm very sorry to disturb you. I didn't see nnUNetTrainerLightMUNet being used in the code, it has always been nnUNetTrainer. Could you tell me where nnUNetTrainerLightMUNet is being used? Thank you very much.

@alvinkimbowa
Copy link

It is passed as an argument during training as mentioned in the README:

nnUNetv2_train DATASET_ID 2d all -tr nnUNetTrainerLightMUNet

By default nnUNetv2_train uses nnUNetTrainer, and if you want to incorporate a custom model such as LightM-UNet, a quick and dirty way is to write a custom trainer that will train using your custom model. All other stages in the pipeline (data preprocessing and augmentation) remain the same, except the model training. Please take a look at the nnUNet documentation - Extending nnUNet.

@AFuJianPeople
Copy link
Author

It is passed as an argument during training as mentioned in the README:

nnUNetv2_train DATASET_ID 2d all -tr nnUNetTrainerLightMUNet

By default nnUNetv2_train uses nnUNetTrainer, and if you want to incorporate a custom model such as LightM-UNet, a quick and dirty way is to write a custom trainer that will train using your custom model. All other stages in the pipeline (data preprocessing and augmentation) remain the same, except the model training. Please take a look at the nnUNet documentation - Extending nnUNet.

Thank you very much for your answer. With your help, I have started modifying my own model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants