maxupp maxupp commited on
Commit
196bf10
1 Parent(s): 77415a4

Add '*.mpo' to supported image formats (#2615)

Browse files

Co-authored-by: Max Uppenkamp <[email protected]>

Files changed (1) hide show
  1. 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