rabbitKabbit's picture
P64: replace MasterSlam2 (robust.yaml) with MasterSlam1_ScanVideo1 (original base.yaml config)
828dd0d verified
Raw History Blame Contribute Delete
7 kB
/home/lehoangan/LHAN/mast3r/runs/scan_20261107-024008/scan.mp4
{'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: 16.40271361675912
FPS: 17.734928130262077
FPS: 17.741678897476827
FPS: 17.666685316758947
FPS: 17.5091171750376
Database retrieval 14 : {12}
Database retrieval 15 : {12, 13}
FPS: 17.11340465109405
Database retrieval 16 : {14}
Database retrieval 17 : {15}
Database retrieval 18 : {16}
Database retrieval 19 : {17}
Database retrieval 20 : {18}
FPS: 16.609522151524157
FPS: 16.622039564475873
FPS: 16.649202869016136
FPS: 16.80702538841624
Skipped frame 307
RELOCALIZING against kf 30 and [29]
Failed to relocalize
RELOCALIZING against kf 30 and [29]
Failed to relocalize
RELOCALIZING against kf 30 and [29, 20]
Failed to relocalize
RELOCALIZING against kf 30 and [29, 20]
Failed to relocalize
RELOCALIZING against kf 30 and [20]
Failed to relocalize
RELOCALIZING against kf 30 and [20]
Failed to relocalize
FPS: 16.602989062736103
FPS: 16.72539088962708
FPS: 16.733778543471107
FPS: 16.863187904575106
FPS: 16.910895350029893
FPS: 16.89391139688697
FPS: 16.929719309889823
FPS: 16.9837396581028
FPS: 16.968083842822878
FPS: 16.895898876230238
FPS: 16.87971380194406
FPS: 16.939288027981174
FPS: 16.96276962270247
FPS: 16.957400533471855
FPS: 17.013084312065075
FPS: 16.99499642067157
FPS: 17.007018359454534
FPS: 16.974147308882376
FPS: 16.974381913606717
FPS: 16.98861691250176
FPS: 16.994071758107403
FPS: 17.014550835298184
FPS: 17.04824598385199
FPS: 17.095179842192447
FPS: 17.089291394961926
FPS: 17.132592350251656
FPS: 17.13559836391987
FPS: 17.164339488997044
FPS: 17.158507784382472
FPS: 17.17788337304208
FPS: 17.187585162394335
FPS: 17.191707578526632
FPS: 17.21307748871275
FPS: 17.224743920330067
FPS: 17.238800539838977
FPS: 17.23761326421785
FPS: 17.241681514372498
FPS: 17.252376053080734
FPS: 17.263802787796315
FPS: 17.27451743360528
FPS: 17.260511634403393
RELOCALIZING against kf 30 and [1]
Failed to relocalize
FPS: 17.23726072100567
RELOCALIZING against kf 30 and [1]
Failed to relocalize
RELOCALIZING against kf 30 and [1]
Failed to relocalize
RELOCALIZING against kf 30 and [1]
Failed to relocalize
RELOCALIZING against kf 30 and [1]
Failed to relocalize
RELOCALIZING against kf 30 and [1]
Failed to relocalize
RELOCALIZING against kf 30 and [1]
Failed to relocalize
RELOCALIZING against kf 30 and [1]
Failed to relocalize
FPS: 17.1682514100444
FPS: 17.166695470373416
FPS: 17.172554089264924
FPS: 17.188504961289432
FPS: 17.200001656627258
FPS: 17.21874089357537
FPS: 17.22324843018763
FPS: 17.237326674817385
FPS: 17.231007559112065
FPS: 17.244998221775205
FPS: 17.227955353024274
RELOCALIZING against kf 30 and [3]
Failed to relocalize
done