soeaver / caffe-model

Caffe models (including classification, detection and segmentation) and deploy files for famouse networks
MIT License
1.28k stars 626 forks source link

Converting keras models to Caffe models #53

Open szm-R opened 6 years ago

szm-R commented 6 years ago

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.

soeaver commented 6 years ago

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.

zhujiapeng commented 6 years ago

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?

soeaver commented 6 years ago

@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

zhujiapeng commented 6 years ago

@soeaver 蟹蟹!