Skip to content

Commit

Permalink
CropHarvestMultiClassValidation expects sample_size to be an attribut…
Browse files Browse the repository at this point in the history
…e and for it to be set to None
  • Loading branch information
gabrieltseng committed Mar 28, 2024
1 parent 572be39 commit b66f097
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions presto/eval/cropharvest_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ def __init__(
dw_suffix = "_no_dynamic_world" if ignore_dynamic_world else ""
self.name = f"CropHarvest_multiclass_global{name_suffix}{dw_suffix}_{seed}"
self.seed = seed
self.sample_size = None

@torch.no_grad()
def evaluate(
Expand Down

0 comments on commit b66f097

Please sign in to comment.