Bug when do "from object_detection.utils import label_map_util"

Abierto
#11,127 1 comentario 0 reacciones 1 asignado Ver en GitHub

@laxmareddyp ya está trabajando en esto.

Desde el 7/12/2023.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

models:research type:bug

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

Lenguaje dominante
Python
Estrellas
77.6k
Forks
44.8k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tensorflow/models

Todos los issues de tensorflow/models

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.