step 4 : Export/ Evaluate the metrics on HPatches Error:
Opened this issue · 0 comments
When I performed step 4, the following error occurred:
File "export.py", line 408, in
args.func(config, output_dir, args)
File "export.py", line 105, in export_descriptor
data = dataLoader(config, dataset=task)
File "D:\DeepLearning\two\hwj_DeepLearning\pytorch-superpoint-master_1\utils\loader.py", line 120, in dataLoader_test
**config['data'],
File "D:\DeepLearning\two\hwj_DeepLearning\pytorch-superpoint-master_1\datasets\patches_dataset.py", line 38, in init
self.files = self._init_dataset(**self.config)
File "D:\DeepLearning\two\hwj_DeepLearning\pytorch-superpoint-master_1\datasets\patches_dataset.py", line 129, in init_dataset
homographies.append(np.loadtxt(str(Path(path, "H_1" + str(i)))))
File "D:\DeepLearning\Anaconda3\envs\pytorch-superpoint-master\lib\site-packages\numpy\lib\npyio.py", line 1067, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "D:\DeepLearning\Anaconda3\envs\pytorch-superpoint-master\lib\site-packages\numpy\lib_datasource.py", line 193, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "D:\DeepLearning\Anaconda3\envs\pytorch-superpoint-master\lib\site-packages\numpy\lib_datasource.py", line 533, in open
raise IOError("%s not found." % path)
OSError: D:\DeepLearning\two\hwj_DeepLearning\pytorch-superpoint-master_1\datasets\HPatches\i_ajuntament\H_1_2 not found.
my magicpoint_repeatability_heatmap.yaml is as follows:
Does anyone know what caused this? Can you tell me why? thanks