MiniDNN
MiniDNN copied to clipboard
Doing inference/prediction only, with weights loaded from a Tensorflow NN
trafficstars
Nice project! Is it possible to do the following:
- Train a CNN with, for example, Tensorflow + Python
- Save the model weights into a file
- Load this weights file from MiniDNN / C++ code, and do prediction/inference only with MiniDNN (no training done with MiniDNN)
How would it be possible to load weights/coefficients of a model pre-trained with Tensorflow, into MiniDNN?
I'd also love to know this answer.
I haven't yet implemented it, but I've also found cppflow , which is a lightweight wrapper for tensorflow, if you're wanting to load a trained model into c++ code to draw inference from.