What is this? Have a great god can help me with?
If you delete coord=tf. "train". The Coordinator ()
Threads=tf. Train. Start_queue_runners (coord=coord)
The card in the img, label=sess. Run ([image_batch label_batch]) why is this?
Spyder has been run, there is no results, what is this?
CodePudding user response:
Hello, your problem solved, I also stuck in here nowCodePudding user response:
I met and is also a small white, you the same question, now solved, you can try the threads=tf. Train. Start_queue_runners (sess=sess, coord=coord)If not, may own data storage problems, to store the image, first for formatting the picture processing,
Img=Image. Open (img_path)
Img=img. Resize ((28, 28), Image. The ANTIALIAS)
Img=img. Convert (' L ') # into grayscale
Img_raw=img. Tobytes ()
Then open the thread
Coord=tf. Train. The Coordinator ()
Threads=tf. Train. Start_queue_runners (sess=sess, coord=coord)
Should be ok