Keras_利用VGG16提取图片特征
首先看看keras官网的代码:使用 VGG16 提取特征from keras.applications.vgg16 import VGG16from keras.preprocessing import imagefrom keras.applications.vgg16 import preprocess_inputimport numpy as npmodel = VGG16(weights='imagenet', include_top=False)img_path = 'eleph
原创
2020-11-27 14:50:36 ·
5579 阅读 ·
1 评论