Closed Zesheng666 closed 1 year ago
Which file in the DINO code is used to configure the path of the COCO dataset? I've been searching for a while but couldn't find it.
We defined it here:
@Zesheng666
出现 No such file or directory: 'datasets/coco/annotations/instances_train2017.json',在哪个文件里面修改数据集的相关的路径呢?上面那两个文件里面似乎没有
出现 No such file or directory: 'datasets/coco/annotations/instances_train2017.json',在哪个文件里面修改数据集的相关的路径呢?上面那两个文件里面似乎没有
你需要指定一下
export DETECTRON2_DATASETS=/path/to/datasets
即可
如果你需要修改这个路径的话,需要修改你安装下来的d2文件夹的dataset/builtin.py,具体文件路径在:
@Zesheng666
Which file in the DINO code is used to configure the path of the COCO dataset? I've been searching for a while but couldn't find it.