wzekai99 commited on
Commit
df4e7cf
·
1 Parent(s): 07e8497

SVHN and TinyImagenet

Browse files
argtxt/svhn_linf_wrn28-10.txt ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "augment": true,
3
+ "batch_size": 2048,
4
+ "batch_size_validation": 512,
5
+ "data_dir": "svhn-data",
6
+ "log_dir": "svhn_eps_models",
7
+ "data": "svhns",
8
+ "desc": "WRN28-10Swish_cifar10s_lr0p2_TRADES6_epoch1600_bs2048_fraction0p8_ls0p1_seed0_attackstep1.25",
9
+ "model": "wrn-28-10-swish",
10
+ "normalize": false,
11
+ "pretrained_file": null,
12
+ "num_adv_epochs": 1600,
13
+ "adv_eval_freq": 25,
14
+ "beta": 6.0,
15
+ "lr": 0.2,
16
+ "weight_decay": 0.0005,
17
+ "scheduler": "cosinew",
18
+ "nesterov": true,
19
+ "clip_grad": null,
20
+ "attack": "linf-pgd",
21
+ "attack_eps": 0.03137254901960784,
22
+ "attack_step": 0.004901960784313725,
23
+ "attack_iter": 10,
24
+ "keep_clean": false,
25
+ "debug": false,
26
+ "mart": false,
27
+ "unsup_fraction": 0.8,
28
+ "aux_data_filename": "../edm/npz_output/svhn_50m.npz",
29
+ "seed": 0,
30
+ "resume_path": "",
31
+ "LSE": false,
32
+ "ls": 0.1,
33
+ "clip_value": 0,
34
+ "CutMix": false,
35
+ "tau": 0.995
36
+ }
argtxt/tiny_linf_wrn28-10.txt ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "augment": "base",
3
+ "batch_size": 512,
4
+ "batch_size_validation": 512,
5
+ "data_dir": "dataset-data",
6
+ "log_dir": "tiny_edm_models",
7
+ "data": "tiny-imagenets",
8
+ "desc": "WRN28-10Swish_tiny_lr0p2_TRADES8_epoch400_bs512_fraction0p8_ls0p1_seed0_attackstep2_edm",
9
+ "model": "wrn-28-10-swish",
10
+ "normalize": false,
11
+ "pretrained_file": null,
12
+ "num_adv_epochs": 400,
13
+ "adv_eval_freq": 25,
14
+ "beta": 8.0,
15
+ "lr": 0.2,
16
+ "weight_decay": 0.0005,
17
+ "scheduler": "cosinew",
18
+ "nesterov": true,
19
+ "clip_grad": null,
20
+ "attack": "linf-pgd",
21
+ "attack_eps": 0.03137254901960784,
22
+ "attack_step": 0.00784313725490196,
23
+ "attack_iter": 10,
24
+ "keep_clean": false,
25
+ "debug": false,
26
+ "mart": false,
27
+ "unsup_fraction": 0.8,
28
+ "aux_data_filename": "./edm_data/tiny/1m.npz",
29
+ "seed": 0,
30
+ "consistency": false,
31
+ "cons_lambda": 1.0,
32
+ "cons_tem": 0.5,
33
+ "resume_path": "",
34
+ "LSE": false,
35
+ "ls": 0.1,
36
+ "clip_value": 0,
37
+ "CutMix": false,
38
+ "fast_at": false,
39
+ "traversal": false,
40
+ "tau": 0.995
41
+ }
argtxt/tiny_linf_wrn28-10_ori.txt ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "augment": "base",
3
+ "batch_size": 512,
4
+ "batch_size_validation": 512,
5
+ "data_dir": "dataset-data",
6
+ "log_dir": "tiny_edm_models",
7
+ "data": "tiny-imagenets",
8
+ "desc": "WRN28-10Swish_tiny_lr0p2_TRADES8_epoch400_bs512_fraction0p6_ls0p1_seed0_attackstep2_tiny3",
9
+ "model": "wrn-28-10-swish",
10
+ "normalize": false,
11
+ "pretrained_file": null,
12
+ "num_adv_epochs": 400,
13
+ "adv_eval_freq": 25,
14
+ "beta": 8.0,
15
+ "lr": 0.2,
16
+ "weight_decay": 0.0005,
17
+ "scheduler": "cosinew",
18
+ "nesterov": true,
19
+ "clip_grad": null,
20
+ "attack": "linf-pgd",
21
+ "attack_eps": 0.03137254901960784,
22
+ "attack_step": 0.00784313725490196,
23
+ "attack_iter": 10,
24
+ "keep_clean": false,
25
+ "debug": false,
26
+ "mart": false,
27
+ "unsup_fraction": 0.6,
28
+ "aux_data_filename": "../edm/output_tiny3/tiny_1m.npz",
29
+ "seed": 0,
30
+ "consistency": false,
31
+ "cons_lambda": 1.0,
32
+ "cons_tem": 0.5,
33
+ "resume_path": "",
34
+ "LSE": false,
35
+ "ls": 0.1,
36
+ "clip_value": 0,
37
+ "CutMix": false,
38
+ "fast_at": false,
39
+ "traversal": false,
40
+ "tau": 0.995
41
+ }
checkpoint/svhn_linf_wrn28-10.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3496c8890abf8388a9a39e7838cc9c987f35932fb800935fce3b694216feaf5
3
+ size 437966532
checkpoint/tiny_linf_wrn28-10.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:388ba2af828ba4a7e0a73ea07e9359ec8743cb7e01dcf79536c6fe7590e7e1d9
3
+ size 439417547
checkpoint/tiny_linf_wrn28-10_ori.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48e65b4c5b586c3e5858809a1c3886c76415dcc7d0447ef8ae682d4174e46d93
3
+ size 439417547
tiny_ori/edm-tiny-64x64-cond-vp.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39801772d1e5e33ffde737862274a23b81040654c342d7b3cc65126cc31cb9ea
3
+ size 247621325
tiny_ori/tiny_1m.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea6a734f7ed0fceddfa661a3529f73c497300525bde6e75692ca541038b29122
3
+ size 12296000614
tiny_ori/training_options.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_kwargs": {
3
+ "class_name": "training.dataset.ImageFolderDataset",
4
+ "path": "datasets/tiny-64x64.zip",
5
+ "use_labels": true,
6
+ "xflip": false,
7
+ "cache": true,
8
+ "resolution": 64,
9
+ "max_size": 100000
10
+ },
11
+ "data_loader_kwargs": {
12
+ "pin_memory": true,
13
+ "num_workers": 1,
14
+ "prefetch_factor": 2
15
+ },
16
+ "network_kwargs": {
17
+ "model_type": "SongUNet",
18
+ "embedding_type": "positional",
19
+ "encoder_type": "standard",
20
+ "decoder_type": "standard",
21
+ "channel_mult_noise": 1,
22
+ "resample_filter": [
23
+ 1,
24
+ 1
25
+ ],
26
+ "model_channels": 128,
27
+ "channel_mult": [
28
+ 1,
29
+ 2,
30
+ 2,
31
+ 2
32
+ ],
33
+ "class_name": "training.networks.EDMPrecond",
34
+ "augment_dim": 9,
35
+ "dropout": 0.05,
36
+ "use_fp16": false
37
+ },
38
+ "loss_kwargs": {
39
+ "class_name": "training.loss.EDMLoss"
40
+ },
41
+ "optimizer_kwargs": {
42
+ "class_name": "torch.optim.Adam",
43
+ "lr": 0.0002,
44
+ "betas": [
45
+ 0.9,
46
+ 0.999
47
+ ],
48
+ "eps": 1e-08
49
+ },
50
+ "augment_kwargs": {
51
+ "class_name": "training.augment.AugmentPipe",
52
+ "p": 0.15,
53
+ "xflip": 100000000.0,
54
+ "yflip": 1,
55
+ "scale": 1,
56
+ "rotate_frac": 1,
57
+ "aniso": 1,
58
+ "translate_frac": 1
59
+ },
60
+ "total_kimg": 200000,
61
+ "ema_halflife_kimg": 500,
62
+ "batch_size": 256,
63
+ "batch_gpu": null,
64
+ "loss_scaling": 1.0,
65
+ "cudnn_benchmark": true,
66
+ "kimg_per_tick": 50,
67
+ "snapshot_ticks": 50,
68
+ "state_dump_ticks": 500,
69
+ "seed": 316612882,
70
+ "run_dir": "training-runs/tiny-64x64-cond-ddpmpp-edm-gpus4-batch256-fp32"
71
+ }
tiny_ori_long/edm-tiny-64x64-cond-vp.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66edf8a5944822a0c644fa03ef9e15cac3522576e6d61bcbd428ab9677556774
3
+ size 223280656
tiny_ori_long/tiny_1m.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25a9551beafd63fac03aafdf723985785157600c76833a04a50fdcd5faca0100
3
+ size 12296000614
tiny_ori_long/training_options.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_kwargs": {
3
+ "class_name": "training.dataset.ImageFolderDataset",
4
+ "path": "datasets/tiny-64x64.zip",
5
+ "use_labels": true,
6
+ "xflip": false,
7
+ "cache": true,
8
+ "resolution": 64,
9
+ "max_size": 100000
10
+ },
11
+ "data_loader_kwargs": {
12
+ "pin_memory": true,
13
+ "num_workers": 1,
14
+ "prefetch_factor": 2
15
+ },
16
+ "network_kwargs": {
17
+ "model_type": "SongUNet",
18
+ "embedding_type": "positional",
19
+ "encoder_type": "standard",
20
+ "decoder_type": "standard",
21
+ "channel_mult_noise": 1,
22
+ "resample_filter": [
23
+ 1,
24
+ 1
25
+ ],
26
+ "model_channels": 128,
27
+ "channel_mult": [
28
+ 2,
29
+ 2,
30
+ 2
31
+ ],
32
+ "class_name": "training.networks.EDMPrecond",
33
+ "augment_dim": 9,
34
+ "dropout": 0.13,
35
+ "use_fp16": false
36
+ },
37
+ "loss_kwargs": {
38
+ "class_name": "training.loss.EDMLoss"
39
+ },
40
+ "optimizer_kwargs": {
41
+ "class_name": "torch.optim.Adam",
42
+ "lr": 0.001,
43
+ "betas": [
44
+ 0.9,
45
+ 0.999
46
+ ],
47
+ "eps": 1e-08
48
+ },
49
+ "augment_kwargs": {
50
+ "class_name": "training.augment.AugmentPipe",
51
+ "p": 0.12,
52
+ "xflip": 100000000.0,
53
+ "yflip": 1,
54
+ "scale": 1,
55
+ "rotate_frac": 1,
56
+ "aniso": 1,
57
+ "translate_frac": 1
58
+ },
59
+ "total_kimg": 200000,
60
+ "ema_halflife_kimg": 500,
61
+ "batch_size": 256,
62
+ "batch_gpu": null,
63
+ "loss_scaling": 1.0,
64
+ "cudnn_benchmark": true,
65
+ "kimg_per_tick": 50,
66
+ "snapshot_ticks": 50,
67
+ "state_dump_ticks": 500,
68
+ "seed": 479076514,
69
+ "run_dir": "training-runs/tiny-64x64-cond-ddpmpp-edm-gpus4-batch256-fp32"
70
+ }