Spaces:
Runtime error
Runtime error
# -*- coding: utf-8 -*- | |
# Generated by the protocol buffer compiler. DO NOT EDIT! | |
# source: inference.proto | |
# Protobuf Python Version: 5.26.1 | |
"""Generated protocol buffer code.""" | |
from google.protobuf import descriptor as _descriptor | |
from google.protobuf import descriptor_pool as _descriptor_pool | |
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\x0finference.proto\x12\tinference\"r\n\nSFERequest\x12\x12\n\norig_image\x18\x01 \x01(\x0c\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\r\n\x05power\x18\x03 \x01(\x02\x12\x11\n\tuse_cache\x18\x04 \x01(\x08\x12\r\n\x05\x61lign\x18\x05 \x01(\x08\x12\x0c\n\x04mask\x18\x06 \x01(\x0c\"X\n\x0eSFERequestMask\x12\x12\n\norig_image\x18\x01 \x01(\x0c\x12\x10\n\x08trashold\x18\x02 \x01(\x02\x12\x11\n\tuse_cache\x18\x03 \x01(\x08\x12\r\n\x05\x61lign\x18\x04 \x01(\x08\"S\n\x0bSFEResponse\x12\r\n\x05image\x18\x01 \x01(\x0c\x12\x11\n\tinv_image\x18\x02 \x01(\x0c\x12\x0f\n\x07\x61ligned\x18\x03 \x01(\x0c\x12\x11\n\tunaligned\x18\x04 \x01(\x0c\"\x1f\n\x0fSFEResponseMask\x12\x0c\n\x04mask\x18\x01 \x01(\x0c\x32\x8b\x01\n\nSFEService\x12\x35\n\x04\x65\x64it\x12\x15.inference.SFERequest\x1a\x16.inference.SFEResponse\x12\x46\n\rgenerate_mask\x12\x19.inference.SFERequestMask\x1a\x1a.inference.SFEResponseMaskb\x06proto3') | |
_globals = globals() | |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) | |
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'inference_pb2', _globals) | |
if not _descriptor._USE_C_DESCRIPTORS: | |
DESCRIPTOR._loaded_options = None | |
_globals['_SFEREQUEST']._serialized_start=30 | |
_globals['_SFEREQUEST']._serialized_end=144 | |
_globals['_SFEREQUESTMASK']._serialized_start=146 | |
_globals['_SFEREQUESTMASK']._serialized_end=234 | |
_globals['_SFERESPONSE']._serialized_start=236 | |
_globals['_SFERESPONSE']._serialized_end=319 | |
_globals['_SFERESPONSEMASK']._serialized_start=321 | |
_globals['_SFERESPONSEMASK']._serialized_end=352 | |
_globals['_SFESERVICE']._serialized_start=355 | |
_globals['_SFESERVICE']._serialized_end=494 | |
# @@protoc_insertion_point(module_scope) | |