yolov5/utils
mucunwuxian 1164069897
Accelerate video inference (#9487)
* The following code is slow, "self.cap.set(cv2.CAP_PROP_POS_FRAMES, self.vid_stride * (self.frame + 1)) # read at vid_stride".

* adjust...

* Update dataloaders.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2022-09-19 14:01:46 +02:00
..
aws Fix `yaml.safe_load()` ignore emoji errors (#5060) 2021-10-05 13:41:52 -07:00
docker Update Dockerfile-arm64 to libpython3-dev (#9187) 2022-08-28 22:14:21 +02:00
flask_rest_api Allow multiple-model serving from Flask REST API (#8973) 2022-08-15 23:42:25 +02: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 Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00
segment Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00
__init__.py Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00
activations.py [pre-commit.ci] pre-commit suggestions (#7279) 2022-04-04 22:47:00 +02:00
augmentations.py Fix cutout bug (#9452) 2022-09-18 12:27:43 +02:00
autoanchor.py Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00
autobatch.py AutoBatch report include reserved+allocated (#9491) 2022-09-19 12:18:55 +02:00
callbacks.py Daemon `plot_labels()` for faster start (#9057) 2022-08-21 03:47:37 +02:00
dataloaders.py Accelerate video inference (#9487) 2022-09-19 14:01:46 +02:00
downloads.py Add `url_getsize()` function (#9247) 2022-09-01 12:13:53 +02:00
general.py Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00
loss.py Fix torch `long` to `float` tensor on HUB macOS (#8067) 2022-06-01 17:34:46 +02:00
metrics.py Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00
plots.py YOLOv5 segmentation model support (#9052) 2022-09-16 00:12:46 +02:00
torch_utils.py Standardize warnings with `WARNING ⚠️ ...` (#9467) 2022-09-18 16:15:25 +02:00