Example #1
0
def inst_mt_res18_faster(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)
    args = basic_inst_setting(args)
    args = mt_fst_ramp_down_setting(args)
    args.network_func = 'get_mean_teacher_and_inst_resnet_18'
    return args
Example #2
0
def mt_part3_res18(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)
    args = mt_fst_ramp_down_setting(args)

    args.whichimagenet = 'part3'
    args.expId = 'mt_part3_res18'
    return args
Example #3
0
def mt_part10_res18_inst(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)
    args = mt_fst_ramp_down_setting(args)
    args = mt_load_from_inst(args)

    args.whichimagenet = 'part10'
    args.expId = 'mt_part10_res18_inst'
    return args
Example #4
0
def mean_teacher_res18(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)

    args.weight_decay = 1e-4
    args.init_lr = 0.03
    args.network_func = 'get_mean_teacher_resnet_18'

    args.dbname = 'combine_instance'
    args.expId = 'res18_mt_0'
    return args
Example #5
0
def inst_and_mt_rmp_dwn_res18(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)
    args = basic_inst_setting(args)

    args.dbname = 'combine_instance'
    args.expId = 'inst_and_mt_rmp_dwn_res18'
    args.network_func = 'get_mean_teacher_and_inst_resnet_18'
    args.mt_ramp_down = 1
    args.mt_ramp_down_epoch = 110
    args.target_lr = 0.0125
    return args
Example #6
0
def inst_and_mean_teacher_res18(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)
    args = basic_inst_setting(args)

    args.dbname = 'combine_instance'
    args.expId = 'res18_inst_mt_cont'
    args.network_func = 'get_mean_teacher_and_inst_resnet_18'

    args.lr_boundaries = "480000"
    args.loadexpId = 'res18_inst_mt_1'
    args.loadstep = 480480
    return args
Example #7
0
def mt_part10_res50(args):
    args = basic_setting(args)
    args = basic_mean_teacher(args)
    args = bs_128_setting(args)
    args = mt_fst_ramp_down_setting(args)

    args.whichimagenet = 'part10'
    args.expId = 'mt_part10_res50_fx'
    args.nport = 27006
    args.network_func = 'get_mean_teacher_resnet_50'
    args.mt_ramp_down_epoch = 120
    args.fre_filter = 100100
    args.fre_cache_filter = 10010
    return args