|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Download script/URL (optional) --------------------------------------------------------------------------------------- |
|
|
# Download script/URL (optional) --------------------------------------------------------------------------------------- |
|
|
download: | |
|
|
download: | |
|
|
from pycocotools.coco import COCO |
|
|
|
|
|
from tqdm import tqdm |
|
|
from tqdm import tqdm |
|
|
|
|
|
|
|
|
from utils.general import Path, download, np, xyxy2xywhn |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from utils.general import Path, check_requirements, download, np, xyxy2xywhn |
|
|
|
|
|
|
|
|
|
|
|
check_requirements(('pycocotools>=2.0',)) |
|
|
|
|
|
from pycocotools.coco import COCO |
|
|
|
|
|
|
|
|
# Make Directories |
|
|
# Make Directories |
|
|
dir = Path(yaml['path']) # dataset root dir |
|
|
dir = Path(yaml['path']) # dataset root dir |