未验证 提交 870615f2 编写于 作者: C chenjian 提交者: GitHub

upgrade protoc to v4.21.12 (#1212)

* upgrade protoc to v4.21.12

* modify requirements

* add flake skip for automate generated code
上级 4bd760ac
......@@ -3,7 +3,7 @@ flask >= 1.1.1
Flask-Babel >= 3.0.0
numpy
Pillow >= 7.0.0
protobuf >= 3.11.0
protobuf >= 3.20.0
requests
six >= 1.14.0
matplotlib
......
# flake8: noqa
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: record.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
b'\n\x0crecord.proto\x12\x08visualdl\"\xa2\x0c\n\x06Record\x12&\n\x06values\x18\x01 \x03(\x0b\x32\x16.visualdl.Record.Value\x1a%\n\x05Image\x12\x1c\n\x14\x65ncoded_image_string\x18\x04 \x01(\x0c\x1a#\n\x04Text\x12\x1b\n\x13\x65ncoded_text_string\x18\x01 \x01(\t\x1a}\n\x05\x41udio\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x02\x12\x14\n\x0cnum_channels\x18\x02 \x01(\x03\x12\x15\n\rlength_frames\x18\x03 \x01(\x03\x12\x1c\n\x14\x65ncoded_audio_string\x18\x04 \x01(\x0c\x12\x14\n\x0c\x63ontent_type\x18\x05 \x01(\t\x1a+\n\tEmbedding\x12\r\n\x05label\x18\x01 \x03(\t\x12\x0f\n\x07vectors\x18\x02 \x03(\x02\x1aP\n\nEmbeddings\x12.\n\nembeddings\x18\x01 \x03(\x0b\x32\x1a.visualdl.Record.Embedding\x12\x12\n\nlabel_meta\x18\x02 \x03(\t\x1a\x43\n\x10\x62ytes_embeddings\x12\x16\n\x0e\x65ncoded_labels\x18\x01 \x01(\x0c\x12\x17\n\x0f\x65ncoded_vectors\x18\x02 \x01(\x0c\x1a\x34\n\tHistogram\x12\x10\n\x04hist\x18\x01 \x03(\x01\x42\x02\x10\x01\x12\x15\n\tbin_edges\x18\x02 \x03(\x01\x42\x02\x10\x01\x1al\n\x07PRCurve\x12\x0e\n\x02TP\x18\x01 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46P\x18\x02 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02TN\x18\x03 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46N\x18\x04 \x03(\x03\x42\x02\x10\x01\x12\x11\n\tprecision\x18\x05 \x03(\x01\x12\x0e\n\x06recall\x18\x06 \x03(\x01\x1a\x65\n\tROC_Curve\x12\x0e\n\x02TP\x18\x01 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46P\x18\x02 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02TN\x18\x03 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46N\x18\x04 \x03(\x03\x42\x02\x10\x01\x12\x0b\n\x03tpr\x18\x05 \x03(\x01\x12\x0b\n\x03\x66pr\x18\x06 \x03(\x01\x1a\xf0\x01\n\x06HParam\x12\x37\n\x0bhparamInfos\x18\x01 \x03(\x0b\x32\".visualdl.Record.HParam.HparamInfo\x12\x37\n\x0bmetricInfos\x18\x02 \x03(\x0b\x32\".visualdl.Record.HParam.HparamInfo\x12\x0c\n\x04name\x18\x03 \x01(\t\x1a\x66\n\nHparamInfo\x12\x13\n\tint_value\x18\x01 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x0c\n\x04name\x18\x04 \x01(\tB\x06\n\x04type\x1a \n\x08MetaData\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x1a&\n\x08TagValue\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\x1a\x98\x04\n\x05Value\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0b\n\x03tag\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\x12\x0f\n\x05value\x18\x04 \x01(\x02H\x00\x12\'\n\x05image\x18\x05 \x01(\x0b\x32\x16.visualdl.Record.ImageH\x00\x12\'\n\x05\x61udio\x18\x06 \x01(\x0b\x32\x16.visualdl.Record.AudioH\x00\x12\x31\n\nembeddings\x18\x07 \x01(\x0b\x32\x1b.visualdl.Record.EmbeddingsH\x00\x12/\n\thistogram\x18\x08 \x01(\x0b\x32\x1a.visualdl.Record.HistogramH\x00\x12,\n\x08pr_curve\x18\t \x01(\x0b\x32\x18.visualdl.Record.PRCurveH\x00\x12.\n\tmeta_data\x18\n \x01(\x0b\x32\x19.visualdl.Record.MetaDataH\x00\x12/\n\troc_curve\x18\x0b \x01(\x0b\x32\x1a.visualdl.Record.ROC_CurveH\x00\x12%\n\x04text\x18\x0c \x01(\x0b\x32\x15.visualdl.Record.TextH\x00\x12)\n\x06hparam\x18\r \x01(\x0b\x32\x17.visualdl.Record.HParamH\x00\x12.\n\ttag_value\x18\x0e \x01(\x0b\x32\x19.visualdl.Record.TagValueH\x00\x42\x0b\n\tone_valueb\x06proto3'
)
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0crecord.proto\x12\x08visualdl\"\xa2\x0c\n\x06Record\x12&\n\x06values\x18\x01 \x03(\x0b\x32\x16.visualdl.Record.Value\x1a%\n\x05Image\x12\x1c\n\x14\x65ncoded_image_string\x18\x04 \x01(\x0c\x1a#\n\x04Text\x12\x1b\n\x13\x65ncoded_text_string\x18\x01 \x01(\t\x1a}\n\x05\x41udio\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x02\x12\x14\n\x0cnum_channels\x18\x02 \x01(\x03\x12\x15\n\rlength_frames\x18\x03 \x01(\x03\x12\x1c\n\x14\x65ncoded_audio_string\x18\x04 \x01(\x0c\x12\x14\n\x0c\x63ontent_type\x18\x05 \x01(\t\x1a+\n\tEmbedding\x12\r\n\x05label\x18\x01 \x03(\t\x12\x0f\n\x07vectors\x18\x02 \x03(\x02\x1aP\n\nEmbeddings\x12.\n\nembeddings\x18\x01 \x03(\x0b\x32\x1a.visualdl.Record.Embedding\x12\x12\n\nlabel_meta\x18\x02 \x03(\t\x1a\x43\n\x10\x62ytes_embeddings\x12\x16\n\x0e\x65ncoded_labels\x18\x01 \x01(\x0c\x12\x17\n\x0f\x65ncoded_vectors\x18\x02 \x01(\x0c\x1a\x34\n\tHistogram\x12\x10\n\x04hist\x18\x01 \x03(\x01\x42\x02\x10\x01\x12\x15\n\tbin_edges\x18\x02 \x03(\x01\x42\x02\x10\x01\x1al\n\x07PRCurve\x12\x0e\n\x02TP\x18\x01 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46P\x18\x02 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02TN\x18\x03 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46N\x18\x04 \x03(\x03\x42\x02\x10\x01\x12\x11\n\tprecision\x18\x05 \x03(\x01\x12\x0e\n\x06recall\x18\x06 \x03(\x01\x1a\x65\n\tROC_Curve\x12\x0e\n\x02TP\x18\x01 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46P\x18\x02 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02TN\x18\x03 \x03(\x03\x42\x02\x10\x01\x12\x0e\n\x02\x46N\x18\x04 \x03(\x03\x42\x02\x10\x01\x12\x0b\n\x03tpr\x18\x05 \x03(\x01\x12\x0b\n\x03\x66pr\x18\x06 \x03(\x01\x1a\xf0\x01\n\x06HParam\x12\x37\n\x0bhparamInfos\x18\x01 \x03(\x0b\x32\".visualdl.Record.HParam.HparamInfo\x12\x37\n\x0bmetricInfos\x18\x02 \x03(\x0b\x32\".visualdl.Record.HParam.HparamInfo\x12\x0c\n\x04name\x18\x03 \x01(\t\x1a\x66\n\nHparamInfo\x12\x13\n\tint_value\x18\x01 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x0c\n\x04name\x18\x04 \x01(\tB\x06\n\x04type\x1a \n\x08MetaData\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x1a&\n\x08TagValue\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02\x1a\x98\x04\n\x05Value\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0b\n\x03tag\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\x12\x0f\n\x05value\x18\x04 \x01(\x02H\x00\x12\'\n\x05image\x18\x05 \x01(\x0b\x32\x16.visualdl.Record.ImageH\x00\x12\'\n\x05\x61udio\x18\x06 \x01(\x0b\x32\x16.visualdl.Record.AudioH\x00\x12\x31\n\nembeddings\x18\x07 \x01(\x0b\x32\x1b.visualdl.Record.EmbeddingsH\x00\x12/\n\thistogram\x18\x08 \x01(\x0b\x32\x1a.visualdl.Record.HistogramH\x00\x12,\n\x08pr_curve\x18\t \x01(\x0b\x32\x18.visualdl.Record.PRCurveH\x00\x12.\n\tmeta_data\x18\n \x01(\x0b\x32\x19.visualdl.Record.MetaDataH\x00\x12/\n\troc_curve\x18\x0b \x01(\x0b\x32\x1a.visualdl.Record.ROC_CurveH\x00\x12%\n\x04text\x18\x0c \x01(\x0b\x32\x15.visualdl.Record.TextH\x00\x12)\n\x06hparam\x18\r \x01(\x0b\x32\x17.visualdl.Record.HParamH\x00\x12.\n\ttag_value\x18\x0e \x01(\x0b\x32\x19.visualdl.Record.TagValueH\x00\x42\x0b\n\tone_valueb\x06proto3')
_RECORD = DESCRIPTOR.message_types_by_name['Record']
_RECORD_IMAGE = _RECORD.nested_types_by_name['Image']
_RECORD_TEXT = _RECORD.nested_types_by_name['Text']
_RECORD_AUDIO = _RECORD.nested_types_by_name['Audio']
_RECORD_EMBEDDING = _RECORD.nested_types_by_name['Embedding']
_RECORD_EMBEDDINGS = _RECORD.nested_types_by_name['Embeddings']
_RECORD_BYTES_EMBEDDINGS = _RECORD.nested_types_by_name['bytes_embeddings']
_RECORD_HISTOGRAM = _RECORD.nested_types_by_name['Histogram']
_RECORD_PRCURVE = _RECORD.nested_types_by_name['PRCurve']
_RECORD_ROC_CURVE = _RECORD.nested_types_by_name['ROC_Curve']
_RECORD_HPARAM = _RECORD.nested_types_by_name['HParam']
_RECORD_HPARAM_HPARAMINFO = _RECORD_HPARAM.nested_types_by_name['HparamInfo']
_RECORD_METADATA = _RECORD.nested_types_by_name['MetaData']
_RECORD_TAGVALUE = _RECORD.nested_types_by_name['TagValue']
_RECORD_VALUE = _RECORD.nested_types_by_name['Value']
Record = _reflection.GeneratedProtocolMessageType('Record', (_message.Message,), {
'Image' : _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), {
'DESCRIPTOR' : _RECORD_IMAGE,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Image)
})
,
'Text' : _reflection.GeneratedProtocolMessageType('Text', (_message.Message,), {
'DESCRIPTOR' : _RECORD_TEXT,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Text)
})
,
'Audio' : _reflection.GeneratedProtocolMessageType('Audio', (_message.Message,), {
'DESCRIPTOR' : _RECORD_AUDIO,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Audio)
})
,
'Embedding' : _reflection.GeneratedProtocolMessageType('Embedding', (_message.Message,), {
'DESCRIPTOR' : _RECORD_EMBEDDING,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Embedding)
})
,
'Embeddings' : _reflection.GeneratedProtocolMessageType('Embeddings', (_message.Message,), {
'DESCRIPTOR' : _RECORD_EMBEDDINGS,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Embeddings)
})
,
'bytes_embeddings' : _reflection.GeneratedProtocolMessageType('bytes_embeddings', (_message.Message,), {
'DESCRIPTOR' : _RECORD_BYTES_EMBEDDINGS,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.bytes_embeddings)
})
,
'Histogram' : _reflection.GeneratedProtocolMessageType('Histogram', (_message.Message,), {
'DESCRIPTOR' : _RECORD_HISTOGRAM,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Histogram)
})
,
'PRCurve' : _reflection.GeneratedProtocolMessageType('PRCurve', (_message.Message,), {
'DESCRIPTOR' : _RECORD_PRCURVE,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.PRCurve)
})
,
'ROC_Curve' : _reflection.GeneratedProtocolMessageType('ROC_Curve', (_message.Message,), {
'DESCRIPTOR' : _RECORD_ROC_CURVE,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.ROC_Curve)
})
,
'HParam' : _reflection.GeneratedProtocolMessageType('HParam', (_message.Message,), {
'HparamInfo' : _reflection.GeneratedProtocolMessageType('HparamInfo', (_message.Message,), {
'DESCRIPTOR' : _RECORD_HPARAM_HPARAMINFO,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.HParam.HparamInfo)
})
,
'DESCRIPTOR' : _RECORD_HPARAM,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.HParam)
})
,
'MetaData' : _reflection.GeneratedProtocolMessageType('MetaData', (_message.Message,), {
'DESCRIPTOR' : _RECORD_METADATA,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.MetaData)
})
,
'TagValue' : _reflection.GeneratedProtocolMessageType('TagValue', (_message.Message,), {
'DESCRIPTOR' : _RECORD_TAGVALUE,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.TagValue)
})
,
'Value' : _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), {
'DESCRIPTOR' : _RECORD_VALUE,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record.Value)
})
,
'DESCRIPTOR' : _RECORD,
'__module__' : 'record_pb2'
# @@protoc_insertion_point(class_scope:visualdl.Record)
})
_sym_db.RegisterMessage(Record)
_sym_db.RegisterMessage(Record.Image)
_sym_db.RegisterMessage(Record.Text)
_sym_db.RegisterMessage(Record.Audio)
_sym_db.RegisterMessage(Record.Embedding)
_sym_db.RegisterMessage(Record.Embeddings)
_sym_db.RegisterMessage(Record.bytes_embeddings)
_sym_db.RegisterMessage(Record.Histogram)
_sym_db.RegisterMessage(Record.PRCurve)
_sym_db.RegisterMessage(Record.ROC_Curve)
_sym_db.RegisterMessage(Record.HParam)
_sym_db.RegisterMessage(Record.HParam.HparamInfo)
_sym_db.RegisterMessage(Record.MetaData)
_sym_db.RegisterMessage(Record.TagValue)
_sym_db.RegisterMessage(Record.Value)
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'record_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_RECORD_HISTOGRAM.fields_by_name['hist']._options = None
_RECORD_HISTOGRAM.fields_by_name['hist']._serialized_options = b'\020\001'
_RECORD_HISTOGRAM.fields_by_name['bin_edges']._options = None
_RECORD_HISTOGRAM.fields_by_name['bin_edges']._serialized_options = b'\020\001'
_RECORD_HISTOGRAM.fields_by_name[
'bin_edges']._serialized_options = b'\020\001'
_RECORD_PRCURVE.fields_by_name['TP']._options = None
_RECORD_PRCURVE.fields_by_name['TP']._serialized_options = b'\020\001'
_RECORD_PRCURVE.fields_by_name['FP']._options = None
......@@ -175,34 +41,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
_RECORD_ROC_CURVE.fields_by_name['TN']._serialized_options = b'\020\001'
_RECORD_ROC_CURVE.fields_by_name['FN']._options = None
_RECORD_ROC_CURVE.fields_by_name['FN']._serialized_options = b'\020\001'
_RECORD._serialized_start=27
_RECORD._serialized_end=1597
_RECORD_IMAGE._serialized_start=77
_RECORD_IMAGE._serialized_end=114
_RECORD_TEXT._serialized_start=116
_RECORD_TEXT._serialized_end=151
_RECORD_AUDIO._serialized_start=153
_RECORD_AUDIO._serialized_end=278
_RECORD_EMBEDDING._serialized_start=280
_RECORD_EMBEDDING._serialized_end=323
_RECORD_EMBEDDINGS._serialized_start=325
_RECORD_EMBEDDINGS._serialized_end=405
_RECORD_BYTES_EMBEDDINGS._serialized_start=407
_RECORD_BYTES_EMBEDDINGS._serialized_end=474
_RECORD_HISTOGRAM._serialized_start=476
_RECORD_HISTOGRAM._serialized_end=528
_RECORD_PRCURVE._serialized_start=530
_RECORD_PRCURVE._serialized_end=638
_RECORD_ROC_CURVE._serialized_start=640
_RECORD_ROC_CURVE._serialized_end=741
_RECORD_HPARAM._serialized_start=744
_RECORD_HPARAM._serialized_end=984
_RECORD_HPARAM_HPARAMINFO._serialized_start=882
_RECORD_HPARAM_HPARAMINFO._serialized_end=984
_RECORD_METADATA._serialized_start=986
_RECORD_METADATA._serialized_end=1018
_RECORD_TAGVALUE._serialized_start=1020
_RECORD_TAGVALUE._serialized_end=1058
_RECORD_VALUE._serialized_start=1061
_RECORD_VALUE._serialized_end=1597
_RECORD._serialized_start = 27
_RECORD._serialized_end = 1597
_RECORD_IMAGE._serialized_start = 77
_RECORD_IMAGE._serialized_end = 114
_RECORD_TEXT._serialized_start = 116
_RECORD_TEXT._serialized_end = 151
_RECORD_AUDIO._serialized_start = 153
_RECORD_AUDIO._serialized_end = 278
_RECORD_EMBEDDING._serialized_start = 280
_RECORD_EMBEDDING._serialized_end = 323
_RECORD_EMBEDDINGS._serialized_start = 325
_RECORD_EMBEDDINGS._serialized_end = 405
_RECORD_BYTES_EMBEDDINGS._serialized_start = 407
_RECORD_BYTES_EMBEDDINGS._serialized_end = 474
_RECORD_HISTOGRAM._serialized_start = 476
_RECORD_HISTOGRAM._serialized_end = 528
_RECORD_PRCURVE._serialized_start = 530
_RECORD_PRCURVE._serialized_end = 638
_RECORD_ROC_CURVE._serialized_start = 640
_RECORD_ROC_CURVE._serialized_end = 741
_RECORD_HPARAM._serialized_start = 744
_RECORD_HPARAM._serialized_end = 984
_RECORD_HPARAM_HPARAMINFO._serialized_start = 882
_RECORD_HPARAM_HPARAMINFO._serialized_end = 984
_RECORD_METADATA._serialized_start = 986
_RECORD_METADATA._serialized_end = 1018
_RECORD_TAGVALUE._serialized_start = 1020
_RECORD_TAGVALUE._serialized_end = 1058
_RECORD_VALUE._serialized_start = 1061
_RECORD_VALUE._serialized_end = 1597
# @@protoc_insertion_point(module_scope)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册