def ex_2_1_2(): a = ProjectVariable() a.experiment_name = 'experiment 2_1_2: prid450, cost_module_type=cosine, lr=0.00001' a.use_gpu = '1' a.log_file = 'log_%s.txt' % a.use_gpu a.epochs = 100 a.iterations = 20 a.dataset_test = 'prid450' a.ranking_number_test = 100 a.cost_module_type = 'cosine' a.use_cyclical_learning_rate = False a.optimizer = 'rms' scn.super_main(a)
def ex_2_0_1(): a = ProjectVariable() a.experiment_name = 'experiment 2_0_1: grid, cost_module_type=euclidean, lr=0.00001' a.use_gpu = '1' a.log_file = 'log_%s.txt' % a.use_gpu a.epochs = 100 a.iterations = 20 a.dataset_test = 'grid' a.ranking_number_test = 100 a.cost_module_type = 'euclidean' a.use_cyclical_learning_rate = False a.optimizer = 'rms' scn.super_main(a)
def create_siamese_network(): adjustable = ProjectVariable() adjustable.ranking_number_test = 100 adjustable.cost_module_type = 'euclidean' model = scn.create_siamese_network(adjustable) return model