【发布时间】:2017-08-17 02:33:04
【问题描述】:
我正在尝试构建一个模型来检测图像中的多个属性。
我使用的是预训练的 Inception V3 模型。我知道我们必须将最终的 softmax 层更改为 sigmoid。
我正在加载模型如下:
with slim.arg_scope(inception.inception_v3_arg_scope()):
logits, _ = inception.inception_v3(images, num_classes=numClass, is_training=True)
现在如何将 softmax 层更改为 sigmoid?
【问题讨论】:
-
这个帖子可能会有所帮助:github.com/tensorflow/skflow/issues/113
标签: tensorflow multilabel-classification tf-slim