newsyctw commited on
Commit
c9e18c5
1 Parent(s): 2c59e76
Files changed (1) hide show
  1. sampling.json +47 -0
sampling.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "project": "Common",
3
+ "batch": 128,
4
+ "epoch": 50,
5
+ "learning_rate": 0.0002,
6
+ "clean_rate": 1.0,
7
+ "poison_rate": 0.5,
8
+ "trigger": "NONE",
9
+ "target": "FASHION",
10
+ "dataset_load_mode": "FIXED",
11
+ "gpu": "3",
12
+ "ckpt": "res_DDPM-CIFAR10-32_CIFAR10_ep50_c1.0_p0.5_NONE-FASHION_new-set",
13
+ "overwrite": true,
14
+ "postfix": "new-set",
15
+ "fclip": "w",
16
+ "save_image_epochs": 20,
17
+ "save_model_epochs": 5,
18
+ "is_save_all_model_epochs": false,
19
+ "sample_ep": null,
20
+ "result": ".",
21
+ "eval_sample_n": 16,
22
+ "measure_sample_n": 2048,
23
+ "batch_32": 128,
24
+ "batch_256": 64,
25
+ "gradient_accumulation_steps": 1,
26
+ "learning_rate_32_scratch": 0.0002,
27
+ "learning_rate_256_scratch": 2e-05,
28
+ "lr_warmup_steps": 500,
29
+ "mixed_precision": "fp16",
30
+ "push_to_hub": false,
31
+ "hub_private_repo": false,
32
+ "overwrite_output_dir": true,
33
+ "seed": 0,
34
+ "dataset_path": "datasets",
35
+ "ckpt_dir": "ckpt",
36
+ "data_ckpt_dir": "data.ckpt",
37
+ "ep_model_dir": "epochs",
38
+ "ckpt_path": null,
39
+ "data_ckpt_path": null,
40
+ "mode": "sampling",
41
+ "dataset": "CIFAR10",
42
+ "output_dir": "res_DDPM-CIFAR10-32_CIFAR10_ep50_c1.0_p0.5_NONE-FASHION_new-set",
43
+ "device_ids": [
44
+ 0
45
+ ],
46
+ "clip": true
47
+ }