tensorflow / tensorflow/models

Typo in pipeline.config (in .tar.gz) of Mask R-CNN Inception ResNet V2 1024x1024 model

Open
#9,546 3 comments 11 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Dec 10, 2020.

models:research:odapi type:bug
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

In the pipeline.config file of the Mask R-CNN Inception ResNet V2 1024x1024 there is an extra 's' placed.

See:


eval_input_reader: {
  [...]
  tf_record_input_reader {
    input_path: "PATH_TO_BE_CONFIGURED"s
  }
  [...]
}

Programmatically changing this config with, for example:

with tf.io.gfile.GFile(pipeline_config_path, "r") as f:
  proto_str = f.read()
  text_format.Merge(proto_str, pipeline_config)

Will result in the following error: google.protobuf.text_format.ParseError: 153:40 : Message type "object_detection.protos.TFRecordInputReader" has no field named "s".

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.