adilmoujahid / deeplearning-cats-dogs-tutorial

Source code for blog post: A Practical Introduction to Deep Learning with Caffe and Python
http://adilmoujahid.com/posts/2016/06/introduction-deep-learning-python-caffe/
183 stars 136 forks source link

no directory train_lmdb #11

Open aayush27894 opened 6 years ago

aayush27894 commented 6 years ago

I get the following error

Creating train_lmdb Traceback (most recent call last): File "create_lmdb.py", line 64, in in_db = lmdb.open(train_lmdb, map_size=int(1e12)) FileNotFoundError: [Errno 2] No such file or directory: '~/project/tp/deeplearning-cats-dogs-tutorial/input/train_lmdb'

rajasekharponakala commented 6 years ago

You should put your own path here.

train_lmdb = '/home/ubuntu/deeplearning-cats-dogs-tutorial/input/train_lmdb' validation_lmdb = '/home/ubuntu/deeplearning-cats-dogs-tutorial/input/validation_lmdb'

Behnam72 commented 5 years ago

I have the same problem. I do not see the "train_lmdb" file in the zip file that I downloaded. what should I do?

jorgher commented 5 years ago

same problem and I put the path corrrectly

rohitnairkp commented 4 years ago

You should put your own path in the create_lmdb.py file as follows

train_lmdb = '/home/ubuntu/deeplearning-cats-dogs-tutorial/input/train_lmdb' Change to train_lmdb = '/home/glueck/Documents/deeplearning-cats-dogs-tutorial/input/train_lmdb'

validation_lmdb = '/home/ubuntu/deeplearning-cats-dogs-tutorial/input/validation_lmdb' Change to validation_lmdb = '/home/glueck/Documents/deeplearning-cats-dogs-tutorial/input/validation_lmdb'

After changing the path to your own path where you have stored the project file run the create_lmdb.py file .

Screenshot from 2019-11-12 13-05-36