Hello,
I wanted to fill an issue on github but I found this link so I am asking my question here. As the caffe2 library now leaves in the pytorch directory on github I thought that you could have answers for me even if it is a pytorch forum.
I am currently working with caffe2 in c++ and I get an error when loading different pre-trained models: Blob data not in the workspace. I searched on internet and found a fix. It consists in creating a blob called “data” and initializing it with random numbers before running the models. However, I don’t find the way to do it in c++. Indeed, there is a function in python called “FeedBlob” in the “class” workspace that does not exist in c++ (I think). I looked into the caffe 2 files (workspace.h, blob.h…) but I did not find anything to modify a blob in a workspace (I can create one, delete one but not modifying it).
Should I post this on github as it seems to be only a pytorch forum? Does someone know how to fix the original error in c++? Is there a way to modify this blob in c++ that I did not find?