Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
added .csv image loading utils
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Feb 14, 2021
1 parent 2b213fb commit dda2834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash/vision/classification/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def before_collate(self, samples: Any) -> Any:
output = self._loader(sample)
transform = self._valid_transform if self._use_valid_transform else self._train_transform
outputs.append(transform(output))
except UnidentifiedImageError as e:
except UnidentifiedImageError:
print(f'Skipping: could not read file {sample}')

return outputs
Expand Down

0 comments on commit dda2834

Please sign in to comment.