2d-gaussian-splatting icon indicating copy to clipboard operation
2d-gaussian-splatting copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: '/Offical_DTU_Dataset/Points/stl/ObsMask/ObsMask24_10.mat'

Open nwulq opened this issue 9 months ago • 7 comments

Thank you very much for your excellent work. I am new to this field and there is no problem with training and testing when reproducing your code. But when I run the full evaluation of DTU data, I get the following error:

mesh post processed saved at ./eval/dtu/scan122/train/ours_30000/fuse_post.ply cull mesh .... Culling mesh given masks: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 49/49 [01:06<00:00, 1.37s/it] masking data pcd: 44%|█████████████████████████████████████████████████████████████████████████████████████▊ | 4/9 [00:36<00:56, 11.31s/it]Traceback (most recent call last): File "/root/anaconda3/envs/surfel_splatting/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 39, in _open_file return open(file_like, mode), True FileNotFoundError: [Errno 2] No such file or directory: '/root/autodl-tmp/dtu_eval/Offical_DTU_Dataset/Points/stl/ObsMask/ObsMask24_10.mat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/autodl-tmp/2d/scripts/eval_dtu/eval.py", line 98, in obs_mask_file = loadmat(f'{args.dataset_dir}/ObsMask/ObsMask{args.scan}_10.mat') File "/root/anaconda3/envs/surfel_splatting/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 225, in loadmat with _open_file_context(file_name, appendmat) as f: File "/root/anaconda3/envs/surfel_splatting/lib/python3.8/contextlib.py", line 113, in enter return next(self.gen) File "/root/anaconda3/envs/surfel_splatting/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 17, in _open_file_context f, opened = _open_file(file_like, appendmat, mode) File "/root/anaconda3/envs/surfel_splatting/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 45, in _open_file return open(file_like, mode), True FileNotFoundError: [Errno 2] No such file or directory: '/root/autodl-tmp/dtu_eval/Offical_DTU_Dataset/Points/stl/ObsMask/ObsMask24_10.mat' masking data pcd: 44%|█████████████████████████████████████████████████████████████████████████████████████▊ | 4/9 [00:36<00:45, 9.18s/it] cull mesh ....

I downloaded the Points file based on the DTU point cloud you provided, but it only contains the STL ply file, without the ObsMask's ObsMaskxxx_10.mat and Planexxx.mat files. How can I solve this problem?

nwulq avatar May 21 '24 17:05 nwulq