Update dataset names from array to dictionary (#9000)

* Migrate dataset names to dictionary

* fix check

* backwards compat

* predict fix

* val fix

* Keep dataset stats behavior identical

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-08-17 17:52:53 +02:00
1 parent e8f24d5748
commit e83b422a69
15 files changed
+1646 -227

No files matched your search

+2 -2
View File
@@ -26,8 +26,8 @@ test: # test images (optional) 1276 images
- images/uq_1
# Classes
nc: 1 # number of classes
names: ['wheat_head'] # class names
names:
0: wheat_head
# Download script/URL (optional) ---------------------------------------------------------------------------------------