yolov5/utils
Glenn Jocher 11f85e7e71
Auto-fix corrupt JPEGs (#4548)
* Autofix corrupt JPEGs

This PR automatically re-saves corrupt JPEGs and trains with the resaved images. WARNING: this will overwrite the existing corrupt JPEGs in a dataset and replace them with correct JPEGs, though the filesize may increase and the image contents may not be exactly the same due to lossy JPEG compression schemes. Results may vary by JPEG decoder and hardware.

Current behavior is to exclude corrupt JPEGs from training with a warning to the user, but many users have been complaining about large parts of their dataset being excluded from training.

* Clarify re-save reason
2021-08-26 15:51:04 +02:00
..
aws Update resume.py (#4115) 2021-07-22 17:22:11 +02:00
flask_rest_api Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
google_app_engine Bump pip from 18.1 to 19.2 in /utils/google_app_engine (#3561) 2021-06-09 21:14:09 +02:00
loggers W&B: Refactor the wandb_utils.py file (#4496) 2021-08-23 13:10:07 +02:00
__init__.py initial commit 2020-05-29 17:04:54 -07:00
activations.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
augmentations.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
autoanchor.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
callbacks.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
datasets.py Auto-fix corrupt JPEGs (#4548) 2021-08-26 15:51:04 +02:00
downloads.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
general.py Add `install=True` argument to `check_requirements` (#4512) 2021-08-23 14:38:30 +02:00
loss.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
metrics.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
plots.py Standardize headers and docstrings (#4417) 2021-08-14 21:17:51 +02:00
torch_utils.py Remove DDP process group timeout (#4422) 2021-08-15 18:32:41 +02:00