@Eugenio_Culurciello Could you post a link to your pytorch exporter? Thanks!
1 Like
but looks like things have changed in the pytorch format and this may not work now.
I am not sure what is the best way to convert from pytorch to other framworks
hi,all
I try to get all the parameterâs value to reconstruct the graph in C++ and serve.
I used to get the Parameter Instance by Variable.creatorâs previous_functions, so I can export itâs shape and value.and other attributes in special layer(dropoutâs P for example).
now I update my pytorch from master branch, and use grad_fnâs next_functions instead, but get some XXBackwards stuffs, how could I get the parameter again (eg. the Linear Layersâ weight and bias value)
tks
Hello can I doing something like this?
- I am creating CNN network and model which is trained in Pytorch (this is static with the fixed size and fixed number of layer)
- Then in deploying process, I am using C/C++ language to load the model and code the network so it can be run in C
So just the deploying part is in C/C++, the train is in Pytorch, and can I also do it in windows?, If it possibly done, may I know the starting point to learn it, because I really new in this kind of stuff.
-Thank you-
1 Like
This might be useful:
6 Likes