PaddlePaddle / models

Officially maintained, supported by PaddlePaddle, including CV, NLP, Speech, Rec, TS, big models and so on.
Apache License 2.0
6.91k stars 2.91k forks source link

caffe2fluid报错Error encountered: Unknown layer type encountered: Crop #1083

Open iMuduo opened 6 years ago

iMuduo commented 6 years ago

python convert.py imagenet_resnet_v1_50.prototxt --caffemodel imagenet_resnet_v1_50.caffemodel --data-output-path imagenet_resnet_v1_50.npy -- code-output-path imagenet_resnet_v1_50.py

执行命令后报crop layer无法识别

qingqing01 commented 6 years ago

https://github.com/PaddlePaddle/models/tree/develop/fluid/image_classification#supported-models-and-performances

这里提供了Fluid训练的ResNet 50模型,欢迎使用。

walloollaw commented 6 years ago

有更详细的出错信息么?@iMuduo

另外,请确认是用的最新版本转换工具

Renwb1991 commented 6 years ago

@iMuduo crop 问题已修复,具体请参考 caffe2fluid: support crop and reduction layer convertion #1145 目前已经merge,可以更新下代码,重新试下。

nizihan commented 5 years ago

有更详细的出错信息么?@iMuduo

另外,请确认是用的最新版本转换工具

楼主,请问您用caffe2fluid转出来的是model params文件吗,这些文件怎么在训练时加载?