gosha20777 / keras2cpp

it's a small library for running trained Keras 2 models from a native C++ code.
MIT License
183 stars 54 forks source link

How to convert image to keras2cpp::Tensor? (Not really an Issue but a question) #10

Closed oktonion closed 5 years ago

oktonion commented 5 years ago

I have a trained sample model from there that is converted to unknown keras2cpp_cool_format (???) with keras2cpp.export_model. Then I'm stuck with simple task of importing the image in input keras2cpp::Tensor to get the output keras2cpp::Tensor from the keras2cpp::Model.