svip-lab / PlanarReconstruction

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

Added predction for folder of images #32

Closed kharyal closed 4 years ago

kharyal commented 4 years ago

The prediction method now works for both, single image and a folder of images. It can be quite a tiresome process to run the prediction for many images to get the general idea of how the network is performing on some custom dataset. Therefore, this pull request.

I have changed the following files:

In Readme.md I have just changed the line that says prediction runs for a single image.

In predict.py I have added a few lines to handle the prediction on a folder of images. The code now does the following things along with the things that it did earlier:

Also, I want to thank you for such great work. I am sorry for any mistakes that I might have made in this PR because it is my first one ever.

bertjiazheng commented 4 years ago

Hi,

First of all, thanks for your PR!

Since this customized feature would not affect any result, I prefer not to merge this PR into the current master.

Thanks anyway.

Best, Jia

kharyal commented 4 years ago

Yes, sure. I just wanted to run the prediction for a large number of images, just to see how it performs on those images and therefore I changed the code. The PR was just a byproduct of that.

Thanks