@Eugenio_Culurciello Could you post a link to your pytorch exporter? Thanks!
see https://github.com/mvitez/thnets/, it is included there
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
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)
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.
This might be useful: