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

validation_lmdb and train_lmdb have the same content? #4

Closed woxuankai closed 7 years ago

woxuankai commented 7 years ago

in file code/create_lmdb.py line 85: for in_idx, img_path in enumerate(train_data): line 66: for in_idx, img_path in enumerate(train_data):

So, what's the difference between validation_lmdb and train_lmdb? If they have the same content, what's the point of creating two same lmdb files? Am I missing something?

What more, thank you for your tutorial!

woxuankai commented 7 years ago

Sorry, I did not notice that 'if in_idx % 6 == 0:' / 'if in_idx % 6 != 0:'