tensorflow / tensorflow/models

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

Open
#9,273 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

models:research stat:awaiting maintainer 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.

  • [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

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.