def model(self, preprocessed, featurize):
# Model provided by Keras. All cotributions by Keras are provided subject to the
# MIT license located at https://github.com/fchollet/keras/blob/master/LICENSE
# and subject to the below additional copyrights and licenses.
#
# Copyright 2014 Oxford University
#
# Licensed under the Creative Commons Attribution License CC BY 4.0 ("License").
# You may obtain a copy of the License at
#
# https://creativecommons.org/licenses/by/4.0/
#
return vgg16.VGG16(input_tensor=preprocessed, weights="imagenet",
include_top=(not featurize))
keras_applications.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录