Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Machine learning 使用TensorFlow.pb图作为Keras模型_Machine Learning_Tensorflow_Keras - Fatal编程技术网

Machine learning 使用TensorFlow.pb图作为Keras模型

Machine learning 使用TensorFlow.pb图作为Keras模型,machine-learning,tensorflow,keras,Machine Learning,Tensorflow,Keras,我已经使用内置的TensorFlow工具对InceptionV3模型的最后几层进行了微调,以便通过使用对自定义数据集上的项进行分类。这将生成一系列瓶颈和一个TensorFlow图(*.pb文件) 我想将*.pbtf图导入到Keras中,就像使用包含模型权重的*.hdf5文件一样。原因是,在使用这个模型时,我想利用一些用Keras编写的工具 这可能吗?自2017年7月起,Keras只能导入Keras模型,而不能导入原始tf图。这是因为Keras有一些元数据,而这些元数据本身并不是tf图的一部分,并

我已经使用内置的TensorFlow工具对InceptionV3模型的最后几层进行了微调,以便通过使用对自定义数据集上的项进行分类。这将生成一系列瓶颈和一个TensorFlow图(*.pb文件)

我想将*.pbtf图导入到Keras中,就像使用包含模型权重的*.hdf5文件一样。原因是,在使用这个模型时,我想利用一些用Keras编写的工具


这可能吗?

自2017年7月起,Keras只能导入Keras模型,而不能导入原始tf图。这是因为Keras有一些元数据,而这些元数据本身并不是tf图的一部分,并且不容易重建。

问题很好+还是这样吗?谢谢是的,这仍然是cae