MONAI
MONAI copied to clipboard
4563 Enhance the stats information of workflows
Fixes #4563 .
Description
This PR enhanced the stats information of trainer and evaluator workflows.
Status
Ready
Types of changes
- [x] Non-breaking change (fix or new feature that would not break existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running
./runtests.sh -f -u --net --coverage
. - [ ] Quick tests passed locally by running
./runtests.sh --quick --unittests --disttests
. - [ ] In-line docstrings updated.
- [ ] Documentation updated, tested
make html
command in thedocs/
folder.
/black
/build
/black
/build
/build
/black
/build
/build
/build
/build
Hi @holgerroth ,
Thanks for your review and test. I see the error message is in NVFlare, could you please help provide more information on MONAI side?
Thanks.
The issue came from using an old UNet style config in the NVFlare configuration.
>>> net = UNet(
... dimensions=2,
... in_channels=1,
... out_channels=2,
... channels=(16, 32, 64, 128, 256),
... strides=(2, 2, 2, 2),
... num_res_units=2,
... norm="batch"
... )
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __init__() missing 1 required positional argument: 'spatial_dims'
Changing dimensions
to spatial_dims
solves the issue.
/build