Tenserflow for object detection

Hey guys…I was installing tenserflow and now i am getting this error during verification

2024-05-14 13:13:43.192830: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-05-14 13:13:43.703192: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Traceback (most recent call last):

  • File “C:\Projects\Tenserflow Object Detection\TFODCourse\Tensorflow\models\research\object_detection\builders\model_builder_tf2_test.py”, line 24, in *
  • from object_detection.builders import model_builder*
  • File “C:\Projects\Tenserflow Object Detection\TFODCourse\tfod\Lib\site-packages\object_detection\builders\model_builder.py”, line 20, in *
  • from object_detection.builders import anchor_generator_builder*
  • File “C:\Projects\Tenserflow Object Detection\TFODCourse\tfod\Lib\site-packages\object_detection\builders\anchor_generator_builder.py”, line 21, in *
  • from object_detection.protos import anchor_generator_pb2*
    ImportError: cannot import name ‘anchor_generator_pb2’ from ‘object_detection.protos’ (C:\Projects\Tenserflow Object Detection\TFODCourse\tfod\Lib\site-packages\object_detection\protos_init_.py)

Hi @KRITHICK, While installing the tensorflow object detection API please make sure that you have this code line protoc object_detection/protos/*.proto --python_out=. . Thank You.