# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: protos/main.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='protos/main.proto',
  package='hierarchical_ood.protos',
  syntax='proto2',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x11protos/main.proto\x12\x17hierarchical_ood.protos\"\xc7\r\n\x04Main\x12;\n\x05model\x18\x01 \x01(\x0e\x32#.hierarchical_ood.protos.Main.Model:\x07SOFTMAX\x12\x1d\n\x08\x64\x61ta_dir\x18\x02 \x01(\t:\x0b\x64\x61ta/coarse\x12#\n\x0chierarchy_fn\x18\x03 \x01(\t:\rpruned-wn.pth\x12\x1d\n\x0fmin_norm_factor\x18\x04 \x01(\x02:\x04\x30.05\x12:\n\x0ctrain_params\x18\x05 \x01(\x0b\x32$.hierarchical_ood.protos.TrainParams\x12\x31\n\x03sgd\x18\x06 \x01(\x0b\x32\".hierarchical_ood.protos.SGDParamsH\x00\x12\x33\n\x04\x61\x64\x61m\x18\x07 \x01(\x0b\x32#.hierarchical_ood.protos.AdamParamsH\x00\x12\x33\n\x02\x63\x65\x18\x08 \x01(\x0b\x32%.hierarchical_ood.protos.CrossEntropyH\x01\x12:\n\x03\x62\x63\x65\x18\t \x01(\x0b\x32+.hierarchical_ood.protos.BinaryCrossEntropyH\x01\x12G\n\x04hbce\x18\n \x01(\x0b\x32\x37.hierarchical_ood.protos.HierarchicalBinaryCrossEntropyH\x01\x12\x37\n\x02hl\x18\x0b \x01(\x0b\x32).hierarchical_ood.protos.HierarchicalLossH\x01\x12.\n\x02ml\x18\x0c \x01(\x0b\x32 .hierarchical_ood.protos.MOSLossH\x01\x12\x36\n\x04\x61msl\x18\r \x01(\x0b\x32&.hierarchical_ood.protos.AMSoftmaxLossH\x01\x12\x36\n\x04\x61mcl\x18\x0e \x01(\x0b\x32&.hierarchical_ood.protos.AMCascadeLossH\x01\x12\x15\n\x04seed\x18\x0f \x01(\x05:\x07\x31\x32\x33\x34\x35\x36\x37\x12\x17\n\x0crepeat_iters\x18\x10 \x01(\x05:\x01\x31\x12\x16\n\x07no_save\x18\x11 \x01(\x08:\x05\x66\x61lse\x12\x16\n\x07verbose\x18\x12 \x01(\x08:\x05\x66\x61lse\x12\x11\n\x07savedir\x18\x13 \x01(\t:\x00\x12\x1a\n\x08\x62\x61\x63kbone\x18\x14 \x01(\t:\x08resnet50\x12\x36\n\nsoftmax_mc\x18\x15 \x01(\x0b\x32 .hierarchical_ood.protos.SoftmaxH\x02\x12H\n\x06ilr_mc\x18\x16 \x01(\x0b\x32\x36.hierarchical_ood.protos.IndependentLogisticRegressorsH\x02\x12;\n\x07hilr_mc\x18\x17 \x01(\x0b\x32(.hierarchical_ood.protos.HierarchicalILRH\x02\x12\x36\n\ncascade_mc\x18\x18 \x01(\x0b\x32 .hierarchical_ood.protos.CascadeH\x02\x12\x42\n\x10\x63\x61scadefchead_mc\x18\x19 \x01(\x0b\x32&.hierarchical_ood.protos.CascadeFCHeadH\x02\x12\x42\n\x10softmaxfchead_mc\x18\x1a \x01(\x0b\x32&.hierarchical_ood.protos.SoftmaxFCHeadH\x02\x12\x32\n\x06mos_mc\x18\x1b \x01(\x0b\x32 .hierarchical_ood.protos.MOSConfH\x02\x12\x34\n\x06\x61ms_mc\x18\x1c \x01(\x0b\x32\".hierarchical_ood.protos.AMSoftmaxH\x02\x12\x34\n\x06\x61mc_mc\x18\x1d \x01(\x0b\x32\".hierarchical_ood.protos.AMCascadeH\x02\x12\x15\n\rfar_ood_dsets\x18\x1e \x03(\t\x12\x1f\n\x15\x64istribution_strategy\x18\x1f \x01(\t:\x00\x12\x1f\n\x10resume_from_ckpt\x18  \x01(\x08:\x05\x66\x61lse\x12\x1c\n\x12\x66inetune_from_ckpt\x18! \x01(\t:\x00\x12\x1a\n\x0b\x65mbed_layer\x18\" \x01(\x08:\x05\x66\x61lse\"\x81\x01\n\x05Model\x12\x0b\n\x07SOFTMAX\x10\x01\x12\x07\n\x03ILR\x10\x02\x12\x08\n\x04HILR\x10\x03\x12\x0b\n\x07\x43\x41SCADE\x10\x04\x12\x11\n\rCASCADEFCHEAD\x10\x05\x12\x11\n\rSOFTMAXFCHEAD\x10\x06\x12\x07\n\x03MOS\x10\x07\x12\r\n\tAMSOFTMAX\x10\x08\x12\r\n\tAMCASCADE\x10\tB\x0b\n\toptimizerB\x06\n\x04lossB\x0e\n\x0cmodel_config\"\xb9\x01\n\x0bTrainParams\x12\x12\n\x06\x65pochs\x18\x01 \x01(\x05:\x02\x39\x30\x12\x16\n\nbatch_size\x18\x02 \x01(\x05:\x02\x36\x34\x12\x17\n\rcheckpoint_fn\x18\x03 \x01(\t:\x00\x12\x10\n\x06log_fn\x18\x04 \x01(\t:\x00\x12\x18\n\tfreeze_bb\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0c\x66reeze_bb_bn\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rbb_pretrained\x18\x07 \x01(\x08:\x05\x66\x61lse\"\xdd\x01\n\tSGDParams\x12\x1a\n\rlearning_rate\x18\x01 \x01(\x02:\x03\x30.1\x12\x15\n\x08momentum\x18\x02 \x01(\x02:\x03\x30.9\x12\x1c\n\x0cweight_decay\x18\x03 \x01(\x02:\x06\x30.0001\x12\x17\n\x08nesterov\x18\x04 \x01(\x08:\x05\x66\x61lse\x12\x17\n\x0cwarmup_iters\x18\x05 \x01(\x05:\x01\x35\x12\x1a\n\rwarmup_factor\x18\x06 \x01(\x02:\x03\x30.1\x12\x1c\n\x0flr_decay_factor\x18\x07 \x01(\x02:\x03\x30.1\x12\x13\n\x07lr_step\x18\x08 \x03(\x02\x42\x02\x10\x01\"\xae\x01\n\nAdamParams\x12\x1a\n\rlearning_rate\x18\x01 \x01(\x02:\x03\x30.1\x12\x1c\n\x0cweight_decay\x18\x02 \x01(\x02:\x06\x30.0001\x12\x17\n\x0cwarmup_iters\x18\x03 \x01(\x05:\x01\x35\x12\x1a\n\rwarmup_factor\x18\x04 \x01(\x02:\x03\x30.1\x12\x1c\n\x0flr_decay_factor\x18\x05 \x01(\x02:\x03\x30.1\x12\x13\n\x07lr_step\x18\x06 \x03(\x02\x42\x02\x10\x01\"\t\n\x07Softmax\"*\n\rSoftmaxFCHead\x12\x19\n\rfc_head_sizes\x18\x01 \x03(\x05\x42\x02\x10\x01\"\x1f\n\x1dIndependentLogisticRegressors\"\x11\n\x0fHierarchicalILR\"\t\n\x07\x43\x61scade\"M\n\rCascadeFCHead\x12\x19\n\rfc_head_sizes\x18\x01 \x03(\x05\x42\x02\x10\x01\x12!\n\x13split_fchead_layers\x18\x02 \x01(\x08:\x04true\"$\n\x07MOSConf\x12\x19\n\rfc_head_sizes\x18\x01 \x03(\x05\x42\x02\x10\x01\"B\n\tAMSoftmax\x12\x19\n\rfc_head_sizes\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x1a\n\x0c\x66\x65\x61ture_norm\x18\x02 \x01(\x08:\x04true\"f\n\tAMCascade\x12\x19\n\rfc_head_sizes\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x1a\n\x0c\x66\x65\x61ture_norm\x18\x02 \x01(\x08:\x04true\x12\"\n\x13split_fchead_layers\x18\x03 \x01(\x08:\x05\x66\x61lse\"-\n\tLossRange\x12\x10\n\x05start\x18\x01 \x01(\x02:\x01\x30\x12\x0e\n\x03\x65nd\x18\x02 \x01(\x02:\x01\x30\"\x0e\n\x0c\x43rossEntropy\"\x14\n\x12\x42inaryCrossEntropy\" \n\x1eHierarchicalBinaryCrossEntropy\"\xfc\x02\n\x10HierarchicalLoss\x12\x1b\n\rsynsetce_loss\x18\x01 \x01(\x08:\x04true\x12\x1c\n\rsoftpred_loss\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x1f\n\x10outlier_exposure\x18\x03 \x01(\x08:\x05\x66\x61lse\x12:\n\x0esynsetce_range\x18\x04 \x01(\x0b\x32\".hierarchical_ood.protos.LossRange\x12:\n\x0esoftpred_range\x18\x05 \x01(\x0b\x32\".hierarchical_ood.protos.LossRange\x12\x42\n\x16outlier_exposure_range\x18\x06 \x01(\x0b\x32\".hierarchical_ood.protos.LossRange\x12\x18\n\tweight_ce\x18\x07 \x01(\x08:\x05\x66\x61lse\x12\x19\n\nfocal_loss\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0c\x64\x65pth_weight\x18\t \x01(\x08:\x05\x66\x61lse\"\t\n\x07MOSLoss\".\n\rAMSoftmaxLoss\x12\r\n\x01s\x18\x01 \x01(\x02:\x02\x33\x30\x12\x0e\n\x01m\x18\x02 \x01(\x02:\x03\x30.4\"Z\n\rAMCascadeLoss\x12\r\n\x01s\x18\x01 \x01(\x02:\x02\x33\x30\x12\x0e\n\x01m\x18\x02 \x01(\x02:\x03\x30.5\x12\x13\n\x08s_factor\x18\x03 \x01(\x02:\x01\x31\x12\x15\n\x08m_factor\x18\x04 \x01(\x02:\x03\x30.4'
)



