yzcjtr / GeoNet

Code for GeoNet: Unsupervised Learning of Dense Depth, Optical Flow and Camera Pose (CVPR 2018)
MIT License
723 stars 181 forks source link

pretrained model problems #61

Closed Chenxi93 closed 4 years ago

Chenxi93 commented 4 years ago

Hi, I try to use the pretained model. After downloading it I got 2 files. which is models-20191104T141624Z-001 and models-20191104T141624Z-002.

I tried python geonet_main.py --mode=test_depth --dataset_dir=/GeoNet/data/kitti/raw_data_downloader/ --init_ckpt_file=/home/models/models-20191104T141624Z-001/models/geonet_depthnet/ --batch_size=1 --depth_test_split=eigen --output_dir=/home/results/result_depth/...

But it returns a Error ' The passed save_path is not a valid checkpoint: /home/models/models-20191104T141624Z-001/models/geonet_depthnet/ '

How should I solve it? I also tried the path without / at the end. But also an error.

Chenxi93 commented 4 years ago

I found the solution :D