phuang17 / DeepMVS

DeepMVS: Learning Multi-View Stereopsis
https://phuang17.github.io/DeepMVS/index.html
BSD 2-Clause "Simplified" License
331 stars 85 forks source link

download_training_datasets.py #5

Closed niatzt closed 6 years ago

niatzt commented 6 years ago

When I run 'download_training_datasets.py', it shows an error 'ValueError: Could not load bitmap "": LibRaw : failed to open input stream (unknown format)' due to the line:

img = imageio.imread(img.tobytes(), format = "RAW-FI")

after changed to:

img = imageio.imread(img.tobytes())

The code does not show any error; Not sure whether the change would cause problem for training.

phuang17 commented 6 years ago

This problem actually troubles me a lot. Some people said that adding format = "RAW-FI" gives the error, but some said it gives the error without that. :confused: Could you file a pull request which removes that argument? We can collect more feedback there and keep track of this issue. Thanks!

niatzt commented 6 years ago

I run the code with format = "RAW-FI" on another machine, this time it works fine. I guess you may need to comment on that line -- Depending on the machine, one may or may not need to use the format.

Besides, I modified the batch size whose default size is 1 in 'train.py'. It always report error claiming tensor size does not match.

phuang17 commented 6 years ago

Thanks, @niatzt . I will add the comments when I have time.

phuang17 commented 6 years ago

Resolved by #8 . Closing this issue.