Skip to content

Commit

Permalink
Update integration_segmentation_3d result for PyTorch2403 (Project-MO…
Browse files Browse the repository at this point in the history
…NAI#7551)

Fixes Project-MONAI#7550

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [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 the `docs/`
folder.

Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Co-authored-by: Yiheng Wang <68361391+yiheng-wang-nv@users.noreply.github.com>
Signed-off-by: Yu0610 <612410030@alum.ccu.edu.tw>
  • Loading branch information
2 people authored and Yu0610 committed Apr 11, 2024
1 parent 48a7ccd commit 2616b44
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,14 @@ fi
# network training/inference/eval integration tests
if [ $doNetTests = true ]
then
set +e # disable exit on failure so that diagnostics can be given on failure
echo "${separator}${blue}integration${noColor}"
for i in tests/*integration_*.py
do
echo "$i"
${cmdPrefix}${cmd} "$i"
done
set -e # enable exit on failure
fi

# run model zoo tests
Expand Down
56 changes: 56 additions & 0 deletions tests/testing_data/integration_answers.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,62 @@
],
}
},
{ # test answers for 24.03
"integration_segmentation_3d": {
"losses": [
0.5442982316017151,
0.4741817444562912,
0.4535954713821411,
0.44163046181201937,
0.4307525992393494,
0.428487154841423,
],
"best_metric": 0.9314384460449219,
"infer_metric": 0.9315622448921204,
"output_sums": [
0.14268704426414708,
0.1528672845845743,
0.1521782248125706,
0.14028769128068194,
0.1889830671664784,
0.16999075690664475,
0.14736282992708227,
0.16877952654821815,
0.15779597155181269,
0.17987829927082263,
0.16320253928314676,
0.16854299322173155,
0.14497470986956967,
0.11437140546369519,
0.1624117412960871,
0.20156009294443875,
0.1764654154256958,
0.0982348259217418,
0.1942436068604293,
0.20359421536407518,
0.19661953116976483,
0.2088326101468625,
0.16273043545239807,
0.1326107887439663,
0.1489245275752285,
0.143107476635514,
0.23189027677929547,
0.1613818424566088,
0.14889532196775188,
0.10332622984492143,
0.11940054688302351,
0.13040496302762658,
0.11472123087193181,
0.15307044007394474,
0.16371989575844717,
0.1942898223272055,
0.2230120930471398,
0.1814679187634795,
0.19069496508164732,
0.07537197031940022,
],
}
},
]


Expand Down

0 comments on commit 2616b44

Please sign in to comment.