Skip to content

Commit 5b64d2b

Browse files
Fix typo in identifier of PerceptualNetworkType
Fixup the identifier's, not just the string's typo from medical_* to medicalnet_* to conform to Warvito's hubconf.py in the MedicalNet repo. Signed-off-by: Fabian Klopfer <fabian.klopfer@ieee.org>
1 parent 0291052 commit 5b64d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/losses/perceptual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class PercetualNetworkType(StrEnum):
2929
squeeze = "squeeze"
3030
radimagenet_resnet50 = "radimagenet_resnet50"
3131
medicalnet_resnet10_23datasets = "medicalnet_resnet10_23datasets"
32-
medical_resnet50_23datasets = "medicalnet_resnet50_23datasets"
32+
medicalnet_resnet50_23datasets = "medicalnet_resnet50_23datasets"
3333
resnet50 = "resnet50"
3434

3535

0 commit comments

Comments
 (0)