YuanSun-XJTU / iComMa

iComMa: Inverting 3D Gaussian Splatting for Camera Pose Estimation via Comparing and Matching
70 stars 3 forks source link

about <query camera index> and <camera pose transformation> #12

Open xytjc opened 1 month ago

xytjc commented 1 month ago

hello,i use the trained 3D gaussian module as input,but i dont know how to set the query camera index and camera pose transformation.This is my output:(icomma) chengkang@chengkang-Z790-D:~/project/iComMa$ python run.py -m gaussian_module/garden --obs_img_index 0000 --delta "[30, 10, 5, 0.1, 0.2, 0.3]" Looking for config file in gaussian_module/garden/cfg_args Config file found: gaussian_module/garden/cfg_args Loading trained model at iteration 30000 [17/05 16:44:24] Reading camera 24/24 [17/05 16:44:24] Loading Training Cameras [17/05 16:44:24] Loading Test Cameras [17/05 16:44:26] Traceback (most recent call last): File "/home/chengkang/project/iComMa/run.py", line 134, in <module> obs_view=scene.getTestCameras()[args.obs_img_index] IndexError: list index out of range Your work is great!

xytjc commented 1 month ago

thaks to yuan sun,my problem has been solved,we should run :python run.py -m gaussian_module/garden --obs_img_index 0 --delta "[30, 10, 5, 0.1, 0.2, 0.3]" --eval