Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added num_keypoints arg to TfExampleDecoder call #7523

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dustindorroh
Copy link

Added num_keypoints arg to TfExampleDecoder call in dataset_builder.py

This arg is already part of the proto spec:

// Number of groundtruth keypoints per object.
optional uint32 num_keypoints = 16 [default = 0];

The default value in TfExampleDecoder is correctly mapped.

class TfExampleDecoder(data_decoder.DataDecoder):
"""Tensorflow Example proto decoder."""
def __init__(self,
load_instance_masks=False,
instance_mask_type=input_reader_pb2.NUMERICAL_MASKS,
label_map_proto_file=None,
use_display_name=False,
dct_method='',
num_keypoints=0,
num_additional_channels=0,
load_multiclass_scores=False):

I believe this may be relevant in #2366 and #4676

This arg is already part of the proto spec
see (research/object_detection/protos/input_reader.proto) and
the default value is correctly mapped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants