You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
当我尝试复现训练的时候,出现了如下错误:
raceback (most recent call last):
File "./train.py", line 123, in
main()
File "./train.py", line 119, in main
trainer.fit(model, datamodule=data_module)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 458, in fit
self._run(model)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 756, in _run
self.dispatch()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 797, in dispatch
self.accelerator.start_training(self)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\accelerators\accelerator.py", line 96, in start_training
self.training_type_plugin.start_training(trainer)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\plugins\training_type\training_type_plugin.py", line 144, in start_training
self._results = trainer.run_stage()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 807, in run_stage
return self.run_train()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 842, in run_train
self.run_sanity_check(self.lightning_module)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 1107, in run_sanity_check
self.run_evaluation()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 949, in run_evaluation
for batch_idx, batch in enumerate(dataloader):
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data\dataloader.py", line 517, in next
data = self._next_data()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data\dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data\dataset.py", line 219, in getitem
return self.datasets[dataset_idx][sample_idx]
File "E:\ai_project\LoFTR-master\src\datasets\megadepth.py", line 84, in getitem
depth0 = read_megadepth_depth(
File "E:\ai_project\LoFTR-master\src\utils\dataset.py", line 132, in read_megadepth_depth
depth = np.array(h5py.File(path, 'r')['depth'])
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\h5py_hl\files.py", line 424, in init
fid = make_fid(name, mode, userblock_size,
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\h5py_hl\files.py", line 190, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 96, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'data/megadepth/test\phoenix/S6/zl548/MegaDepth_v1/0022/dense0/depths/427154679_de14c315f4_o.h5', errno = 2, error message = 'No
such file or directory', flags = 0, o_flags = 0)
The text was updated successfully, but these errors were encountered:
当我尝试复现训练的时候,出现了如下错误:
raceback (most recent call last):
File "./train.py", line 123, in
main()
File "./train.py", line 119, in main
trainer.fit(model, datamodule=data_module)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 458, in fit
self._run(model)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 756, in _run
self.dispatch()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 797, in dispatch
self.accelerator.start_training(self)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\accelerators\accelerator.py", line 96, in start_training
self.training_type_plugin.start_training(trainer)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\plugins\training_type\training_type_plugin.py", line 144, in start_training
self._results = trainer.run_stage()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 807, in run_stage
return self.run_train()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 842, in run_train
self.run_sanity_check(self.lightning_module)
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 1107, in run_sanity_check
self.run_evaluation()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 949, in run_evaluation
for batch_idx, batch in enumerate(dataloader):
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data\dataloader.py", line 517, in next
data = self._next_data()
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data\dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\torch\utils\data\dataset.py", line 219, in getitem
return self.datasets[dataset_idx][sample_idx]
File "E:\ai_project\LoFTR-master\src\datasets\megadepth.py", line 84, in getitem
depth0 = read_megadepth_depth(
File "E:\ai_project\LoFTR-master\src\utils\dataset.py", line 132, in read_megadepth_depth
depth = np.array(h5py.File(path, 'r')['depth'])
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\h5py_hl\files.py", line 424, in init
fid = make_fid(name, mode, userblock_size,
File "F:\software\Anaconda3\envs\loftr\lib\site-packages\h5py_hl\files.py", line 190, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 96, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'data/megadepth/test\phoenix/S6/zl548/MegaDepth_v1/0022/dense0/depths/427154679_de14c315f4_o.h5', errno = 2, error message = 'No
such file or directory', flags = 0, o_flags = 0)
The text was updated successfully, but these errors were encountered: