tensorflow / tensorflow/models

AttributeError: 'EnumTypeWrapper' object has no attribute 'TF_SEQUENCE_EXAMPLE'

Open
#8,586 7 comments 1 reaction 3 assignees View on GitHub

@pkulzc is already working on this.

Since May 28, 2020.

models:research:odapi 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.

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

1. The entire URL of the file you are using

https://github.com/tensorflow/models/blob/master/research/object_detection/inputs_test.py

2. Describe the bug

Not able to run the model training. Tried running input test file but failed with 11 errors.
AttributeError: 'EnumTypeWrapper' object has no attribute 'TF_SEQUENCE_EXAMPLE'
NameError: name 'context_rcnn_meta_arch' is not defined

3. Steps to reproduce

Installed the new version following the steps as in
https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md

Tested the installation with below command and its success.
python object_detection/builders/model_builder_tf1_test.py

4. Expected behavior

Model should run without any issues

5. Additional context

Attached test output logs.
model_builder_test_logs.log
input_test_error_logs.log

Include any logs that would be helpful to diagnose the problem.

6. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
  • Mobile device name if the issue happens on a mobile device:
  • TensorFlow installed from (source or binary): pip install
  • TensorFlow version (use command below): v1.15.0-rc3-22-g590d6ee 1.15.0
  • Python version: Same issue in both 2 and 3
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version:
  • GPU model and memory:
('v1.15.0-rc3-22-g590d6ee', '1.15.0')

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.