yolov5/utils
Max Strobel 7c6a33564a
fix: add default PIL font as fallback (#7010)
* fix: add default font as fallback

Add default font as fallback if the downloading of the Arial.ttf font
fails for some reason, e.g. no access to public internet.

* Update plots.py

Co-authored-by: Maximilian Strobel <Maximilian.Strobel@infineon.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2022-03-17 16:37:09 +01:00
..
aws Fix `yaml.safe_load()` ignore emoji errors (#5060) 2021-10-05 13:41:52 -07:00
flask_rest_api precommit: isort (#5493) 2021-11-04 17:24:25 +01:00
google_app_engine Bump pip from 19.2 to 21.1 in /utils/google_app_engine (#5661) 2021-11-15 20:10:29 +01:00
loggers Update `--cache disk` deprecate `*_npy/` dirs (#6876) 2022-03-06 16:16:17 +01:00
__init__.py Update bytes to GB with bitshift (#6886) 2022-03-07 19:26:37 +01:00
activations.py Update TorchScript suffix to `*.torchscript` (#5856) 2021-12-02 16:06:45 +01:00
augmentations.py Increase `ar_thr` from 20 to 100 for better detection on slender (high aspect ratio) objects (#5556) 2021-12-15 14:42:23 +01:00
autoanchor.py Update TQDM bar format (#6988) 2022-03-15 16:32:56 +01:00
autobatch.py Update bytes to GB with bitshift (#6886) 2022-03-07 19:26:37 +01:00
benchmarks.py YOLOv5 Export Benchmarks for GPU (#6963) 2022-03-14 15:07:13 +01:00
callbacks.py Add `stop_training=False` flag to callbacks (#6365) 2022-01-22 16:37:21 -10:00
datasets.py Update TQDM bar format (#6988) 2022-03-15 16:32:56 +01:00
downloads.py Fix 6 Flake8 issues (#6541) 2022-02-05 15:22:59 +01:00
general.py Conditional `Timeout()` by OS (disable on Windows) (#7013) 2022-03-16 15:33:54 +01:00
loss.py Reuse `de_parallel()` rather than `is_parallel()` (#6354) 2022-01-20 10:50:17 -10:00
metrics.py Fix ConfusionMatrix scale `vmin=0.0` (#6638) 2022-02-14 14:54:55 +01:00
plots.py fix: add default PIL font as fallback (#7010) 2022-03-17 16:37:09 +01:00
torch_utils.py Move `git_describe()` to general.py (#6918) 2022-03-09 18:22:53 +01:00