Skip to content

Latest commit

 

History

History

MIM

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Benchamrk on paper Revealing the Dark Secrets of Masked Image Modeling (Depth Estimation)

  1. Download InSpaceType eval set. Install the requiremens.txt by '''pip install -r requirements.txt'''

  2. Download pretrained model 'nyudepthv2_swin_large.ckpt' from Official Link and put it under the folder 'ckpt'

python test.py --dataset nyudepthv2 --data_path ../data/ --max_depth 10.0 --max_depth_eval 10.0  --backbone swin_large_v2 --depths 2 2 18 2 --num_filters 32 32 32 --deconv_kernels 2 2 2 --window_size 30 30 30 15 --pretrain_window_size 12 12 12 6 --use_shift True True False False --flip_test --shift_window_test --shift_size 2 --do_evaluate --ckpt_dir ckpt/nyudepthv2_swin_large.ckpt 

The command generates report files for hierarchy (H0-H2). *-all means overall H0-H2 means level of hierarchy. H1_xx means scene space type number. See space_type_def.yml for space type number definition.