HUB VOC fix (#9792)

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-10-13 02:32:06 +02:00
1 parent 85ae985b6a
commit 16f87bb38e
1 file changed
+1
+1
View File
@@ -477,6 +477,7 @@ def check_dataset(data, autodownload=True):
path = Path(extract_dir or data.get('path') or '') # optional 'path' default to '.'
if not path.is_absolute():
path = (ROOT / path).resolve()
data['path'] = path # download scripts
for k in 'train', 'val', 'test':
if data.get(k): # prepend path
if isinstance(data[k], str):