tensorflow / tensorflow/models

Installation of Object Detection API fails on aarch64

Open
#11,095 6 comments 0 reactions 1 assignee View on GitHub

@laxmareddyp is already working on this.

Since Oct 6, 2023.

models:research type:bug
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.