NVlabs / BundleSDF

[CVPR 2023] BundleSDF: Neural 6-DoF Tracking and 3D Reconstruction of Unknown Objects
https://bundlesdf.github.io/
Other
1.07k stars 118 forks source link

Face error when Run global refinement post-processing to refine the mesh #79

Closed gyhandy closed 1 year ago

gyhandy commented 1 year ago

When I run the milk demo, 2) (Optinal) Run global refinement post-processing to refine the mesh python run_custom.py --mode global_refine

Face the error: cp: cannot stat 'BundleSDF/data/output_milk//nerf_with_bundletrack_online/imagestep*.png': No such file or directory

Could you please help to check? Why it need to add '/' in save_dir?

wenbowen123 commented 1 year ago

https://github.com/NVlabs/BundleSDF/blob/878cee2f1cda23810ff861f6fef2922c96c7a67e/run_custom.py#L107C19-L107C20 this line should have already run the global refinement. So you dont need to run that line. There should be a mesh file in your output dir. I'll push an update to the readme.

gyhandy commented 1 year ago

Hi, thanks for your reply! Even in the first step, we face the same error

1) Run joint tracking and reconstruction

python run_custom.py --mode run_video --video_dir OUR/FOLDER --out_folder OUR/FOLDER --use_segmenter 1 --use_gui 0--debug_level 2

Face the error: cp: cannot stat 'BundleSDF/data/output_milk//nerf_with_bundletrack_online/imagestep*.png': No such file or directory

Could you please help to check? Thanks!

wenbowen123 commented 1 year ago

@gyhandy if there is only that error, it shouldn't interfere anything. Did you see any other errors thrown? Since the final outputs are the poses (in cam_in_ob folder), and the reconstruction textured_mesh.obj, if you have those, the run is good.