You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5ecde8e
Browse filesBrowse the repository at this point in the historyBrowse files
The RESULTS_PATH should have "inference_information.json" file created by nnunetv2 automatically, as the conversion relies on this to figure out the best model configuration and convert those for the MAP.
31
31
32
+
`MAP_root` must resolve to a directory inside the current working directory. Relative paths such as `.` and `output` are supported; paths that escape the current directory are rejected.
33
+
32
34
### Command-line Arguments
33
35
34
36
| Argument | Description | Required | Default |
35
37
|----------|-------------|----------|---------|
36
38
|`--dataset_name_or_id`| Name or ID of the nnUNet dataset to convert | Yes | N/A |
37
39
|`--MAP_root`| Output directory for the converted MONAI bundle | No | Current directory |
38
40
|`--nnUNet_results`| Path to nnUNet results directory with trained models | Yes | Uses environment variable if set |
41
+
|`--checkpoint_type`| Checkpoints to convert: `final` produces `final_model.pt`, `best` produces `best_model.pt`, and `both` produces both files | No |`final`|
39
42
40
43
#### Example
41
44
@@ -62,7 +65,7 @@ MAP_root/
62
65
├── 3d_fullres/ # Model configuration (if present)
63
66
│ ├── nnunet_checkpoint.pth
64
67
│ └── fold_X/ # Each fold's model weights
65
-
│ └── best_model.pt
68
+
│ └── final_model.pt
66
69
├── 3d_lowres/ # Model configuration (if present)
67
70
└── 3d_cascade_fullres/ # Model configuration (if present)
0 commit comments