caffe2_cpp_tutorial
caffe2_cpp_tutorial copied to clipboard
[question] loading ONNX models
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
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.
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.