yolov5/utils
yeshanliu bc3ed957ce
`np.fromfile()` Chinese image paths fix (#6979)
* 🎉 🆕 now can read Chinese image path. 

use "cv2.imdecode(np.fromfile(f, np.uint8), cv2.IMREAD_COLOR)" instead of "cv2.imread(f)" for Chinese image path.

* Update datasets.py

* Update __init__.py

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2022-03-23 15:35:15 +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 `np.fromfile()` Chinese image paths fix (#6979) 2022-03-23 15:35:15 +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 Fix2 `check_anchor_order()` in pixel-space not grid-space (#7067) 2022-03-20 18:55:13 +01:00
autobatch.py Update bytes to GB with bitshift (#6886) 2022-03-07 19:26:37 +01:00
benchmarks.py Update benchmarks significant digits (#7103) 2022-03-22 18:02:35 +01:00
callbacks.py Add `stop_training=False` flag to callbacks (#6365) 2022-01-22 16:37:21 -10:00
datasets.py `np.fromfile()` Chinese image paths fix (#6979) 2022-03-23 15:35:15 +01:00
downloads.py Fix 6 Flake8 issues (#6541) 2022-02-05 15:22:59 +01:00
general.py Multi-threaded VisDrone and VOC downloads (#7108) 2022-03-23 01:19:37 +01:00
loss.py `torch.split()` 1.7.0 compatibility fix (#7102) 2022-03-22 17:36:05 +01:00
metrics.py Fix ConfusionMatrix scale `vmin=0.0` (#6638) 2022-02-14 14:54:55 +01:00
plots.py Use PIL to eliminate chroma subsampling in crops (#7008) 2022-03-20 15:46:29 +01:00
torch_utils.py Model summary `pathlib` fix (#7104) 2022-03-22 20:05:07 +01:00