Skip to content

Commit

Permalink
adds SMPModelFactory tests and SMPModelFactory to docs/model.md
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Henrique Conrado <[email protected]>
  • Loading branch information
PedroConrado committed Jul 29, 2024
1 parent 7edbbf8 commit 97b4688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terratorch/models/smp_model_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def build_model(
parameters and tasks.
"""
if task != "segmentation":
msg = f"SMP models can only perform segmentatio, but got task {task}"
msg = f"SMP models can only perform segmentation, but got task {task}"
raise Exception(msg)

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

0 comments on commit 97b4688

Please sign in to comment.