Update UNet3D inference to use MLPerf's evaluation set #4518
+11
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Inference set changes
I noticed that MLPerf's inference set includes one extra file,
case_00400
. I did see that the official kits19 dataset doesn't have this particular case. To compensate for it, the official MLPerf's inference script copies case_00185 to be case_00400.For comparison, here's the result of running
model_eval.py
usingget_val_set
(old):Meanwhile, here's the result of running
model_eval.py
when usingget_eval_set
(new):Both of these runs use the pretrained model and is above the expected MEAN Dice score of 0.86170.
Support for loading model checkpoint inside
model_eval.py
Lastly, this also adds support of loading a model checkpoint for the UNet3D model when running
model_eval.py
. Here's an example run of a converged training run on a tinybox green: