rabbitKabbit's picture
I87X: MASt3R-SLAM (base.yaml) on ScanVideos/Video2_T3; MasterSlam1 = no intrinsics, MasterSlam2 = ARCore intrinsics (--calib)
c42a3c7 verified
Raw History Blame Contribute Delete
6.4 kB
/home/lehoangan/LHAN/mast3r/data/I87X_T3/scan
{'use_calib': False, 'single_thread': False, 'dataset': {'subsample': 1, 'img_downsample': 1, 'center_principle_point': True}, 'matching': {'max_iter': 10, 'lambda_init': 1e-08, 'convergence_thresh': 1e-06, 'dist_thresh': 0.1, 'radius': 3, 'dilation_max': 5}, 'tracking': {'min_match_frac': 0.05, 'max_iters': 50, 'C_conf': 0.0, 'Q_conf': 1.5, 'rel_error': 0.001, 'delta_norm': 0.001, 'huber': 1.345, 'match_frac_thresh': 0.333, 'sigma_ray': 0.003, 'sigma_dist': 10.0, 'sigma_pixel': 1.0, 'sigma_depth': 10.0, 'sigma_point': 0.05, 'pixel_border': -10, 'depth_eps': 1e-06, 'filtering_mode': 'weighted_pointmap', 'filtering_score': 'median'}, 'local_opt': {'pin': 1, 'window_size': 1000000.0, 'C_conf': 0.0, 'Q_conf': 1.5, 'min_match_frac': 0.1, 'pixel_border': -10, 'depth_eps': 1e-06, 'max_iters': 10, 'sigma_ray': 0.003, 'sigma_dist': 10.0, 'sigma_pixel': 1.0, 'sigma_depth': 10.0, 'sigma_point': 0.05, 'delta_norm': 1e-08, 'use_cuda': True}, 'retrieval': {'k': 3, 'min_thresh': 0.005}, 'reloc': {'min_match_frac': 0.3, 'strict': True}}
... loading model from checkpoints/MASt3R_ViTLarge_BaseDecoder_512_catmlpdpt_metric.pth
/home/lehoangan/LHAN/mast3r/MASt3R-SLAM/thirdparty/mast3r/mast3r/model.py:24: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
ckpt = torch.load(model_path, map_location='cpu')
instantiating : AsymmetricMASt3R(enc_depth=24, dec_depth=12, enc_embed_dim=1024, dec_embed_dim=768, enc_num_heads=16, dec_num_heads=12, pos_embed='RoPE100',img_size=(512, 512), head_type='catmlp+dpt', output_mode='pts3d+desc24', depth_mode=('exp', -inf, inf), conf_mode=('exp', 1, inf), patch_embed_cls='PatchEmbedDust3R', two_confs=True, desc_conf_mode=('exp', 0, inf), landscape_only=False)
<All keys matched successfully>
Loading retrieval model from checkpoints/MASt3R_ViTLarge_BaseDecoder_512_catmlpdpt_metric_retrieval_trainingfree.pth
/home/lehoangan/LHAN/mast3r/MASt3R-SLAM/thirdparty/mast3r/mast3r/retrieval/processor.py:70: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
ckpt = torch.load(modelname, 'cpu') # TODO from pretrained to download it automatically
/home/lehoangan/LHAN/mast3r/MASt3R-SLAM/mast3r_slam/frame.py:116: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /opt/conda/conda-bld/pytorch_1729647429097/work/torch/csrc/utils/tensor_numpy.cpp:206.)
uimg = torch.from_numpy(img["unnormalized_img"]) / 255.0
FPS: 8.27851479129549
FPS: 8.634207455456634
FPS: 8.944379969036008
FPS: 8.944369849258806
FPS: 9.00049810305111
Database retrieval 2 : {0}
FPS: 8.99184757510037
FPS: 9.02647494140349
FPS: 9.000637150210824
FPS: 9.05043449773849
FPS: 9.058796681161395
Database retrieval 3 : {0}
FPS: 9.067319387034363
FPS: 9.059049207871212
FPS: 9.061677729079008
FPS: 9.07158093458412
FPS: 9.07294805080448
FPS: 9.06225352311366
FPS: 9.053169275130426
FPS: 9.056670299279475
FPS: 9.050990992903007
FPS: 9.026960170349104
FPS: 9.04001027677463
FPS: 9.025494008616693
FPS: 9.024106393034252
FPS: 9.029215246330876
Database retrieval 6 : {3, 4}
FPS: 9.012418194954906
FPS: 9.031484738241582
Database retrieval 7 : {3, 4}
FPS: 9.0066825618883
FPS: 9.009007073029295
FPS: 9.016522926494707
FPS: 9.03043563727587
Database retrieval 8 : {0, 2, 3}
FPS: 9.01556238404262
FPS: 9.0192808771088
Database retrieval 9 : {0, 1, 6}
FPS: 8.999739355353299
FPS: 9.00245743542948
FPS: 9.0022199941893
Database retrieval 10 : {5, 6}
FPS: 8.991614597966597
FPS: 8.98818202686404
FPS: 8.98476057792742
Database retrieval 11 : {4, 5, 6}
FPS: 8.977418018258776
FPS: 8.980587300258776
Database retrieval 12 : {4, 5}
FPS: 8.969097888653266
FPS: 8.977443430848366
FPS: 8.979074441030374
FPS: 8.977528176192713
Database retrieval 14 : {11, 12, 4}
FPS: 8.96876244368361
Database retrieval 15 : {3, 6, 7}
FPS: 8.958435184452968
FPS: 8.96098263074617
FPS: 8.96725367027581
Database retrieval 16 : {4, 12, 14}
FPS: 8.957584375388677
Database retrieval 17 : {12, 14}
FPS: 8.957595250525204
FPS: 8.957191789065213
Database retrieval 18 : {16, 4, 12}
FPS: 8.95041910594045
Database retrieval 19 : {8, 15, 7}
FPS: 8.944351198258513
FPS: 8.951194155235957
FPS: 8.953318347393658
FPS: 8.951516847887088
Database retrieval 22 : {20}
FPS: 8.947851971541093
Database retrieval 23 : {16, 18, 19}
FPS: 8.943652788248727
Database retrieval 24 : {19, 7, 15}
FPS: 8.942083739337
Database retrieval 25 : {8, 2}
FPS: 8.940703070457479
FPS: 8.946278837825421
FPS: 8.951322452384716
done