-
Notifications
You must be signed in to change notification settings - Fork 2
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
Custom nnunet trainer #296
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just two very minor comments.
@@ -141,6 +143,10 @@ def __init__( | |||
provided. Defaults to None. | |||
reporters (Sequence[BaseReporter], optional): A sequence of FL4Health | |||
reporters which the client should send data to. | |||
nnunet_trainer_class (Type[nnUNetTrainer]): A nnUNetTrainer constructor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a quick note here and on the server-side that the training classes have to match each other (client and server trainers should be the same)?
@@ -34,6 +34,7 @@ scikit-learn = "1.5.0" # Pin as it was causing issues with nnunet | |||
# Problematic grpcio versions cause issues, should be fixed in next flwr update | |||
# See https://github.com/adap/flower/pull/3853 | |||
# https://github.com/grpc/grpc/issues/37162 | |||
tornado = ">=6.4.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, why did this need upgrading?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pip audit flags 6.4.1 so had to upgrade to 6.4.2 or higher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!
PR Type
[Feature | Fix | Documentation | Other ]
Short Description
Small PR to add the ability to specify a custom nnunet trainer class.