title: How to convert my own massive jpg files to train new model in tensorflow
body: <p>I am newbie of tensorflow. </p>
  
  <p>I have installed and setup tensorflow with docker, also launch some example well (such as mnist, and "How to Retrain" to retrain Inception-v3.</p>
  
  <p>Now, I try to find the method to input my own image as new train sample (not retrain inspect-v3 model), but I am not sure how to convert my own image(JPG) of the directory to tenslfow as new tfrecords (or byte stream?)</p>
  
  <p>I have found some tutorial such as Imageflow (<a href="https://github.com/HamedMP/ImageFlow" rel="nofollow">https://github.com/HamedMP/ImageFlow</a>), but I still don't know how to convert my own massive jpg files on the directory for tensorflow.</p>
  
  <p>Also, is it I need output these my own image directory as a label.txt and image filename.txt etc...?</p>
  
  <p>Thank you very much ! I know this may a stupid question !
  Please, could somebody help me to resolve this question, thank you !!!</p>