Nithin-Holla / meme_challenge

Repository containing code from team Kingsterdam for the Hateful Memes Challenge
MIT License
19 stars 7 forks source link

AssertionError: Feature file for image 16395 does not exist. #1

Open NonlinearNimesh opened 3 years ago

NonlinearNimesh commented 3 years ago

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Traceback (most recent call last): File "train_uniter.py", line 181, in config['test_loader'].append(test_data_loader(os.path.join(config['data_path'], test_file))) File "train_uniter.py", line 176, in test_data_loader confidence_threshold=config['object_conf_thresh']) File "/content/drive/My Drive/meme_challenge/data/dataset_template.py", line 66, in init self._prepare_data_list() File "/content/drive/My Drive/meme_challenge/data/meme_dataset.py", line 38, in _prepare_data_list self._load_dataset() File "/content/drive/My Drive/meme_challenge/data/meme_dataset.py", line 71, in _load_dataset assert os.path.isfile(feature_file_name), "Feature file for image {} does not exist.".format(img_id) AssertionError: Feature file for image 16395 does not exist.

This is showing me the feature file does not exist for image 16395 but i have feature file with 16395.npy and 16395_info.npy in own_feature.

can you please help me out

wangben718 commented 2 years ago

I have the same issue.

liyouhua97 commented 2 years ago

I have met the same issue. Could you tell me how you solved it? My email: [15984767195@163.com]. Thx a lot!