qvec issue always there when run the -use- ba
Arguments: {'scene_dir': '/content/vggt/SCENE_DIR/', 'seed': 42, 'use_ba': True, 'max_reproj_error': 8.0, 'shared_camera': False, 'camera_type': 'SIMPLE_PINHOLE', 'vis_thresh': 0.2, 'query_frame_num': 8, 'max_query_pts': 2048, 'fine_tracking': True, 'conf_thres_value': 5.0} Setting seed as: 42 Using device: cuda Using dtype: torch.float16 Model loaded Loaded 8 images from /content/vggt/SCENE_DIR/images Using cache found in /root/.cache/torch/hub/facebookresearch_dinov2_main /root/.cache/torch/hub/facebookresearch_dinov2_main/dinov2/layers/swiglu_ffn.py:51: UserWarning: xFormers is not available (SwiGLU) warnings.warn("xFormers is not available (SwiGLU)") /root/.cache/torch/hub/facebookresearch_dinov2_main/dinov2/layers/attention.py:33: UserWarning: xFormers is not available (Attention) warnings.warn("xFormers is not available (Attention)") /root/.cache/torch/hub/facebookresearch_dinov2_main/dinov2/layers/block.py:40: UserWarning: xFormers is not available (Block) warnings.warn("xFormers is not available (Block)") For faster inference, consider disabling fine_tracking Predicting tracks for query frame 0 Predicting tracks for query frame 3 Predicting tracks for query frame 4 Predicting tracks for query frame 1 Predicting tracks for query frame 7 Predicting tracks for query frame 6 Predicting tracks for query frame 2 Predicting tracks for query frame 5 Traceback (most recent call last): File "/content/vggt/demo_colmap.py", line 298, in demo_fn(args) File "/content/vggt/demo_colmap.py", line 173, in demo_fn reconstruction, valid_track_mask = batch_np_matrix_to_pycolmap( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/content/vggt/vggt/dependency/np_to_pycolmap.py", line 109, in batch_np_matrix_to_pycolmap pose_ba = pycolmap.Rigid3d(pycolmap.Rotation3d(qvec[i]), tvec[i]) ^^^^ NameError: name 'qvec' is not defined
Source: facebookresearch/vggt