zhang-tao-whu / DVIS

DVIS: Decoupled Video Instance Segmentation Framework
MIT License
124 stars 7 forks source link

dataset #8

Closed SoftSisterRui closed 1 year ago

SoftSisterRui commented 1 year ago

Hello, the dataset I use is youtubevis, and my data structure is as follows: ytvis_2021/ train.json valid.json train/ Annotations/ JPEGImages/ valid/ Annotations/ JPEGImages/ And I put them under the datasets file.

But when I train with this command: python train_net_video.py --num-gpus 2 --config-file ./configs/youtubevis_2021/swin/DVIS_Offline_SwinL.yaml --resume MODEL.WEIGHTS ./pretrain/DVIS_offline_ytvis21_swinl.pth The following error occurred: FileNotFoundError: [Errno 2] No such file or directory: 'datasets/coco/annotations/coco2ytvis2021_train.json' Do I need a json file in coco format for training?

zhang-tao-whu commented 1 year ago

Please prepare the coco dataset according or remove the coco dataset from the config file.