You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
Traceback (most recent call last):
File "table/predict_structure.py", line 207, in
main(parse_args())
File "table/predict_structure.py", line 171, in main
table_structurer = TableStructurer(args)
File "table/predict_structure.py", line 97, in init
) = utility.create_predictor(args, "table", logger)
File "L:\paddle\PaddleOCR-2.8.1\tools\infer\utility.py", line 304, in create_predictor
predictor = inference.create_predictor(config)
ValueError: (InvalidArgument) Failed to parse program_desc from binary string.
[Hint: Expected desc_.ParseFromString(binary_str) == true, but received desc_.ParseFromString(binary_str):0 != true:1.] (at ..\paddle\fluid\framework\program_desc.cc:103)
Environment
win10
Minimal Reproducible Example
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
Traceback (most recent call last):
File "table/predict_structure.py", line 207, in
main(parse_args())
File "table/predict_structure.py", line 171, in main
table_structurer = TableStructurer(args)
File "table/predict_structure.py", line 97, in init
) = utility.create_predictor(args, "table", logger)
File "L:\paddle\PaddleOCR-2.8.1\tools\infer\utility.py", line 304, in create_predictor
predictor = inference.create_predictor(config)
ValueError: (InvalidArgument) Failed to parse program_desc from binary string.
[Hint: Expected desc_.ParseFromString(binary_str) == true, but received desc_.ParseFromString(binary_str):0 != true:1.] (at ..\paddle\fluid\framework\program_desc.cc:103)
Additional
No response
Are you willing to submit a PR?
Yes I'd like to help by submitting a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
I have searched the PaddleOCR Docs and found no similar bug report.
I have searched the PaddleOCR Issues and found no similar bug report.
I have searched the PaddleOCR Discussions and found no similar bug report.
Bug
L:
cd L:\paddle\PaddleOCR-2.8.1\ppstructure
python table/predict_structure.py --table_model_dir=L:\paddle\models\ch_ppstructure_openatom_SLANetv2_infer/ --table_char_dict_path=../ppocr/utils/dict/table_structure_dict.txt --image_dir=docs/table/table.jpg --output=../output/table_slanet_lcnetv2 --use_gpu=False --benchmark=True --enable_mkldnn=True --table_max_len=512
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
Traceback (most recent call last):
File "table/predict_structure.py", line 207, in
main(parse_args())
File "table/predict_structure.py", line 171, in main
table_structurer = TableStructurer(args)
File "table/predict_structure.py", line 97, in init
) = utility.create_predictor(args, "table", logger)
File "L:\paddle\PaddleOCR-2.8.1\tools\infer\utility.py", line 304, in create_predictor
predictor = inference.create_predictor(config)
ValueError: (InvalidArgument) Failed to parse program_desc from binary string.
[Hint: Expected desc_.ParseFromString(binary_str) == true, but received desc_.ParseFromString(binary_str):0 != true:1.] (at ..\paddle\fluid\framework\program_desc.cc:103)
Environment
win10
Minimal Reproducible Example
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
[libprotobuf ERROR C:\cache_release\third_party\cuda102\3ad0da47b86006a7bf40b5685bc39f90\protobuf\src\extern_protobuf\src\google\protobuf\message_lite.cc:121] Can't parse message of type "paddle.framework.proto.ProgramDesc" because it is missing required fields: blocks[1].ops[40].attrs[13].type, blocks[1].ops[42].attrs[13].type, blocks[1].ops[44].attrs[13].type
Traceback (most recent call last):
File "table/predict_structure.py", line 207, in
main(parse_args())
File "table/predict_structure.py", line 171, in main
table_structurer = TableStructurer(args)
File "table/predict_structure.py", line 97, in init
) = utility.create_predictor(args, "table", logger)
File "L:\paddle\PaddleOCR-2.8.1\tools\infer\utility.py", line 304, in create_predictor
predictor = inference.create_predictor(config)
ValueError: (InvalidArgument) Failed to parse program_desc from binary string.
[Hint: Expected desc_.ParseFromString(binary_str) == true, but received desc_.ParseFromString(binary_str):0 != true:1.] (at ..\paddle\fluid\framework\program_desc.cc:103)
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: