svip-lab / PlanarReconstruction

[CVPR'19] Single-Image Piece-wise Planar 3D Reconstruction via Associative Embedding
MIT License
364 stars 86 forks source link

How should I specify an image to predict? #15

Closed GuardianWang closed 5 years ago

GuardianWang commented 5 years ago

Since the most recent predict.py has some modifications, it seems like that I cannnot refer to an image using the original command. Then what should I do? Many thanks!

Error Info

(planercnn) E:\Users\zichu\PycharmProjects\PlanarReconstruction-master>python predict.py with resume_dir=pretrained.pt input_image=png/1.png sacred.utils.ConfigAddedError: Added new config entry that is not used anywhere Conflicting configuration values: input_image=png/1.png

bertjiazheng commented 5 years ago

It seems that I forget to update command in the README. Please try

python predict.py with resume_dir=pretrained.pt image_path=/path/to/image