ImportError Encountered When Running TensorFlow Object Detection Training Script

Aperta
#11,200 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@laxmareddyp ci sta già lavorando.

Dal 1/5/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
Python
Stelle
77.6k
Fork
44.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tensorflow/models

Tutte le issue di tensorflow/models

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.