!pip install tflite-model-maker
import numpy as np
import os
from tflite_model_maker.config import ExportFormat
from tflite_model_maker import model_spec
from tflite_model_maker import object_detector
import tensorflow as tf
assert tf.version.startswith(‘2’)
tf.get_logger().setLevel(‘ERROR’)
from absl import logging
logging.set_verbosity(logging.ERROR)
for above code below error is showing
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 6>()
4 import os
5
----> 6 from tflite_model_maker.config import ExportFormat
7 from tflite_model_maker import model_spec
8 from tflite_model_maker import object_detector
ModuleNotFoundError: No module named ‘tflite_model_maker’
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
“Open Examples” button below.