_MAIN_MODEL = _descriptor.EnumDescriptor(
  name='Model',
  full_name='hierarchical_ood.protos.Main.Model',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SOFTMAX', index=0, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='ILR', index=1, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='HILR', index=2, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CASCADE', index=3, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CASCADEFCHEAD', index=4, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='SOFTMAXFCHEAD', index=5, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MOS', index=6, number=7,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='AMSOFTMAX', index=7, number=8,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='AMCASCADE', index=8, number=9,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=1616,
  serialized_end=1745,
)
_sym_db.RegisterEnumDescriptor(_MAIN_MODEL)


_MAIN = _descriptor.Descriptor(
  name='Main',
  full_name='hierarchical_ood.protos.Main',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='model', full_name='hierarchical_ood.protos.Main.model', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=True, default_value=1,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='data_dir', full_name='hierarchical_ood.protos.Main.data_dir', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"data/coarse".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='hierarchy_fn', full_name='hierarchical_ood.protos.Main.hierarchy_fn', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"pruned-wn.pth".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='min_norm_factor', full_name='hierarchical_ood.protos.Main.min_norm_factor', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.05),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='train_params', full_name='hierarchical_ood.protos.Main.train_params', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='sgd', full_name='hierarchical_ood.protos.Main.sgd', index=5,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='adam', full_name='hierarchical_ood.protos.Main.adam', index=6,
      number=7, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ce', full_name='hierarchical_ood.protos.Main.ce', index=7,
      number=8, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='bce', full_name='hierarchical_ood.protos.Main.bce', index=8,
      number=9, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='hbce', full_name='hierarchical_ood.protos.Main.hbce', index=9,
      number=10, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='hl', full_name='hierarchical_ood.protos.Main.hl', index=10,
      number=11, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ml', full_name='hierarchical_ood.protos.Main.ml', index=11,
      number=12, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='amsl', full_name='hierarchical_ood.protos.Main.amsl', index=12,
      number=13, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='amcl', full_name='hierarchical_ood.protos.Main.amcl', index=13,
      number=14, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='seed', full_name='hierarchical_ood.protos.Main.seed', index=14,
      number=15, type=5, cpp_type=1, label=1,
      has_default_value=True, default_value=1234567,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='repeat_iters', full_name='hierarchical_ood.protos.Main.repeat_iters', index=15,
      number=16, type=5, cpp_type=1, label=1,
      has_default_value=True, default_value=1,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='no_save', full_name='hierarchical_ood.protos.Main.no_save', index=16,
      number=17, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='verbose', full_name='hierarchical_ood.protos.Main.verbose', index=17,
      number=18, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='savedir', full_name='hierarchical_ood.protos.Main.savedir', index=18,
      number=19, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='backbone', full_name='hierarchical_ood.protos.Main.backbone', index=19,
      number=20, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"resnet50".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='softmax_mc', full_name='hierarchical_ood.protos.Main.softmax_mc', index=20,
      number=21, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ilr_mc', full_name='hierarchical_ood.protos.Main.ilr_mc', index=21,
      number=22, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='hilr_mc', full_name='hierarchical_ood.protos.Main.hilr_mc', index=22,
      number=23, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cascade_mc', full_name='hierarchical_ood.protos.Main.cascade_mc', index=23,
      number=24, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cascadefchead_mc', full_name='hierarchical_ood.protos.Main.cascadefchead_mc', index=24,
      number=25, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='softmaxfchead_mc', full_name='hierarchical_ood.protos.Main.softmaxfchead_mc', index=25,
      number=26, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='mos_mc', full_name='hierarchical_ood.protos.Main.mos_mc', index=26,
      number=27, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ams_mc', full_name='hierarchical_ood.protos.Main.ams_mc', index=27,
      number=28, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='amc_mc', full_name='hierarchical_ood.protos.Main.amc_mc', index=28,
      number=29, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='far_ood_dsets', full_name='hierarchical_ood.protos.Main.far_ood_dsets', index=29,
      number=30, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='distribution_strategy', full_name='hierarchical_ood.protos.Main.distribution_strategy', index=30,
      number=31, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='resume_from_ckpt', full_name='hierarchical_ood.protos.Main.resume_from_ckpt', index=31,
      number=32, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='finetune_from_ckpt', full_name='hierarchical_ood.protos.Main.finetune_from_ckpt', index=32,
      number=33, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='embed_layer', full_name='hierarchical_ood.protos.Main.embed_layer', index=33,
      number=34, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _MAIN_MODEL,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='optimizer', full_name='hierarchical_ood.protos.Main.optimizer',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
    _descriptor.OneofDescriptor(
      name='loss', full_name='hierarchical_ood.protos.Main.loss',
      index=1, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
    _descriptor.OneofDescriptor(
      name='model_config', full_name='hierarchical_ood.protos.Main.model_config',
      index=2, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=47,
  serialized_end=1782,
)


_TRAINPARAMS = _descriptor.Descriptor(
  name='TrainParams',
  full_name='hierarchical_ood.protos.TrainParams',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='epochs', full_name='hierarchical_ood.protos.TrainParams.epochs', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=True, default_value=90,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='batch_size', full_name='hierarchical_ood.protos.TrainParams.batch_size', index=1,
      number=2, type=5, cpp_type=1, label=1,
      has_default_value=True, default_value=64,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='checkpoint_fn', full_name='hierarchical_ood.protos.TrainParams.checkpoint_fn', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='log_fn', full_name='hierarchical_ood.protos.TrainParams.log_fn', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=True, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='freeze_bb', full_name='hierarchical_ood.protos.TrainParams.freeze_bb', index=4,
      number=5, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='freeze_bb_bn', full_name='hierarchical_ood.protos.TrainParams.freeze_bb_bn', index=5,
      number=6, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='bb_pretrained', full_name='hierarchical_ood.protos.TrainParams.bb_pretrained', index=6,
      number=7, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1785,
  serialized_end=1970,
)


_SGDPARAMS = _descriptor.Descriptor(
  name='SGDParams',
  full_name='hierarchical_ood.protos.SGDParams',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='learning_rate', full_name='hierarchical_ood.protos.SGDParams.learning_rate', index=0,
      number=1, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='momentum', full_name='hierarchical_ood.protos.SGDParams.momentum', index=1,
      number=2, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.9),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='weight_decay', full_name='hierarchical_ood.protos.SGDParams.weight_decay', index=2,
      number=3, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.0001),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='nesterov', full_name='hierarchical_ood.protos.SGDParams.nesterov', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='warmup_iters', full_name='hierarchical_ood.protos.SGDParams.warmup_iters', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=True, default_value=5,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='warmup_factor', full_name='hierarchical_ood.protos.SGDParams.warmup_factor', index=5,
      number=6, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='lr_decay_factor', full_name='hierarchical_ood.protos.SGDParams.lr_decay_factor', index=6,
      number=7, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='lr_step', full_name='hierarchical_ood.protos.SGDParams.lr_step', index=7,
      number=8, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1973,
  serialized_end=2194,
)


_ADAMPARAMS = _descriptor.Descriptor(
  name='AdamParams',
  full_name='hierarchical_ood.protos.AdamParams',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='learning_rate', full_name='hierarchical_ood.protos.AdamParams.learning_rate', index=0,
      number=1, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='weight_decay', full_name='hierarchical_ood.protos.AdamParams.weight_decay', index=1,
      number=2, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.0001),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='warmup_iters', full_name='hierarchical_ood.protos.AdamParams.warmup_iters', index=2,
      number=3, type=5, cpp_type=1, label=1,
      has_default_value=True, default_value=5,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='warmup_factor', full_name='hierarchical_ood.protos.AdamParams.warmup_factor', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='lr_decay_factor', full_name='hierarchical_ood.protos.AdamParams.lr_decay_factor', index=4,
      number=5, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='lr_step', full_name='hierarchical_ood.protos.AdamParams.lr_step', index=5,
      number=6, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2197,
  serialized_end=2371,
)


_SOFTMAX = _descriptor.Descriptor(
  name='Softmax',
  full_name='hierarchical_ood.protos.Softmax',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2373,
  serialized_end=2382,
)


_SOFTMAXFCHEAD = _descriptor.Descriptor(
  name='SoftmaxFCHead',
  full_name='hierarchical_ood.protos.SoftmaxFCHead',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='fc_head_sizes', full_name='hierarchical_ood.protos.SoftmaxFCHead.fc_head_sizes', index=0,
      number=1, type=5, cpp_type=1, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2384,
  serialized_end=2426,
)


_INDEPENDENTLOGISTICREGRESSORS = _descriptor.Descriptor(
  name='IndependentLogisticRegressors',
  full_name='hierarchical_ood.protos.IndependentLogisticRegressors',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2428,
  serialized_end=2459,
)


_HIERARCHICALILR = _descriptor.Descriptor(
  name='HierarchicalILR',
  full_name='hierarchical_ood.protos.HierarchicalILR',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2461,
  serialized_end=2478,
)


_CASCADE = _descriptor.Descriptor(
  name='Cascade',
  full_name='hierarchical_ood.protos.Cascade',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2480,
  serialized_end=2489,
)


_CASCADEFCHEAD = _descriptor.Descriptor(
  name='CascadeFCHead',
  full_name='hierarchical_ood.protos.CascadeFCHead',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='fc_head_sizes', full_name='hierarchical_ood.protos.CascadeFCHead.fc_head_sizes', index=0,
      number=1, type=5, cpp_type=1, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='split_fchead_layers', full_name='hierarchical_ood.protos.CascadeFCHead.split_fchead_layers', index=1,
      number=2, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=True,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2491,
  serialized_end=2568,
)


_MOSCONF = _descriptor.Descriptor(
  name='MOSConf',
  full_name='hierarchical_ood.protos.MOSConf',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='fc_head_sizes', full_name='hierarchical_ood.protos.MOSConf.fc_head_sizes', index=0,
      number=1, type=5, cpp_type=1, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2570,
  serialized_end=2606,
)


_AMSOFTMAX = _descriptor.Descriptor(
  name='AMSoftmax',
  full_name='hierarchical_ood.protos.AMSoftmax',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='fc_head_sizes', full_name='hierarchical_ood.protos.AMSoftmax.fc_head_sizes', index=0,
      number=1, type=5, cpp_type=1, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='feature_norm', full_name='hierarchical_ood.protos.AMSoftmax.feature_norm', index=1,
      number=2, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=True,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2608,
  serialized_end=2674,
)


_AMCASCADE = _descriptor.Descriptor(
  name='AMCascade',
  full_name='hierarchical_ood.protos.AMCascade',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='fc_head_sizes', full_name='hierarchical_ood.protos.AMCascade.fc_head_sizes', index=0,
      number=1, type=5, cpp_type=1, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\020\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='feature_norm', full_name='hierarchical_ood.protos.AMCascade.feature_norm', index=1,
      number=2, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=True,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='split_fchead_layers', full_name='hierarchical_ood.protos.AMCascade.split_fchead_layers', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2676,
  serialized_end=2778,
)


_LOSSRANGE = _descriptor.Descriptor(
  name='LossRange',
  full_name='hierarchical_ood.protos.LossRange',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='start', full_name='hierarchical_ood.protos.LossRange.start', index=0,
      number=1, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='end', full_name='hierarchical_ood.protos.LossRange.end', index=1,
      number=2, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2780,
  serialized_end=2825,
)


_CROSSENTROPY = _descriptor.Descriptor(
  name='CrossEntropy',
  full_name='hierarchical_ood.protos.CrossEntropy',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2827,
  serialized_end=2841,
)


_BINARYCROSSENTROPY = _descriptor.Descriptor(
  name='BinaryCrossEntropy',
  full_name='hierarchical_ood.protos.BinaryCrossEntropy',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2843,
  serialized_end=2863,
)


_HIERARCHICALBINARYCROSSENTROPY = _descriptor.Descriptor(
  name='HierarchicalBinaryCrossEntropy',
  full_name='hierarchical_ood.protos.HierarchicalBinaryCrossEntropy',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2865,
  serialized_end=2897,
)


_HIERARCHICALLOSS = _descriptor.Descriptor(
  name='HierarchicalLoss',
  full_name='hierarchical_ood.protos.HierarchicalLoss',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='synsetce_loss', full_name='hierarchical_ood.protos.HierarchicalLoss.synsetce_loss', index=0,
      number=1, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=True,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='softpred_loss', full_name='hierarchical_ood.protos.HierarchicalLoss.softpred_loss', index=1,
      number=2, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='outlier_exposure', full_name='hierarchical_ood.protos.HierarchicalLoss.outlier_exposure', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='synsetce_range', full_name='hierarchical_ood.protos.HierarchicalLoss.synsetce_range', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='softpred_range', full_name='hierarchical_ood.protos.HierarchicalLoss.softpred_range', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='outlier_exposure_range', full_name='hierarchical_ood.protos.HierarchicalLoss.outlier_exposure_range', index=5,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='weight_ce', full_name='hierarchical_ood.protos.HierarchicalLoss.weight_ce', index=6,
      number=7, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='focal_loss', full_name='hierarchical_ood.protos.HierarchicalLoss.focal_loss', index=7,
      number=8, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='depth_weight', full_name='hierarchical_ood.protos.HierarchicalLoss.depth_weight', index=8,
      number=9, type=8, cpp_type=7, label=1,
      has_default_value=True, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2900,
  serialized_end=3280,
)


_MOSLOSS = _descriptor.Descriptor(
  name='MOSLoss',
  full_name='hierarchical_ood.protos.MOSLoss',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3282,
  serialized_end=3291,
)


_AMSOFTMAXLOSS = _descriptor.Descriptor(
  name='AMSoftmaxLoss',
  full_name='hierarchical_ood.protos.AMSoftmaxLoss',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='s', full_name='hierarchical_ood.protos.AMSoftmaxLoss.s', index=0,
      number=1, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(30),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='m', full_name='hierarchical_ood.protos.AMSoftmaxLoss.m', index=1,
      number=2, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.4),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3293,
  serialized_end=3339,
)


_AMCASCADELOSS = _descriptor.Descriptor(
  name='AMCascadeLoss',
  full_name='hierarchical_ood.protos.AMCascadeLoss',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='s', full_name='hierarchical_ood.protos.AMCascadeLoss.s', index=0,
      number=1, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(30),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='m', full_name='hierarchical_ood.protos.AMCascadeLoss.m', index=1,
      number=2, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.5),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='s_factor', full_name='hierarchical_ood.protos.AMCascadeLoss.s_factor', index=2,
      number=3, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(1),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='m_factor', full_name='hierarchical_ood.protos.AMCascadeLoss.m_factor', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=True, default_value=float(0.4),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=3341,
  serialized_end=3431,
)

_MAIN.fields_by_name['model'].enum_type = _MAIN_MODEL
_MAIN.fields_by_name['train_params'].message_type = _TRAINPARAMS
_MAIN.fields_by_name['sgd'].message_type = _SGDPARAMS
_MAIN.fields_by_name['adam'].message_type = _ADAMPARAMS
_MAIN.fields_by_name['ce'].message_type = _CROSSENTROPY
_MAIN.fields_by_name['bce'].message_type = _BINARYCROSSENTROPY
_MAIN.fields_by_name['hbce'].message_type = _HIERARCHICALBINARYCROSSENTROPY
_MAIN.fields_by_name['hl'].message_type = _HIERARCHICALLOSS
_MAIN.fields_by_name['ml'].message_type = _MOSLOSS
_MAIN.fields_by_name['amsl'].message_type = _AMSOFTMAXLOSS
_MAIN.fields_by_name['amcl'].message_type = _AMCASCADELOSS
_MAIN.fields_by_name['softmax_mc'].message_type = _SOFTMAX
_MAIN.fields_by_name['ilr_mc'].message_type = _INDEPENDENTLOGISTICREGRESSORS
_MAIN.fields_by_name['hilr_mc'].message_type = _HIERARCHICALILR
_MAIN.fields_by_name['cascade_mc'].message_type = _CASCADE
_MAIN.fields_by_name['cascadefchead_mc'].message_type = _CASCADEFCHEAD
_MAIN.fields_by_name['softmaxfchead_mc'].message_type = _SOFTMAXFCHEAD
_MAIN.fields_by_name['mos_mc'].message_type = _MOSCONF
_MAIN.fields_by_name['ams_mc'].message_type = _AMSOFTMAX
_MAIN.fields_by_name['amc_mc'].message_type = _AMCASCADE
_MAIN_MODEL.containing_type = _MAIN
_MAIN.oneofs_by_name['optimizer'].fields.append(
  _MAIN.fields_by_name['sgd'])
_MAIN.fields_by_name['sgd'].containing_oneof = _MAIN.oneofs_by_name['optimizer']
_MAIN.oneofs_by_name['optimizer'].fields.append(
  _MAIN.fields_by_name['adam'])
