xxradon / PytorchToCaffe

Pytorch model to caffe model, supported pytorch 0.3, 0.3.1, 0.4, 0.4.1 ,1.0 , 1.0.1 , 1.2 ,1.3 .notice that only pytorch 1.1 have some bugs
MIT License
783 stars 224 forks source link

caffe.PoolingParameter has no field named ceil_mode #54

Open 2ashish opened 4 years ago

2ashish commented 4 years ago

I generated prototxt and caffemodel for my own network but while running verify_deploy.py i am getting the following error: caffe.PoolingParameter has no field named ceil_mode

I installed caffe in an environment using conda Pytorch 1.2.0 Python 3.5.7

Any help is appreciated

wanghanyang123 commented 4 years ago

you should delete "ceil_mode" in prototxt, beacause Caffe dont support it