Esempio n. 1
0
def cate_res18_inst_prep(args):
    args = basic_res18(args)
    args.nport = 27007
    args.dbname = 'cate_aug'
    args.collname = 'res18'
    args.expId = 'inst_prep'
    args.resnet_prep = False
    args.resnet_prep_size = False
    args.lr_boundaries = "160000,310000,460000"
    args.train_num_steps = 510000
    return args
Esempio n. 2
0
def cate_res50(args):
    args = basic_res18(args)
    args.nport = 27007
    args.dbname = 'cate_aug'
    args.collname = 'res50'
    args.expId = 'ctl'
    args.resnet_prep = True
    args.resnet_prep_size = True
    args.lr_boundaries = "160000,310000,460000"
    args.train_num_steps = 510000
    args.network_func = 'get_resnet_50'
    return args
Esempio n. 3
0
def cate_res18_exp0(args):
    args = basic_res18(args)
    args.nport = 27007
    args.dbname = 'cate_aug'
    args.collname = 'res18'
    args.expId = 'exp_seed0'
    args.resnet_prep = True
    args.resnet_prep_size = True
    args.lr_boundaries = "160000,310000,460000"
    args.train_num_steps = 510000
    args.seed = 0
    return args
Esempio n. 4
0
def cate_sobel_res18(args):
    args = basic_res18(args)
    args.nport = 27007
    args.dbname = 'cate_aug'
    args.collname = 'res18'
    args.input_mode = 'sobel'
    args.expId = 'sobel'
    args.resnet_prep = True
    args.resnet_prep_size = True
    args.lr_boundaries = "160000,310000,460000"
    args.train_num_steps = 510000
    return args
Esempio n. 5
0
def part5_cate_res18(args):
    args = basic_res18(args)
    args.dbname = 'combine_instance'
    args.expId = 'part5_cate_res18'
    args.whichimagenet = 'part5'
    return args