Add '*.mpo' to supported image formats (#2615)
Browse filesCo-authored-by: Max Uppenkamp <max.uppenkamp@inform-software.com>
- utils/datasets.py +1 -1
utils/datasets.py
CHANGED
@@ -26,7 +26,7 @@ from utils.torch_utils import torch_distributed_zero_first
|
|
26 |
|
27 |
# Parameters
|
28 |
help_url = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
|
29 |
-
img_formats = ['bmp', 'jpg', 'jpeg', 'png', 'tif', 'tiff', 'dng', 'webp'] # acceptable image suffixes
|
30 |
vid_formats = ['mov', 'avi', 'mp4', 'mpg', 'mpeg', 'm4v', 'wmv', 'mkv'] # acceptable video suffixes
|
31 |
logger = logging.getLogger(__name__)
|
32 |
|
|
|
26 |
|
27 |
# Parameters
|
28 |
help_url = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
|
29 |
+
img_formats = ['bmp', 'jpg', 'jpeg', 'png', 'tif', 'tiff', 'dng', 'webp', 'mpo'] # acceptable image suffixes
|
30 |
vid_formats = ['mov', 'avi', 'mp4', 'mpg', 'mpeg', 'm4v', 'wmv', 'mkv'] # acceptable video suffixes
|
31 |
logger = logging.getLogger(__name__)
|
32 |
|