Uncategorized

How do I take a machine learning model that I trained in Python, and saved with Pickle, and run it as a prediction model in C++?


I have a machine learning model which I trained in Python, and I need to preferably turn the model into a dll which can be run in C++. I’m hoping that maybe there’s a C++ package that reads pickle, or some other Python/C++ library that can share machine learning models for predictions.

I found this library called Pickling tools which is supposed to be for cross communication between Python and C++, and the tagline is “How can I pickle in C++?” but I’m having trouble finding the part on just taking my pickle and shoving it into C++.

http://www.picklingtools.com/html/usersguide.html



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *