autonomousvision / gaussian-opacity-fields

Gaussian Opacity Fields: Efficient and Compact Surface Reconstruction in Unbounded Scenes
https://niujinshuchong.github.io/gaussian-opacity-fields/
Other
559 stars 26 forks source link

missing file "/Calibration/cal18/pos_xxx.txt" when evaluating on DTU #13

Closed ruili3 closed 1 month ago

ruili3 commented 2 months ago

Hi,

I evaluate DTU using python scripts/run_dtu.py and the following error rises

 File "evaluate_dtu_mesh.py", line 214, in <module>
    evaluate_mesh(model.extract(args), args.iteration, args.DTU)
  File "evaluate_dtu_mesh.py", line 148, in evaluate_mesh
    dtu_cameras = load_dtu_camera(args.DTU)
  File "evaluate_dtu_mesh.py", line 65, in load_dtu_camera
    projection = np.loadtxt(fname, dtype=np.float32)
  File "/public/home/dlee/anaconda3/envs/gof/lib/python3.8/site-packages/numpy/lib/npyio.py", line 1356, in loadtxt
    arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
  File "/public/home/dlee/anaconda3/envs/gof/lib/python3.8/site-packages/numpy/lib/npyio.py", line 975, in _read
    fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
  File "/public/home/dlee/anaconda3/envs/gof/lib/python3.8/site-packages/numpy/lib/_datasource.py", line 193, in open
    return ds.open(path, mode, encoding=encoding, newline=newline)
  File "/public/home/dlee/anaconda3/envs/gof/lib/python3.8/site-packages/numpy/lib/_datasource.py", line 533, in open
    raise FileNotFoundError(f"{path} not found.")
FileNotFoundError: dtu_eval/Offical_DTU_Dataset/Calibration/cal18/pos_001.txt not found.
Finished job on GPU 0 with scene 24

This is caused by the absence of the Calibration/cal18/pos_xxx.txt file in DTU. How to obtain this file, could you offer further details? Thanks!

leomessi999 commented 2 months ago

I also encountered the same problem, is there any solution?

niujinshuchong commented 1 month ago

Hi, you need to download it form the DTU website, it is inside in Sample set.