object_detection package install fails

Đang mở
#13,558 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python, tensorflow
Lĩnh vực
build-system

Hướng nghiên cứu

Bắt đầu với research/object_detection/packages/tf2/setup.py và tái hiện quá trình cài đặt theo các bước Google Colab được cung cấp. Sau đó chạy object_detection/builders/model_builder_tf2_test.py để xác nhận lỗi dependency và kiểm tra rằng quá trình cài đặt thành công mà không gặp lỗi protobuf đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

models:research type:bug

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 already been filed.

1. The entire URL of the file you are using

https://github.com/tensorflow/models/blob/master/research/object_detection/packages/tf2/setup.py

2. Describe the bug

Setup for object_detection package fails because of incompatible dependencies, even in simple colab with errors of:

TypeError: Descriptors cannot be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.

3. Steps to reproduce

cd models/research/
protoc object_detection/protos/*.proto --python_out=.
cp object_detection/packages/tf2/setup.py .
python -m pip install .

python /content/models/research/object_detection/builders/model_builder_tf2_test.py

https://colab.research.google.com/drive/1krnCXwHeRqROVrXn55_wtHm5NWydJnXk#scrollTo=u3-XpvyWiCSB

6. System information

default google colab notebook like following:
https://colab.research.google.com/drive/1krnCXwHeRqROVrXn55_wtHm5NWydJnXk#scrollTo=u3-XpvyWiCSB

Ngôn ngữ chính
Python
Star
77.6k
Fork
44.8k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tensorflow/models

Tất cả issue của tensorflow/models

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.