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