tensorflow / tensorflow/models
Installation of Object Detection API fails on aarch64
@laxmareddyp is already working on this.
Since Oct 6, 2023.
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- I am using the latest TensorFlow Model Garden release and TensorFlow 2.
- I am reporting the issue to the correct repository. (Model Garden official or research directory)
- I checked to make sure that this issue has not been filed already.
1. The entire URL of the file you are using
I am following the instruction here: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tensorflow-object-detection-api-installation and also reviewed the documentation here at: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2.md
2. Describe the bug
At the pip install instruction I get an AttributeError: cython_sources
Version of some packages I use that I seen recommended:
- PyYaml = 6.0.0
- cython: 0.29.36
- Despite having pip 23.2.1 the option --use-feature 2020-resolver returns an error of an invalid value for the option
3. Steps to reproduce
git clone https://github.com/tensorflow/models.git
cd models/research
protoc object_detection/protos/*.proto --python_out=.
cp object_detection/packages/tf2/setup.py .
python -m pip install
4. Expected behavior
Installation to be successful.
5. Additional context
Include any logs that would be helpful to diagnose the problem.
6. System information
-
Linux Ubuntu 22.04 on aarch64:
-
TensorFlow installed from source: Source
-
TensorFlow version (use command below): 2.14.0-rc1 ( from command v2.14.0-rc1-0-gdd01672d9a9 2.14.0-rc1)
-
Python version: 3.10.12
-
Bazel version - 1.18.0 (from https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/bazelisk-linux-arm64)
-
GCC/Compiler version (if compiling from source): 11.4.0
-
CUDA/cuDNN version: -
-
GPU model and memory: -
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.