caffe2_cpp_tutorial icon indicating copy to clipboard operation
caffe2_cpp_tutorial copied to clipboard

[question] loading ONNX models

Open alexge233 opened this issue 6 years ago • 2 comments

Hi Leonard,

Did you by any chance play with the new ONNX models, using C++? Seeing how caffe2 has moved into PyTorch and how a lot of top dogs are pushing towards ONNX I think it would be very useful. I have googled around but didn't find anything in C++, only a few python examples. Not even sure if onnx-caffe2 is built in (seems to have been merged into caffe2) or not.

Best regards, Alex

alexge233 avatar Jun 11 '18 09:06 alexge233

Hi Alex,

It look like onnx is now part of caffe2. I agree, it would be a good addition to the project. Currently I'm not actively developing in caffe2, but I'm happy to merge support for onnx. There seems to be a solid c++ base implementation in the main onnx repo.

leovandriel avatar Jun 12 '18 16:06 leovandriel

Ok, I'll have a look at their code and see if there is an example to be written. I'm playing with pytorch atm but I'm still interested in the c++ side of it.

alexge233 avatar Jun 13 '18 12:06 alexge233