_MAIN.fields_by_name['adam'].containing_oneof = _MAIN.oneofs_by_name['optimizer']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['ce'])
_MAIN.fields_by_name['ce'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['bce'])
_MAIN.fields_by_name['bce'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['hbce'])
_MAIN.fields_by_name['hbce'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['hl'])
_MAIN.fields_by_name['hl'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['ml'])
_MAIN.fields_by_name['ml'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['amsl'])
_MAIN.fields_by_name['amsl'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['loss'].fields.append(
  _MAIN.fields_by_name['amcl'])
_MAIN.fields_by_name['amcl'].containing_oneof = _MAIN.oneofs_by_name['loss']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['softmax_mc'])
_MAIN.fields_by_name['softmax_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['ilr_mc'])
_MAIN.fields_by_name['ilr_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['hilr_mc'])
_MAIN.fields_by_name['hilr_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['cascade_mc'])
_MAIN.fields_by_name['cascade_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['cascadefchead_mc'])
_MAIN.fields_by_name['cascadefchead_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['softmaxfchead_mc'])
_MAIN.fields_by_name['softmaxfchead_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['mos_mc'])
_MAIN.fields_by_name['mos_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['ams_mc'])
_MAIN.fields_by_name['ams_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_MAIN.oneofs_by_name['model_config'].fields.append(
  _MAIN.fields_by_name['amc_mc'])
_MAIN.fields_by_name['amc_mc'].containing_oneof = _MAIN.oneofs_by_name['model_config']
_HIERARCHICALLOSS.fields_by_name['synsetce_range'].message_type = _LOSSRANGE
_HIERARCHICALLOSS.fields_by_name['softpred_range'].message_type = _LOSSRANGE
_HIERARCHICALLOSS.fields_by_name['outlier_exposure_range'].message_type = _LOSSRANGE
DESCRIPTOR.message_types_by_name['Main'] = _MAIN
DESCRIPTOR.message_types_by_name['TrainParams'] = _TRAINPARAMS
DESCRIPTOR.message_types_by_name['SGDParams'] = _SGDPARAMS
DESCRIPTOR.message_types_by_name['AdamParams'] = _ADAMPARAMS
DESCRIPTOR.message_types_by_name['Softmax'] = _SOFTMAX
DESCRIPTOR.message_types_by_name['SoftmaxFCHead'] = _SOFTMAXFCHEAD
DESCRIPTOR.message_types_by_name['IndependentLogisticRegressors'] = _INDEPENDENTLOGISTICREGRESSORS
DESCRIPTOR.message_types_by_name['HierarchicalILR'] = _HIERARCHICALILR
DESCRIPTOR.message_types_by_name['Cascade'] = _CASCADE
DESCRIPTOR.message_types_by_name['CascadeFCHead'] = _CASCADEFCHEAD
DESCRIPTOR.message_types_by_name['MOSConf'] = _MOSCONF
DESCRIPTOR.message_types_by_name['AMSoftmax'] = _AMSOFTMAX
DESCRIPTOR.message_types_by_name['AMCascade'] = _AMCASCADE
DESCRIPTOR.message_types_by_name['LossRange'] = _LOSSRANGE
DESCRIPTOR.message_types_by_name['CrossEntropy'] = _CROSSENTROPY
DESCRIPTOR.message_types_by_name['BinaryCrossEntropy'] = _BINARYCROSSENTROPY
DESCRIPTOR.message_types_by_name['HierarchicalBinaryCrossEntropy'] = _HIERARCHICALBINARYCROSSENTROPY
DESCRIPTOR.message_types_by_name['HierarchicalLoss'] = _HIERARCHICALLOSS
DESCRIPTOR.message_types_by_name['MOSLoss'] = _MOSLOSS
DESCRIPTOR.message_types_by_name['AMSoftmaxLoss'] = _AMSOFTMAXLOSS
DESCRIPTOR.message_types_by_name['AMCascadeLoss'] = _AMCASCADELOSS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Main = _reflection.GeneratedProtocolMessageType('Main', (_message.Message,), {
  'DESCRIPTOR' : _MAIN,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.Main)
  })
_sym_db.RegisterMessage(Main)

TrainParams = _reflection.GeneratedProtocolMessageType('TrainParams', (_message.Message,), {
  'DESCRIPTOR' : _TRAINPARAMS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.TrainParams)
  })
_sym_db.RegisterMessage(TrainParams)

SGDParams = _reflection.GeneratedProtocolMessageType('SGDParams', (_message.Message,), {
  'DESCRIPTOR' : _SGDPARAMS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.SGDParams)
  })
_sym_db.RegisterMessage(SGDParams)

AdamParams = _reflection.GeneratedProtocolMessageType('AdamParams', (_message.Message,), {
  'DESCRIPTOR' : _ADAMPARAMS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.AdamParams)
  })
_sym_db.RegisterMessage(AdamParams)

Softmax = _reflection.GeneratedProtocolMessageType('Softmax', (_message.Message,), {
  'DESCRIPTOR' : _SOFTMAX,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.Softmax)
  })
_sym_db.RegisterMessage(Softmax)

SoftmaxFCHead = _reflection.GeneratedProtocolMessageType('SoftmaxFCHead', (_message.Message,), {
  'DESCRIPTOR' : _SOFTMAXFCHEAD,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.SoftmaxFCHead)
  })
_sym_db.RegisterMessage(SoftmaxFCHead)

IndependentLogisticRegressors = _reflection.GeneratedProtocolMessageType('IndependentLogisticRegressors', (_message.Message,), {
  'DESCRIPTOR' : _INDEPENDENTLOGISTICREGRESSORS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.IndependentLogisticRegressors)
  })
