tensorflow / tensorflow/models
Bug when do "from object_detection.utils import label_map_util"
@laxmareddyp is already working on this.
Since Dec 7, 2023.
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [ yes] I am using the latest TensorFlow Model Garden release and TensorFlow 2.
- [ yes] I am reporting the issue to the correct repository. (Model Garden official or research directory)
- [ yes] I checked to make sure that this issue has not already been filed.
1. The entire URL of the file you are using
https://github.com/tensorflow/models/research/object_detection/utils
2. Describe the bug
When we do the "from object_detection.utils import label_map_util" inside the notebook "object_detection_tutorial", we encouter this issue : cannot import name 'string_int_label_map_pb2' from 'object_detection.protos'
This issue is it right because inside folder "protos", the name of file is 'string_int_label_map_pb' not 'string_int_label_map_pb2' .
3. Steps to reproduce
Try to run step by step the notebook ""object_detection_tutorial"
4. Expected behavior
Change import of "'string_int_label_map_pb2' inside file "label_map_util" by "'string_int_label_map_pb'
5. Additional context
RAS
6. System information
Google Colab
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.