title: How to make label.txt from keras model
body: <p>I trained model on keras on two classes. I then converted it into .tflite by this code:</p>
  <pre><code># Converting a SavedModel to a TensorFlow Lite model. 
  saved_model_dir = r'C:\Users\Munib\New folder\my_model.h5' 
  loaded_model = tf.keras.models.load_model(saved_model_dir)
  converter = tf.lite.TFLiteConverter.from_keras_model(loaded_model)# .from_saved_model(saved_model_dir) 
  tflite_model = converter.convert()
  open(&quot;my_model_converted_model.tflite&quot;, &quot;wb&quot;).write(tflite_model)
  
  </code></pre>
  <p>When i studied further on internet on how to import .tflite model on android studio. They said i must have two files:</p>
  <ol>
  <li><p>my_model_converted_model.tflite</p>
  </li>
  <li><p>label.txt</p>
  </li>
  </ol>
  <p>I am now confused on how to make labels from keras can someone tell me Thank you</p>