Cannot load from object_detection.utils import label_map_util

The last exercise colab in week 2 doenst work…

ImportError Traceback (most recent call last)
in ()
16 import tensorflow as tf
—> 18 from object_detection.utils import label_map_util
19 from object_detection.utils import config_util
20 from object_detection.utils import visualization_utils as viz_utils

4 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/_api/v2/compat/v1/compat/v1/ in ()
158 from tensorflow.python.framework.ops import container
159 from tensorflow.python.framework.ops import control_dependencies
→ 160 from tensorflow.python.framework.ops import convert_to_tensor_v1_with_dispatch as convert_to_tensor
161 from tensorflow.python.framework.ops import device
162 from tensorflow.python.framework.ops import disable_eager_execution

ImportError: cannot import name ‘convert_to_tensor_v1_with_dispatch’ from ‘tensorflow.python.framework.ops’ (/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/

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.

Did you receive any kind of negative feedback when executing the previous cell

You’ll start by installing the Tensorflow 2 Object Detection API…

Also, how long have you been working on this module? It seems there has been an update to some files in this course due to a change in the Colab runtime environment. See for example this internal thread [Install the Object Detection API - #6 by chris.favila]
You might want to try refreshing your notebook. HTH