In Tensorflow how to freeze saved model
This is probably a very basic question... But how do I convert checkpoint files into a single .pb file. My goal is to serve the model using probably C++ These are the files that I'm trying to convert. As a side note I'm using tflearn with tensorflow. Edit 1: I found an article that explains how to do this: https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc The problem is that I'm stuck with the following error KeyError: "The name 'Adam' refers to an Operation not in the graph." How do I fix this? Edit 2: Maybe this will shed some light on the