site-packages\tensorflow\python\client\session.py", line 1367, in _call_tf_sessionrun run_metadata)tensorflow.python.framework.errors_impl.NotFoundError...tensorflow\python\client\session.py", line 1308, in _do_call raise type(e)(node_def, op, message)tensorflow.python.framework.errors_impl.NotFoundError...tensorflow\python\framework\errors_impl.py", line 526, in __exit__ c_api.TF_GetCode(self.status.status))tensorflow.python.framework.errors_impl.NotFoundError...training\saver.py", line 1554, in restore err, "a Variable name or other graph key that is missing")tensorflow.python.framework.errors_impl.NotFoundError
多了一行代码: import tensorflow.contrib.tensorrt as trt 加入这行import语句,告诉tensorflow使用TensorRT框架,否则的话,会出现如下错误: tensorflow.python.framework.errors_impl.NotFoundError
再次运行步骤4的tfds.load('mnist')的代码 手动下载数据集并放到正确位置后,url错误消失,但出现新的错误,仍然无法成功load数据集: tensorflow.python.framework.errors_impl.NotFoundError
领取专属 10元无门槛券
手把手带您无忧上云