Skip to content

Commit

Permalink
Update contrast agnostic model to v2.4 (now improved for lumbar t2w +…
Browse files Browse the repository at this point in the history
… PSIR/STIR images) (#4510)

## Description

The differences between v2.3 and 2.4 are mainly focused on lumbar
t2w and PSIR/STIR images: [diff of release
body](https://www.diffchecker.com/WSVngW4s/)

This should be a good test for our "keep models up to date" code. If
everything works correctly, you should be able to check out this branch,
then run the `sct_deepseg -task` command, and the code will
automatically verify the version of the model and download the newest
version if your local version is out of date.

## Linked issues
<!-- If the PR fixes any issues, indicate it here with issue-closing
keywords: e.g. Resolves #XX, Fixes #XX, Addresses #XX. Note that if you
want multiple issues to be autoclosed on PR merge, you must use the
issue-closing verb before each relevant issue: e.g. Resolves #1,
Resolves #2 -->

Fixes #4509.
  • Loading branch information
joshuacwnewton authored Jun 4, 2024
1 parent 20be5e5 commit bb479d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinalcordtoolbox/deepseg/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
# - Binarization is applied within SCT code
"model_seg_sc_contrast_agnostic_softseg_monai": {
"url": [
"https://github.com/sct-pipeline/contrast-agnostic-softseg-spinalcord/releases/download/v2.3/model_soft_bin_20240410-1136.zip"
"https://github.com/sct-pipeline/contrast-agnostic-softseg-spinalcord/releases/download/v2.4/model_soft_bin_20240425-170840.zip"
],
"description": "Spinal cord segmentation agnostic to MRI contrasts using MONAI-based nnUNet model",
"contrasts": ["any"],
Expand Down

0 comments on commit bb479d8

Please sign in to comment.