DataLossError (see above for traceback): Unable to open table file C:\training\train.\bvlc_alexnet.ckpt: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
[[node save_9/RestoreV2 (defined at C:/training/train/validate_image.py:26) ]]
当你出现这个问题时不要惊慌,不要心急,忧郁的日子里需要镇静,相信吧快乐的日子总会来临。因为saver.restore(sess, ‘C:/training/train./bvlc_alexnet’)这个函数的API改了,路径后加./进行。另外后面是模型的名字bvlc_alexnet而不需要加.ckpt类似的东西。好了再见伙计们!!!