ashutosh1807 / Depthformer

33 stars 6 forks source link

怎么测试单张RGB图片? #4

Open juntaosun opened 1 year ago

juntaosun commented 1 year ago

在文档找不到如何测试单张图片,可否补充一下?

python args_test_nyu.txt ?

` --data_path ../dataset/nyu_depth_v2/official_splits/test/ --gt_path ../dataset/nyu_depth_v2/official_splits/test/ --filenames_file ./train_test_inputs/nyudepthv2_test_files_with_gt.txt --input_height 480 --input_width 640 --max_depth 10 --min_depth 1e-3

--checkpoint_path $NYU_CHKPT

--data_path_eval ../dataset/nyu_depth_v2/official_splits/test/ --gt_path_eval ../dataset/nyu_depth_v2/official_splits/test/ --filenames_file_eval ./train_test_inputs/nyudepthv2_test_files_with_gt.txt --min_depth_eval 1e-3 --max_depth_eval 10 --eigen_crop --dataset nyu --save_dir predictions_nyu `

下载模型后,怎么推理?还要dataset吗,完全不明白

WilliamOChai commented 8 months ago

作者估计是个外国人,建议用英语,此外,可以根据他的evaluate 改改,写一个single inference

zb-x11 commented 5 months ago

@WilliamOChai hi! I want to ask you, have you trained the model? Why did I get a RMSE of only 0.6? Also, do you have official model parameters?