Skip to content

Commit

Permalink
Fix typo in check_dataset_appearances.py (#3205)
Browse files Browse the repository at this point in the history
occurances -> occurrences
  • Loading branch information
eltociear authored May 22, 2023
1 parent a9b231c commit 2371419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/model_training/check_dataset_appearances.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ def iterate_over_dataset(ds):
pp.pprint(unified_counts)
if args.verbose:
if len(matched_train) != 0:
pp.pprint(f"Found the following occurances in TRAIN {dataset_name}:")
pp.pprint(f"Found the following occurrences in TRAIN {dataset_name}:")
pp.pprint(dict(matched_train))
if len(matched_val) != 0:
pp.pprint(f"Found the following occurances in VAL {dataset_name}:")
pp.pprint(f"Found the following occurrences in VAL {dataset_name}:")
pp.pprint(dict(matched_val))
if len(matched_train) + len(matched_val) == 0:
print(
Expand Down

0 comments on commit 2371419

Please sign in to comment.