Running python scripts\run_monai_unet.py train-config -c C:\Path\To\config.json was failing (on Windows) because path from json file was not casted to pathlib.Path.
Related issue/s
How to test
Run unet train-config on Windows.
Checklist
[x] Non-breaking change (fix or new feature that would not break existing functionality).
[x] Unit tests for the changes and run locally with the command pytest tests
What do these changes do?
Running
python scripts\run_monai_unet.py train-config -c C:\Path\To\config.json
was failing (on Windows) because path from json file was not casted topathlib.Path
.Related issue/s
How to test
Run unet
train-config
on Windows.Checklist
pytest tests