perhaps your file is in a different file format and youneed to use a different restore operator?
报错:tensorflow.python.framework.errors_impl.DataLossError:Unabletoopentablefile/home/wpq/data/model.ckpt.data-00000-of-00001:Dataloss:notansstable(badmagicnumber):perhapsyourfileisinadifferentfileforma