File size: 3,948 Bytes
da3ed5b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | /home/ywan0794/MoGe/visualize_depth.py:73: 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(checkpoint_path, map_location='cpu')
/home/ywan0794/MoGe/visualize_depth.py:135: 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(checkpoint_path, map_location='cpu')
/home/ywan0794/MoGe/visualize_depth.py:178: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
with torch.cuda.amp.autocast(dtype=torch.bfloat16):
Loading models...
Loading DA2-DPT...
Loaded DA2 dpt from /home/ywan0794/Depth-Anything-V2/training/exp/dpt_vitb_both/epoch_007.pth
Loading DA2-SDT...
Loaded DA2 sdt from /home/ywan0794/Depth-Anything-V2/training/exp/sdt_vitb_both/epoch_008.pth
Loading DA3-DPT...
[97m[INFO ] using MLP layer as FFN[0m
Loaded DA3 dpt from /home/ywan0794/Depth-Anything-3/training/exp/da3_dpt_vitl_both/epoch_010.pth
Loading DA3-SDT...
[97m[INFO ] using MLP layer as FFN[0m
Loaded DA3 sdt from /home/ywan0794/Depth-Anything-3/training/exp/da3_sdt_vitl_both/epoch_010.pth
Loading DA3-DualDPT...
[97m[INFO ] using MLP layer as FFN[0m
Loaded DA3 dualdpt from /home/ywan0794/Depth-Anything-3/training/exp/da3_dualdpt_vitl_both/epoch_010.pth
All models loaded!
Processing 10 KITTI samples...
[1/10] 2011_09_26_drive_0059_0000000154
[2/10] 2011_09_26_drive_0029_0000000296
[3/10] 2011_09_26_drive_0029_0000000154
[4/10] 2011_09_26_drive_0096_0000000171
[5/10] 2011_10_03_drive_0027_0000000362
[6/10] 2011_09_26_drive_0064_0000000462
[7/10] 2011_09_26_drive_0002_0000000051
[8/10] 2011_09_26_drive_0048_0000000016
[9/10] 2011_09_30_drive_0016_0000000110
[10/10] 2011_09_26_drive_0059_0000000098
Processing 10 DDAD samples...
[1/10] 000508_CAMERA_05
[2/10] 001971_CAMERA_09
[3/10] 003267_CAMERA_06
[4/10] 001726_CAMERA_09
[5/10] 002738_CAMERA_05
[6/10] 000339_CAMERA_01
[7/10] 000104_CAMERA_05
[8/10] 001069_CAMERA_06
[9/10] 003710_CAMERA_06
[10/10] 003376_CAMERA_05
Done! Results saved to /home/ywan0794/MoGe/vis_output
Structure:
/home/ywan0794/MoGe/vis_output/
KITTI/
rgb/, gt/, da2_dpt/, da2_sdt/, da3_dpt/, da3_sdt/, da3_dualdpt/
DDAD/
rgb/, gt/, da2_dpt/, da2_sdt/, da3_dpt/, da3_sdt/, da3_dualdpt/
Visualization completed!
|