0
$\begingroup$

I've trained a model to recognize some captchas and the model is doing great. I've trained it using this tutorial (actually I just stole the code, tweaked it and run :) ). Now, I'd like to export it and use in my C++ project with OpenCV.

I've googled around and understood that I need to convert my model to something other than .keras model. Perhaps it should be ONNX, but it is not very clear to me how will it work, as the code I mentioned uses custom layer (CTCLayer), which required @keras.saving.register_keras_serializable() to be able to save it, but I cannot re-load the model even using TF without the class and its dependencies (loss function and stuff) present. Maybe I'm saving it wrong?

$\endgroup$
1
  • $\begingroup$ Programming questions are generally off-topic here. See our on-topic page: ai.stackexchange.com/help/on-topic $\endgroup$ Commented Jul 12 at 15:07

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.