ImportError Encountered When Running TensorFlow Object Detection Training Script

オープン
#11,200 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@laxmareddyp がすでに取り組んでいます。

2024年5月1日 から。

評価

この issue はまだ評価されていません。

説明

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

主要言語
Python
スター
77.6k
フォーク
44.8k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tensorflow/models のほかの issue

tensorflow/models の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。