caffe-model icon indicating copy to clipboard operation
caffe-model copied to clipboard

Converting keras models to Caffe models

Open szm-R opened this issue 6 years ago • 4 comments

Hi Sorry if the question is a little irrelevant, but I'm really stuck. How did you convert the keras models to Caffe models? Can you guide me to the right piece of code or converter? Thank you.

szm-R avatar Oct 20 '17 09:10 szm-R

Sorry for the keras converter, I can't find the code. There is no trick for me to convert a model for any source to caffe. I load the weight from the source model and write to the target caffe model based on an accurate deploy.prototxt. It requires patience and caution.

soeaver avatar Oct 20 '17 15:10 soeaver

Hi Where can I find the pre-trained caffemodel for inception-v4? I found the input size of inception-v4 is 299299, but my image set data is 256256, I don't have the space on my computer to convert it again. So could you please help me?

zhujiapeng avatar Oct 26 '17 10:10 zhujiapeng

@zhujiapeng You can find the download urls here https://github.com/soeaver/caffe-model/tree/master/cls. And the input size problem please check https://github.com/soeaver/caffe-model/issues/11

soeaver avatar Oct 26 '17 10:10 soeaver

@soeaver 蟹蟹!

zhujiapeng avatar Oct 26 '17 11:10 zhujiapeng