noahzn / Lite-Mono

[CVPR2023] Lite-Mono: A Lightweight CNN and Transformer Architecture for Self-Supervised Monocular Depth Estimation
MIT License
540 stars 61 forks source link

test_simple.py #68

Closed XJLeoYu closed 1 year ago

XJLeoYu commented 1 year ago

when i tried with python test_simple.py --load_weights_folder xxx/networks --image_path path/to/your/test/image after I put lite-mono-pretrain.pth into the folder networks,the error gose like: FileNotFoundError: [Errno 2] No such file or directory:encoder.pth I check the whole project and your other repository like:https://github.com/nianticlabs/monodepth2 I didn't find way to download the encoder.pth,(even if I do find the encoder.pth in your repository of ICCV 2019,it turns out that didn't match the model sructure. need some help

noahzn commented 1 year ago

Hi, when you test the model you need the trained weights, not the Imagenet-pretraied model. Therefore, please download the correct weights (checkpoints). For example, you can download this one.

noahzn commented 1 year ago

I am now closing this issue due to no response.