Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError Encountered When Running TensorFlow Object Detection Training Script #11200

Open
ztkg257 opened this issue May 1, 2024 · 0 comments
Assignees
Labels
models:research models that come under research directory type:bug Bug in the code

Comments

@ztkg257
Copy link

ztkg257 commented May 1, 2024

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

@ztkg257 ztkg257 added models:official models that come under official repository type:bug Bug in the code labels May 1, 2024
@laxmareddyp laxmareddyp added models:research models that come under research directory and removed models:official models that come under official repository labels May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models:research models that come under research directory type:bug Bug in the code
Projects
None yet
Development

No branches or pull requests

2 participants