Hi I got this problem,when I ues the own data. could your give me the right data format or how can I got the useful data use camera.
CUDA_VISIBLE_DEVICES=2 bash run_convert_camera.sh ../../data/lion/
Don't need to run COLMAP
Post-colmap
Cameras 5
Images # 35
Points (5149, 3) Visibility (5149, 35)
Depth stats 2.935958506701537 13.153031511147109 5.22148640556153
Done with imgs2poses
Preprocessing ../../data/lion/
= = = = = Number of points:100 = = = = =
/home/jyl/workspace/Nerf/Voxurf/tools/preprocess/preprocess_cameras.py:129: RuntimeWarning: Mean of empty slice.
centroid=final_points.mean(axis=1)
/home/jyl/miniconda3/envs/voxurf/lib/python3.9/site-packages/numpy/core/_methods.py:182: RuntimeWarning: invalid value encountered in divide
ret = um.true_divide(
/home/jyl/workspace/Nerf/Voxurf/tools/preprocess/preprocess_cameras.py:132: RuntimeWarning: Mean of empty slice.
return centroid,np.sqrt((normalize * 2).sum(axis=0)).mean() 3,final_points.T
/home/jyl/miniconda3/envs/voxurf/lib/python3.9/site-packages/numpy/core/_methods.py:190: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
[[nan 0. 0. nan]
[ 0. nan 0. nan]
[ 0. 0. nan nan]
[ 0. 0. 0. 1.]]
Hi I got this problem,when I ues the own data. could your give me the right data format or how can I got the useful data use camera. CUDA_VISIBLE_DEVICES=2 bash run_convert_camera.sh ../../data/lion/ Don't need to run COLMAP Post-colmap Cameras 5 Images # 35 Points (5149, 3) Visibility (5149, 35) Depth stats 2.935958506701537 13.153031511147109 5.22148640556153 Done with imgs2poses Preprocessing ../../data/lion/ = = = = = Number of points:100 = = = = = /home/jyl/workspace/Nerf/Voxurf/tools/preprocess/preprocess_cameras.py:129: RuntimeWarning: Mean of empty slice. centroid=final_points.mean(axis=1) /home/jyl/miniconda3/envs/voxurf/lib/python3.9/site-packages/numpy/core/_methods.py:182: RuntimeWarning: invalid value encountered in divide ret = um.true_divide( /home/jyl/workspace/Nerf/Voxurf/tools/preprocess/preprocess_cameras.py:132: RuntimeWarning: Mean of empty slice. return centroid,np.sqrt((normalize * 2).sum(axis=0)).mean() 3,final_points.T /home/jyl/miniconda3/envs/voxurf/lib/python3.9/site-packages/numpy/core/_methods.py:190: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) [[nan 0. 0. nan] [ 0. nan 0. nan] [ 0. 0. nan nan] [ 0. 0. 0. 1.]]
Done!