Skip to content

Recieving "AttributeError: densepose_estimation_task" on "python object_detection/builders/model_builder_tf2_test.py" #9273

@philippds

Description

@philippds

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [y] I am using the latest TensorFlow Model Garden release and TensorFlow 2.
  • [y] I am reporting the issue to the correct repository. (Model Garden official or research directory)
  • [y] I checked to make sure that this issue has not been filed already.

1. The entire URL of the file you are using

git clone https://github.com/tensorflow/models.git

2. Describe the bug

...
INFO:tensorflow:time(main.ModelBuilderTF2Test.test_unknown_ssd_feature_extractor): 0.0s
I0920 21:31:42.006823 2992 test_util.py:1973] time(main.ModelBuilderTF2Test.test_unknown_ssd_feature_extractor): 0.0s
[ OK ] ModelBuilderTF2Test.test_unknown_ssd_feature_extractor

ERROR: test_create_center_net_model (main.ModelBuilderTF2Test)
ModelBuilderTF2Test.test_create_center_net_model
Test building a CenterNet model from proto txt.

Traceback (most recent call last):
File "object_detection/builders/model_builder_tf2_test.py", line 220, in test_create_center_net_model
config.center_net.densepose_estimation_task.CopyFrom(
AttributeError: densepose_estimation_task

Ran 20 tests in 1.889s

FAILED (errors=1, skipped=1)

3. Steps to reproduce

python object_detection/builders/model_builder_tf2_test.py

4. Expected behavior

When I test my installation I unfortunately receive the error above.

5. Additional context

6. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
  • Mobile device name if the issue happens on a mobile device: -
  • TensorFlow installed from (source or binary): source
  • TensorFlow version (use command below): 2.3.0 (I believe)
  • Python version: 3.7
  • Bazel version (if compiling from source): -
  • GCC/Compiler version (if compiling from source): -
  • CUDA/cuDNN version: release 11.0, V11.0.221
  • GPU model and memory: GeForce GTX 980, 4096 MB

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions