You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to run step 7 in the tutorial.
This line is giving me an error: from object_detection.builders import model_builder
It throws an error:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-067428168487> in <module>
2 from object_detection.utils import label_map_util
3 from object_detection.utils import visualization_utils as viz_utils
----> 4 from object_detection.builders import model_builder
~/RealTimeObjectDetection/object_detection/builders/model_builder.py in <module>
21 from absl import logging
22
---> 23 from object_detection.builders import anchor_generator_builder
24 from object_detection.builders import box_coder_builder
25 from object_detection.builders import box_predictor_builder
~/RealTimeObjectDetection/object_detection/builders/anchor_generator_builder.py in <module>
21 from __future__ import print_function
22 from six.moves import zip
---> 23 from object_detection.anchor_generators import flexible_grid_anchor_generator
24 from object_detection.anchor_generators import grid_anchor_generator
25 from object_detection.anchor_generators import multiple_grid_anchor_generator
~/RealTimeObjectDetection/object_detection/anchor_generators/flexible_grid_anchor_generator.py in <module>
17 import tensorflow.compat.v1 as tf
18
---> 19 from object_detection.anchor_generators import grid_anchor_generator
20 from object_detection.core import anchor_generator
21 from object_detection.core import box_list_ops
~/RealTimeObjectDetection/object_detection/anchor_generators/grid_anchor_generator.py in <module>
25 from object_detection.core import anchor_generator
26 from object_detection.core import box_list
---> 27 from object_detection.utils import ops
28
29
~/RealTimeObjectDetection/object_detection/utils/ops.py in <module>
26 from six.moves import zip
27 import tensorflow.compat.v1 as tf
---> 28 import tf_slim
29 from object_detection.core import standard_fields as fields
30 from object_detection.utils import shape_utils
**ModuleNotFoundError: No module named 'tf_slim'**
Upon Inspection, I found that tf slim has to be pip installed which I did. But it still throws an error. I am using Tensorflow 2.3 as required in this tutorial. Please help as I am stuck with the inference!
The text was updated successfully, but these errors were encountered:
Hi, I am trying to run step 7 in the tutorial.
This line is giving me an error:
from object_detection.builders import model_builder
It throws an error:
Upon Inspection, I found that tf slim has to be pip installed which I did. But it still throws an error. I am using Tensorflow 2.3 as required in this tutorial. Please help as I am stuck with the inference!
The text was updated successfully, but these errors were encountered: