This commit is contained in:
Glenn Jocher
2023-04-22 19:59:38 +02:00
committed by GitHub
parent 8f5eeb09f3
commit 4af9ca7382
15 changed files with 46 additions and 46 deletions

View File

@ -36,7 +36,7 @@ from .v5augmentations import (Albumentations, augment_hsv, classify_albumentatio
letterbox, mixup, random_perspective)
# Parameters
HELP_URL = 'See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
HELP_URL = 'See https://docs.ultralytics.com/yolov5/tutorials/train_custom_data'
IMG_FORMATS = 'bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp', 'pfm' # include image suffixes
VID_FORMATS = 'asf', 'avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'ts', 'wmv' # include video suffixes
LOCAL_RANK = int(os.getenv('LOCAL_RANK', -1)) # https://pytorch.org/docs/stable/elastic/run.html