Closed niatzt closed 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!
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.
Thanks, @niatzt . I will add the comments when I have time.
Resolved by #8 . Closing this issue.
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.