How to load caffe models in pytorch
Thanks a lot!
kirk86
apaszke
kirk86
Not anytime soon I’m afraid. There are a lot of high priority tasks.
apaszke
But it should be quite simple for someone to add that. You just need to read protobufs and translate graphs into modules.
apaszke
gotcha ya. Thanks a lot for the suggestions.
kirk86
xiaoxing_zeng
apaszke
sunitha_kanuri
Neo_li
Good evening, Following your advice apaszke, I downloaded loadcaffe, and transformed the caffe model + prototxt file into a model.t7 file. The model which gets created is: When I try to use torch.utils.serialization.load_lua(‘imdb.t7’) the result is that the .t7 model is corrupted. As such, I was hoping to get some guidance. Here is the error code: Thank you for your time! Similarly, Neo_li’s solution is not working.
aadharna