zhung2 / uvtranse

10 stars 2 forks source link

AssertionError: Path does not exist: dataset/data/ImageSets/train.txt #1

Closed crystalruo closed 4 years ago

crystalruo commented 4 years ago

Hi,thanks for your sharing.I followed the instructions to put the files in the folder,but I have encountered the following error when I run this command :python train.py --dataroot dataset/data

Traceback (most recent call last): File "train.py", line 93, in train() File "train.py", line 15, in train train_dataset = VrdDataset(opt.dataroot, split='train', net=opt.feat_net, use_lang=opt.use_lang) File "/media/zbp/957174eb-3a01-447e-a596-2212be057407/home/zbp/yml/uvtranse-master/datasets/vrd.py", line 178, in init self._image_index = self._load_image_set_index() File "/media/zbp/957174eb-3a01-447e-a596-2212be057407/home/zbp/yml/uvtranse-master/datasets/vrd.py", line 367, in _load_image_set_index 'Path does not exist: {}'.format(image_set_file) AssertionError: Path does not exist: dataset/data/ImageSets/train.txt

I checked the folder,there were no folder named "ImageSets" and train.txt.Could you help me to solve this problem?Thank you very much.

coldmanck commented 4 years ago

Same here

zhung2 commented 4 years ago

Sorry, you should comment out self._image_index = self._load_image_set_index() in datasets/vrd.py. It is not used.