-
1 votesanswersviews
AttributeError:'str'对象没有属性'ndim',无法使用model.predict()
我试图以与here类似的方式制作一个Image Captioning模型 我使用ResNet50而不是VGG16,还必须通过model.fit_generator()方法使用渐进加载 . 我使用了here中的ResNet50,当我通过设置include_top = False导入它时,它给了我{'key':[[[[value1,value2,.... value 2048]]]]}形状的照片功能,...