Update cache_version = 1.0 (#82)

This commit is contained in:
Glenn Jocher 2022-12-22 12:44:28 +01:00 committed by GitHub
parent 40f7e0806e
commit 74feef30c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ from .utils import HELP_URL, LOCAL_RANK, get_hash, img2label_paths, verify_image
class YOLODataset(BaseDataset):
cache_version = 0.6 # dataset labels *.cache version
cache_version = 1.0 # dataset labels *.cache version, >= 1.0 for YOLOv8
rand_interp_methods = [cv2.INTER_NEAREST, cv2.INTER_LINEAR, cv2.INTER_CUBIC, cv2.INTER_AREA, cv2.INTER_LANCZOS4]
"""YOLO Dataset.
Args: