8000 The problem of protobuf · Issue #10 · thatbrguy/Pedestrian-Detection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
The problem of protobuf #10
Open
Open
@ericosmic

Description

@ericosmic

I run the train.py by python3 , and meet the below error. I try transfer the string into bytes, but it no work. so have anyone have any advice.

Traceback (most recent call last):
File "object_detection/train.py", line 53, in
from builders import model_builder
File "/wangpdm/Pedestrian-Detection/object_detection/builders/model_builder.py", line 17, in
from builders import anchor_generator_builder
File "/wangpdm/Pedestrian-Detection/object_detection/builders/anchor_generator_builder.py", line 20, in
from protos import anchor_generator_pb2
File "/wangpdm/Pedestrian-Detection/object_detection/protos/anchor_generator_pb2.py", line 16, in
from protos import grid_anchor_generator_pb2 as object__detection_dot_protos_dot_grid__anchor__generator__pb2
File "/wangpdm/Pedestrian-Detection/object_detection/protos/grid_anchor_generator_pb2.py", line 22, in
serialized_pb=_b('\n3object_detection/protos/grid_anchor_generator.proto\x12\x17 protos"\xcd\x01\n\x13GridAnchorGenerator\x12\x13\n\x06height\x18\x01 \x01(\x05:\x03\x32\x35\x36\x12\x12\n\x05width\x18\x02 \x01(\x05:\x03\x32\x35\x36\x12\x19\n\rheight_stride\x18\x03 \x01(\x05:\x02\x31\x36\x12\x18\n\x0cwidth_stride\x18\x04 \x01(\x05:\x02\x31\x36\x12\x18\n\rheight_offset\x18\x05 \x01(\x05:\x01\x30\x12\x17\n\x0cwidth_offset\x18\x06 \x01(\x05:\x01\x30\x12\x0e\n\x06scales\x18\x07 \x03(\x02\x12\x15\n\raspect_ratios\x18\x08 \x03(\x02')
File "/usr/local/lib/python3.6/dist-packages/google/protobuf/descriptor.py", line 879, in new
return _message.default_pool.AddSerializedFile(serialized_pb)
TypeError: Couldn't parse file content!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0