def set_template (OOO0O0OO0O00OO0O0 ):#line:1
    if OOO0O0OO0O00OO0O0 .template .find ('jpeg')>=0 :#line:3
        OOO0O0OO0O00OO0O0 .data_train ='DIV2K_jpeg'#line:4
        OOO0O0OO0O00OO0O0 .data_test ='DIV2K_jpeg'#line:5
        OOO0O0OO0O00OO0O0 .epochs =200 #line:6
        OOO0O0OO0O00OO0O0 .lr_decay =100 #line:7
    if OOO0O0OO0O00OO0O0 .template .find ('EDSR_paper')>=0 :#line:9
        OOO0O0OO0O00OO0O0 .model ='EDSR'#line:10
        OOO0O0OO0O00OO0O0 .n_resblocks =32 #line:11
        OOO0O0OO0O00OO0O0 .n_feats =256 #line:12
        OOO0O0OO0O00OO0O0 .res_scale =0.1 #line:13
    if OOO0O0OO0O00OO0O0 .template .find ('MDSR')>=0 :#line:15
        OOO0O0OO0O00OO0O0 .model ='MDSR'#line:16
        OOO0O0OO0O00OO0O0 .patch_size =48 #line:17
        OOO0O0OO0O00OO0O0 .epochs =650 #line:18
    if OOO0O0OO0O00OO0O0 .template .find ('DDBPN')>=0 :#line:20
        OOO0O0OO0O00OO0O0 .model ='DDBPN'#line:21
        OOO0O0OO0O00OO0O0 .patch_size =128 #line:22
        OOO0O0OO0O00OO0O0 .scale ='4'#line:23
        OOO0O0OO0O00OO0O0 .data_test ='Set5'#line:25
        OOO0O0OO0O00OO0O0 .batch_size =20 #line:27
        OOO0O0OO0O00OO0O0 .epochs =1000 #line:28
        OOO0O0OO0O00OO0O0 .lr_decay =500 #line:29
        OOO0O0OO0O00OO0O0 .gamma =0.1 #line:30
        OOO0O0OO0O00OO0O0 .weight_decay =1e-4 #line:31
        OOO0O0OO0O00OO0O0 .loss ='1*MSE'#line:33
    if OOO0O0OO0O00OO0O0 .template .find ('GAN')>=0 :#line:35
        OOO0O0OO0O00OO0O0 .epochs =200 #line:36
        OOO0O0OO0O00OO0O0 .lr =5e-5 #line:37
        OOO0O0OO0O00OO0O0 .lr_decay =150 #line:38
    if OOO0O0OO0O00OO0O0 .template .find ('RCAN')>=0 :#line:40
        OOO0O0OO0O00OO0O0 .model ='RCAN'#line:41
        OOO0O0OO0O00OO0O0 .n_resgroups =10 #line:42
        OOO0O0OO0O00OO0O0 .n_resblocks =20 #line:43
        OOO0O0OO0O00OO0O0 .n_feats =64 #line:44
        OOO0O0OO0O00OO0O0 .chop =True #line:45
