Skip to content

Commit

Permalink
Merge pull request #352 from mario-huang/fix-issue-#351
Browse files Browse the repository at this point in the history
Fixes #351: weights_path for "task_id == 8"
  • Loading branch information
wasserth authored Aug 13, 2024
2 parents e36752a + 6b1781f commit bfd39fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion totalsegmentator/libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def download_pretrained_weights(task_id):
# WEIGHTS_URL = url + "/static/totalseg_v2/Dataset503_cardiac_motion.zip"
WEIGHTS_URL = url + "/v2.0.0-weights/Dataset503_cardiac_motion.zip"
elif task_id == 8:
weights_path = config_dir / "Task008_HepaticVessel"
weights_path = config_dir / "Dataset008_HepaticVessel"
WEIGHTS_URL = url + "/v2.4.0-weights/Dataset008_HepaticVessel.zip"

# Commercial models
Expand Down

0 comments on commit bfd39fb

Please sign in to comment.