ImportError Encountered When Running TensorFlow Object Detection Training Script

Abierto
#11,200 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@laxmareddyp ya está trabajando en esto.

Desde el 1/5/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

models:research type:bug

1. The entire URL of the file you are using

https://github.com/tensorflow/models.git

2. Describe the bug

When running the command " python -m object_detection.model_main_tf2 model_dir=../../workspace/training_demo/training_demo/models/my_ssd_resnet50_v1_fpn/pipeline.config"
I encounter an import error. The specific error message is not provided, but it results in an ImportError. I expect the command to execute without errors and begin training the object detection model.

tensorflow_bug

3. Expected Behavior

I expect the command to execute successfully, initiating the training process for the object detection model specified by the provided pipeline configuration file.

4. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): AMI Name: Deep Learning OSS Nvidia Driver AMI GPU TensorFlow 2.15 (Ubuntu 20.04)

  • TensorFlow installed from (source or binary): pip install tensorflow

  • TensorFlow version (use command below): 2.16.1

  • Python version: 3.10.13

  • NVIDIA driver version: 535.161.08

  • CUDA versions available: cuda-12.2

  • EC2 server instance type: g4dn.xlarge

  • GPU model and memory: Tesla T4 and 16GB

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.