【发布时间】:2017-02-28 12:59:22
【问题描述】:
我想在 VGG16 模型中添加一个新的 python 层,但似乎是 Python 层does not support old layer definition "layers",我想使用使用带有“层”的 prototxt 训练的预训练 VGG16 caffemodel,但它不能使用在带有“层”的 prototxt 中。那么是否有任何转换caffemodal,使其适用于“层”?
【问题讨论】:
我想在 VGG16 模型中添加一个新的 python 层,但似乎是 Python 层does not support old layer definition "layers",我想使用使用带有“层”的 prototxt 训练的预训练 VGG16 caffemodel,但它不能使用在带有“层”的 prototxt 中。那么是否有任何转换caffemodal,使其适用于“层”?
【问题讨论】:
只需使用tools/upgrate_net_proto_text将“layers”转换为“layer”,caffemodel就可以同时使用了。
【讨论】: