AaltoVision / relativeCameraPose

Relative Camera Pose Estimation Using Convolutional Neural Networks
https://arxiv.org/abs/1702.01381
71 stars 14 forks source link

After I download DTU dataset, it can not run by the next guide. #6

Open ray2004a opened 5 years ago

ray2004a commented 5 years ago

Thanks for the sharing, and sorry for the problem as a newer of Torch. I already downloaded full cleaned dataset on DTU(136GB) and extracted it to the "data" folder in roots of this git-master. Then run " th main.lua -do_evaluation -source_image_path data/Cleaned/ -weights ./pre-trained/siam_hybridnet_fullsized.t7", but it showed like below:

======================================================== invalid argument: -source_image_path
Usage: [options]

Torch-7 relative pose estimation Options:

Could anyone face this problem before? It will be very thanked for any suggestion.

hahahehe-coder commented 3 years ago

Try to change the 19th line of opts.lua. E.g: cmd:option("-source_img_path", "/media/hahahehe/KESU/Cleaned", 'Home directory for images of corresponding landmarks') No need to add -source_img_path parameters when you run the command. th main.lua -do_evaluation -weights ./pre-trained/siam_hybridnet_fullsized.t7