Add `*.asf` video support (#6436)
This commit is contained in:
parent
d5966c93f1
commit
3b7ac28ed1
|
|
@ -34,7 +34,7 @@ from utils.torch_utils import torch_distributed_zero_first
|
||||||
# Parameters
|
# Parameters
|
||||||
HELP_URL = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
|
HELP_URL = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
|
||||||
IMG_FORMATS = ['bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp'] # include image suffixes
|
IMG_FORMATS = ['bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp'] # include image suffixes
|
||||||
VID_FORMATS = ['avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'wmv'] # include video suffixes
|
VID_FORMATS = ['asf', 'avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'wmv'] # include video suffixes
|
||||||
DEVICE_COUNT = max(torch.cuda.device_count(), 1)
|
DEVICE_COUNT = max(torch.cuda.device_count(), 1)
|
||||||
|
|
||||||
# Get orientation exif tag
|
# Get orientation exif tag
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue