record_pb2.py 11.2 KB
Newer Older
1 2 3
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: record.proto
C
chenjian 已提交
4
"""Generated protocol buffer code."""
5
from google.protobuf import descriptor as _descriptor
C
chenjian 已提交
6
from google.protobuf import descriptor_pool as _descriptor_pool
7 8 9 10 11 12 13 14 15 16
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




C
chenjian 已提交
17
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')
18

走神的阿圆's avatar
走神的阿圆 已提交
19

20

C
chenjian 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
_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']
36 37 38 39 40 41 42 43 44
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)
    })
  ,

走神的阿圆's avatar
走神的阿圆 已提交
45 46 47 48 49 50 51
  'Text' : _reflection.GeneratedProtocolMessageType('Text', (_message.Message,), {
    'DESCRIPTOR' : _RECORD_TEXT,
    '__module__' : 'record_pb2'
    # @@protoc_insertion_point(class_scope:visualdl.Record.Text)
    })
  ,

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
  '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)
    })
  ,

80 81 82 83 84 85 86
  'Histogram' : _reflection.GeneratedProtocolMessageType('Histogram', (_message.Message,), {
    'DESCRIPTOR' : _RECORD_HISTOGRAM,
    '__module__' : 'record_pb2'
    # @@protoc_insertion_point(class_scope:visualdl.Record.Histogram)
    })
  ,

走神的阿圆's avatar
走神的阿圆 已提交
87 88 89 90 91 92 93
  'PRCurve' : _reflection.GeneratedProtocolMessageType('PRCurve', (_message.Message,), {
    'DESCRIPTOR' : _RECORD_PRCURVE,
    '__module__' : 'record_pb2'
    # @@protoc_insertion_point(class_scope:visualdl.Record.PRCurve)
    })
  ,

P
Peter Pan 已提交
94 95 96 97 98 99 100
  'ROC_Curve' : _reflection.GeneratedProtocolMessageType('ROC_Curve', (_message.Message,), {
    'DESCRIPTOR' : _RECORD_ROC_CURVE,
    '__module__' : 'record_pb2'
    # @@protoc_insertion_point(class_scope:visualdl.Record.ROC_Curve)
    })
  ,

走神的阿圆's avatar
走神的阿圆 已提交
101 102 103 104 105 106 107 108 109 110 111 112 113 114
  '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)
    })
  ,

走神的阿圆's avatar
走神的阿圆 已提交
115 116 117 118 119 120 121
  'MetaData' : _reflection.GeneratedProtocolMessageType('MetaData', (_message.Message,), {
    'DESCRIPTOR' : _RECORD_METADATA,
    '__module__' : 'record_pb2'
    # @@protoc_insertion_point(class_scope:visualdl.Record.MetaData)
    })
  ,

C
chenjian 已提交
122 123 124 125 126 127 128
  'TagValue' : _reflection.GeneratedProtocolMessageType('TagValue', (_message.Message,), {
    'DESCRIPTOR' : _RECORD_TAGVALUE,
    '__module__' : 'record_pb2'
    # @@protoc_insertion_point(class_scope:visualdl.Record.TagValue)
    })
  ,

129 130 131 132 133 134 135 136 137 138 139 140
  '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)
走神的阿圆's avatar
走神的阿圆 已提交
141
_sym_db.RegisterMessage(Record.Text)
142 143 144 145
_sym_db.RegisterMessage(Record.Audio)
_sym_db.RegisterMessage(Record.Embedding)
_sym_db.RegisterMessage(Record.Embeddings)
_sym_db.RegisterMessage(Record.bytes_embeddings)
146
_sym_db.RegisterMessage(Record.Histogram)
走神的阿圆's avatar
走神的阿圆 已提交
147
_sym_db.RegisterMessage(Record.PRCurve)
P
Peter Pan 已提交
148
_sym_db.RegisterMessage(Record.ROC_Curve)
走神的阿圆's avatar
走神的阿圆 已提交
149 150
_sym_db.RegisterMessage(Record.HParam)
_sym_db.RegisterMessage(Record.HParam.HparamInfo)
走神的阿圆's avatar
走神的阿圆 已提交
151
_sym_db.RegisterMessage(Record.MetaData)
C
chenjian 已提交
152
_sym_db.RegisterMessage(Record.TagValue)
153 154
_sym_db.RegisterMessage(Record.Value)

C
chenjian 已提交
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
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_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
  _RECORD_PRCURVE.fields_by_name['FP']._serialized_options = b'\020\001'
  _RECORD_PRCURVE.fields_by_name['TN']._options = None
  _RECORD_PRCURVE.fields_by_name['TN']._serialized_options = b'\020\001'
  _RECORD_PRCURVE.fields_by_name['FN']._options = None
  _RECORD_PRCURVE.fields_by_name['FN']._serialized_options = b'\020\001'
  _RECORD_ROC_CURVE.fields_by_name['TP']._options = None
  _RECORD_ROC_CURVE.fields_by_name['TP']._serialized_options = b'\020\001'
  _RECORD_ROC_CURVE.fields_by_name['FP']._options = None
  _RECORD_ROC_CURVE.fields_by_name['FP']._serialized_options = b'\020\001'
  _RECORD_ROC_CURVE.fields_by_name['TN']._options = None
  _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
208
# @@protoc_insertion_point(module_scope)