caffe2_cpp_tutorial
caffe2_cpp_tutorial copied to clipboard
C++ transcripts of the Caffe2 Python tutorials and other C++ example code
Hi, when I build this tutorial, I failed due to download_resource hasn't make_mnist_db command. Any idea? Thanks! $ make -- Configuring done -- Generating done -- Build files have been...
I generate pb with caffe2 python api, which is ok when test, but i can't load model in c++ caffe2, plz help me, my load code as follows `namespace caffe2...
Hi, I'm running into an issue with set_device_type. Any ideas please? [ 7%] Building CXX object CMakeFiles/caffe2_cpp.dir/src/caffe2/util/model.cc.o /home/tliu/Dev/caffe2_cpp_tutorial/src/caffe2/util/model.cc: In member function ‘void caffe2::ModelUtil::AddIterOps()’: /home/tliu/Dev/caffe2_cpp_tutorial/src/caffe2/util/model.cc:81:28: error: no matching function for call...
I would like to create a custom multi - dimensional convolution operator using gemm functions in the math_cpu.cpp source code. Would it be enough to just create an op.cc and...
Hi all, I am getting 2 errors during building solution. I checked the header file tensor.h and I saw the following: /** * @brief Delete the copy constructor and use...
Thank you for this caffe2 cpp tutorial. I encountered following error when compiling this code (```make```). ``` /home/user/Desktop/caffe2_cpp_tutorial/src/caffe2/util/blob.cc: In member function ‘caffe2::TensorCPU caffe2::BlobUtil::Get()’: /home/user/Desktop/caffe2_cpp_tutorial/src/caffe2/util/blob.cc:16:31: error: use of deleted function ‘caffe2::Tensor::Tensor(const...
Thanks for a great resource! Are you considering making a version of the create Your Own Dataset Tutorial? https://github.com/caffe2/tutorials/blob/master/create_your_own_dataset.ipynb - Rasmus
Hi all, can I run these tutorials on windows 10? How can I install the dependencies for c++? I have installed them but only for Python 2.7.
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...
I changed detectron pkl model to caffe2 pb model, errors happened when called CAFFE_ENFORCE(workspace.CreateNet(model.predict.net)); in imagenet.cc terminate called after throwing an instance of 'caffe2::EnforceNotMet' what(): [enforce fail at operator.cc:185] op....