yolov5/utils/loggers
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
..
wandb Update `--cache disk` deprecate `*_npy/` dirs (#6876) 2022-03-06 16:16:17 +01:00
__init__.py `np.fromfile()` Chinese image paths fix (#6979) 2022-03-23 15:35:15 +01:00