forked from ultralytics/yolov5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pylint: do not use bare 'except' (ultralytics#5025)
* Fix E722, do not use bare 'except' * Remove used codes * Add FileNotFoundError in LoadImagesAndLabels * Remove AssertionError * Ignore LoadImagesAndLabels * Ignore downloads.py * Ignore torch_utils.py * Ignore train.py * Ignore datasets.py * Enable utils/download.py * Fixing exception in thop * Remove unused code * Fixing exception in LoadImagesAndLabels * Fixing exception in exif_size * Fixing exception in parse_model * Ignore exceptions in requests * Revert the exception as suggested * Revert the exception as suggested
- Loading branch information
Showing
4 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters