I am trying to input nude detection feature for my app using tensorflow lite.
I found a data set that suitable for my integration. But I have zero experience on python and and tensorflow. Now I need to convert this file into tflite. I used colab as a tool. and this is what i tried on the tool, But it did not work.
import tensorflow as tf
converter = tf.lite.TFLiteConverter.from_saved_model("classifier.py")
tflite_model = converter.convert()
with open('model.tflite', 'wb') as f:
f.write(tflite_model)
I need help to convert this file to tflite