Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/361.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

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
Python model.predict_类用于非顺序模型_Python_Tensorflow_Keras_Deep Learning_Computer Vision - Fatal编程技术网

Python model.predict_类用于非顺序模型

Python model.predict_类用于非顺序模型,python,tensorflow,keras,deep-learning,computer-vision,Python,Tensorflow,Keras,Deep Learning,Computer Vision,我想预测vgg16网络的_类。当我编译custom\u vgg\u model.predict\u classes() 然后我得到以下错误: AttributeError:“模型”对象没有“预测类”属性 在序列模型中,当我使用模型时,它运行良好。预测类(x)但是如何预测vgg16的类 谢谢您找到问题的答案了吗?我也有同样的问题。。

我想预测vgg16网络的_类。当我编译
custom\u vgg\u model.predict\u classes()
然后我得到以下错误:

AttributeError:“模型”对象没有“预测类”属性

在序列模型中,当我使用
模型时,它运行良好。预测类(x)
但是如何预测vgg16的类


谢谢

您找到问题的答案了吗?我也有同样的问题。。