tensorflow / tensorflow/models
ImportError Encountered When Running TensorFlow Object Detection Training Script
@laxmareddyp is already working on this.
Since May 1, 2024.
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
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.
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.