tensorflow / tensorflow/models
ImportError: cannot import name 'anchor_generator_pb2' from 'object_detection.protos'
Open
@laxmareddyp is already working on this.
Since Aug 6, 2023.
models:research
type:support
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
When i run the verification script i get this error
Traceback (most recent call last):
File "D:\TFODCourse\Tensorflow\models\research\object_detection\builders\model_builder_tf2_test.py", line 24, in
from object_detection.builders import model_builder
File "D:\tfod\Lib\site-packages\object_detection\builders\model_builder.py", line 20, in
from object_detection.builders import anchor_generator_builder
File "D:\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' (D:\tfod\Lib\site-packages\object_detection\protos\__init__.py)
Kindly help me to fix this error i've used to many issues on github to solve this error but im not able to solve this error


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.