Open stm233 opened 5 years ago
same problem, waiting for the solution
The output file needs to be written in binary mode. Try changing line 48 from
with open(image_out_path, 'w') as fp:
to
with open(image_out_path, 'wb') as fp:
Hope it helps you.
@tlvu2697 do you know how to convert it to jpg?
In my folder: bedroom_val, there are data.mdb and lock.mdb.
Then I use
export_images('./bedroom_val', './data',True)
result:
Then i added key.decode() where
image_out_path = join(image_out_dir, key.decode() + '.webp')
However, there still has an error:
I don't know how to fix this problem where