Skip to content

Commit

Permalink
remove a 'not' -- eg. 'I am not going crazy'
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Apr 10, 2024
1 parent 0acd8c7 commit 6a3d43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def validate_config(cfg: TrainConfig):
if isinstance(cfg.eval_loaders, list) or isinstance(
cfg.eval_loaders, ListConfig):
for loader in cfg.eval_loaders:
if 'label' not in loader or loader['label'] is not None:
if 'label' not in loader or loader['label'] is None:
raise ValueError(
'When specifying multiple evaluation datasets, each one must include the \
`label` attribute.')
Expand Down

0 comments on commit 6a3d43a

Please sign in to comment.