glenn-jocher commited on
Commit
c759bbd
1 Parent(s): b1300f3

Add `check_requirements(('pycocotools>=2.0',))` (#7295)

Browse files
Files changed (1) hide show
  1. data/Objects365.yaml +5 -4
data/Objects365.yaml CHANGED
@@ -60,11 +60,12 @@ names: ['Person', 'Sneakers', 'Chair', 'Other Shoes', 'Hat', 'Car', 'Lamp', 'Gla
60
 
61
  # Download script/URL (optional) ---------------------------------------------------------------------------------------
62
  download: |
63
- from pycocotools.coco import COCO
64
  from tqdm import tqdm
65
-
66
- from utils.general import Path, download, np, xyxy2xywhn
67
-
 
 
68
 
69
  # Make Directories
70
  dir = Path(yaml['path']) # dataset root dir
 
60
 
61
  # Download script/URL (optional) ---------------------------------------------------------------------------------------
62
  download: |
 
63
  from tqdm import tqdm
64
+
65
+ from utils.general import Path, check_requirements, download, np, xyxy2xywhn
66
+
67
+ check_requirements(('pycocotools>=2.0',))
68
+ from pycocotools.coco import COCO
69
 
70
  # Make Directories
71
  dir = Path(yaml['path']) # dataset root dir