The last exercise colab in week 2 doenst work…
ImportError Traceback (most recent call last)
in ()
16 import tensorflow as tf
17
—> 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/init.py 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/ops.py)
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.