_sym_db.RegisterMessage(IndependentLogisticRegressors)

HierarchicalILR = _reflection.GeneratedProtocolMessageType('HierarchicalILR', (_message.Message,), {
  'DESCRIPTOR' : _HIERARCHICALILR,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.HierarchicalILR)
  })
_sym_db.RegisterMessage(HierarchicalILR)

Cascade = _reflection.GeneratedProtocolMessageType('Cascade', (_message.Message,), {
  'DESCRIPTOR' : _CASCADE,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.Cascade)
  })
_sym_db.RegisterMessage(Cascade)

CascadeFCHead = _reflection.GeneratedProtocolMessageType('CascadeFCHead', (_message.Message,), {
  'DESCRIPTOR' : _CASCADEFCHEAD,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.CascadeFCHead)
  })
_sym_db.RegisterMessage(CascadeFCHead)

MOSConf = _reflection.GeneratedProtocolMessageType('MOSConf', (_message.Message,), {
  'DESCRIPTOR' : _MOSCONF,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.MOSConf)
  })
_sym_db.RegisterMessage(MOSConf)

AMSoftmax = _reflection.GeneratedProtocolMessageType('AMSoftmax', (_message.Message,), {
  'DESCRIPTOR' : _AMSOFTMAX,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.AMSoftmax)
  })
_sym_db.RegisterMessage(AMSoftmax)

AMCascade = _reflection.GeneratedProtocolMessageType('AMCascade', (_message.Message,), {
  'DESCRIPTOR' : _AMCASCADE,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.AMCascade)
  })
_sym_db.RegisterMessage(AMCascade)

LossRange = _reflection.GeneratedProtocolMessageType('LossRange', (_message.Message,), {
  'DESCRIPTOR' : _LOSSRANGE,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.LossRange)
  })
_sym_db.RegisterMessage(LossRange)

CrossEntropy = _reflection.GeneratedProtocolMessageType('CrossEntropy', (_message.Message,), {
  'DESCRIPTOR' : _CROSSENTROPY,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.CrossEntropy)
  })
_sym_db.RegisterMessage(CrossEntropy)

BinaryCrossEntropy = _reflection.GeneratedProtocolMessageType('BinaryCrossEntropy', (_message.Message,), {
  'DESCRIPTOR' : _BINARYCROSSENTROPY,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.BinaryCrossEntropy)
  })
_sym_db.RegisterMessage(BinaryCrossEntropy)

HierarchicalBinaryCrossEntropy = _reflection.GeneratedProtocolMessageType('HierarchicalBinaryCrossEntropy', (_message.Message,), {
  'DESCRIPTOR' : _HIERARCHICALBINARYCROSSENTROPY,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.HierarchicalBinaryCrossEntropy)
  })
_sym_db.RegisterMessage(HierarchicalBinaryCrossEntropy)

HierarchicalLoss = _reflection.GeneratedProtocolMessageType('HierarchicalLoss', (_message.Message,), {
  'DESCRIPTOR' : _HIERARCHICALLOSS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.HierarchicalLoss)
  })
_sym_db.RegisterMessage(HierarchicalLoss)

MOSLoss = _reflection.GeneratedProtocolMessageType('MOSLoss', (_message.Message,), {
  'DESCRIPTOR' : _MOSLOSS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.MOSLoss)
  })
_sym_db.RegisterMessage(MOSLoss)

AMSoftmaxLoss = _reflection.GeneratedProtocolMessageType('AMSoftmaxLoss', (_message.Message,), {
  'DESCRIPTOR' : _AMSOFTMAXLOSS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.AMSoftmaxLoss)
  })
_sym_db.RegisterMessage(AMSoftmaxLoss)

AMCascadeLoss = _reflection.GeneratedProtocolMessageType('AMCascadeLoss', (_message.Message,), {
  'DESCRIPTOR' : _AMCASCADELOSS,
  '__module__' : 'protos.main_pb2'
  # @@protoc_insertion_point(class_scope:hierarchical_ood.protos.AMCascadeLoss)
  })
_sym_db.RegisterMessage(AMCascadeLoss)


_SGDPARAMS.fields_by_name['lr_step']._options = None
_ADAMPARAMS.fields_by_name['lr_step']._options = None
_SOFTMAXFCHEAD.fields_by_name['fc_head_sizes']._options = None
_CASCADEFCHEAD.fields_by_name['fc_head_sizes']._options = None
_MOSCONF.fields_by_name['fc_head_sizes']._options = None
_AMSOFTMAX.fields_by_name['fc_head_sizes']._options = None
_AMCASCADE.fields_by_name['fc_head_sizes']._options = None
# @@protoc_insertion_point(module_scope)
