Skip to content

Commit b4e1a2a

Browse files
committed
adds SMPModelFactory tests and SMPModelFactory to docs/model.md
1 parent 7edbbf8 commit b4e1a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terratorch/models/smp_model_factory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def build_model(
122122
parameters and tasks.
123123
"""
124124
if task != "segmentation":
125-
msg = f"SMP models can only perform segmentatio, but got task {task}"
125+
msg = f"SMP models can only perform segmentation, but got task {task}"
126126
raise Exception(msg)
127127

128128
bands = [HLSBands.try_convert_to_hls_bands_enum(b) for b in bands]

0 commit comments

Comments
 (0)