2

I am using both Torch and Caffe for deep learning. I wonder if there is a way to output nn model into caffemodel file. It may involve protobuf, which I am not familiar with.

It is kinda easy for the other way, where there are libraries to read caffemodel file into torch.

Shai
  • 111,146
  • 38
  • 238
  • 371
Jarvis Du
  • 379
  • 1
  • 4
  • 15
  • I am not familiar with torch. but there is a straight forward way to read caffe models to python. Would you be able to take data from python into torch? – Shai Jun 18 '15 at 05:19
  • @Shai I indeed can play with h5 and t7 files for conversion. – Jarvis Du Jun 18 '15 at 13:03
  • are there layers that exists in t7 and not in caffe? I suspect there are... what about these types of layers? – Shai Jun 18 '15 at 13:06
  • @Shai Don't think so. I think the structure should be all the same if they are based on the same model. – Jarvis Du Jun 23 '15 at 17:28
  • you might find the links in [this answer](http://stackoverflow.com/a/33847461/1714410) useful. – Shai Nov 23 '15 at 07:14

0 Answers0