DeeperCS / python-lmdb-mnist

using python to create lmdb format input for mnist
3 stars 5 forks source link

Creating lmdb: input /output error #1

Open priyapaul opened 7 years ago

priyapaul commented 7 years ago

images_db = lmdb.open(images_file, map_size=int(1e12), map_async=True, writemap=True)

lmdb.Error: ../data/image-lmdb_train: Input/output error

What could be the reason?

DeeperCS commented 7 years ago

Have you created a folder with the path of "../data/image_Imdb_train" ?

Make sure the path you set is correct.

huizhang0110 commented 6 years ago

I solved this problem by changing environment from python2.7 to python3.5.