Potpov commited on
Commit
269a69a
·
verified ·
1 Parent(s): de9a5e7

Upload figr8/art/config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. figr8/art/config.yaml +53 -52
figr8/art/config.yaml CHANGED
@@ -1,66 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  data_params:
2
- csv_path: /raid/marco.cipriano/data/SVG/Grimoire/figr8/tokenized/VSQ_nseg=4_ncode=2_lseg=5.0_alpha=0.1None/split.csv
3
  dataset: figr8
4
- fraction_of_blank_inputs: 0.1
5
- fraction_of_class_only_inputs: 0.1
6
- fraction_of_full_description_inputs: 0.55
7
- fraction_of_iconshop_chatgpt_inputs: 0.25
8
- grid_size: 256
 
9
  max_text_token_length: 50
10
  min_context_length: 10
11
- num_workers: 32
 
 
 
12
  shuffle_vq_order: false
13
- train_batch_size: 16
14
  use_pre_computed_text_tokens_only: false
15
- val_batch_size: 16
16
- vq_token_npy_path: /raid/marco.cipriano/data/SVG/Grimoire/figr8/tokenized/VSQ_nseg=4_ncode=2_lseg=5.0_alpha=0.1None/tokenized.npy
17
- width: 128
18
  exp_params:
19
  lr: 0.0006
20
- manual_seed: 42
21
- post_process: false
22
  scheduler_gamma: 0.96
 
23
  train_log_interval: 0.25
24
  val_log_interval: 0.5
25
- warmup_steps: 50000
26
- weight_decay: 0.0001
27
- logging_params:
28
- author: Marco
29
- entity: aiis-chair
30
- name: ART_nseg=4_ncode=2_lseg=5_alpha01_256gri
31
- project: thesis
32
- save_dir: /raid/marco.cipriano/results/svg/Grimoire/ART/figr8/nseg=4_ncode=2_lseg=5_alpha01_256grid
33
- version: 0
34
- model_params:
35
- depth: 16
36
- dim: 512
37
- ff_mult: 2
38
- heads: 8
39
- max_seq_len: 562
40
- name: VQ_SVG_Stage2
41
- text_encoder_str: google/bert_uncased_L-12_H-512_A-8
42
- use_alibi_positional_bias: false
43
- stage1_params:
44
- alpha: 0.1
45
- checkpoint_path: /raid/marco.cipriano/results/svg/Grimoire/VSQ/figr8/VSQ_nseg=4_ncode=2_lseg=5.0_alpha=0.1None/checkpoints/last.ckpt
46
- codebook_size: 4096
47
- fsq_levels:
48
- - 7
49
- - 5
50
- - 5
51
- - 5
52
- - 5
53
- image_loss: mse
54
- lseg: 5.0
55
- name: VSQ
56
- num_codes_per_shape: 1
57
- num_segments: 4
58
- pred_color: false
59
- quantized_dim: 512
60
- vector_decoder_model: mlp
61
- vq_method: fsq
62
  trainer_params:
63
- accumulate_grad_batches: 2
64
  devices: -1
65
  max_epochs: 100
66
-
 
 
 
 
 
 
 
 
 
 
1
+ stage1_params:
2
+ name: VSQ
3
+ vector_decoder_model: mlp
4
+ quantized_dim: 512
5
+ codebook_size: 4096
6
+ image_loss: mse
7
+ vq_method: fsq
8
+ fsq_levels:
9
+ - 7
10
+ - 5
11
+ - 5
12
+ - 5
13
+ - 5
14
+ num_segments: 4
15
+ num_codes_per_shape: 2
16
+ alpha: 0.1
17
+ pred_color: false
18
+ lseg: 5.0
19
+ checkpoint_path: null
20
+ model_params:
21
+ name: VQ_SVG_Stage2
22
+ max_seq_len: 562
23
+ dim: 512
24
+ ff_mult: 2
25
+ depth: 16
26
+ heads: 8
27
+ text_encoder_str: google/bert_uncased_L-12_H-512_A-8
28
+ use_alibi_positional_bias: false
29
  data_params:
 
30
  dataset: figr8
31
+ csv_path: null
32
+ vq_token_npy_path: null
33
+ train_batch_size: 16
34
+ val_batch_size: 16
35
+ num_workers: 32
36
+ width: 128
37
  max_text_token_length: 50
38
  min_context_length: 10
39
+ fraction_of_class_only_inputs: 0.1
40
+ fraction_of_blank_inputs: 0.1
41
+ fraction_of_iconshop_chatgpt_inputs: 0.25
42
+ fraction_of_full_description_inputs: 0.55
43
  shuffle_vq_order: false
 
44
  use_pre_computed_text_tokens_only: false
45
+ grid_size: 256
 
 
46
  exp_params:
47
  lr: 0.0006
48
+ weight_decay: 0.0001
 
49
  scheduler_gamma: 0.96
50
+ warmup_steps: 50000
51
  train_log_interval: 0.25
52
  val_log_interval: 0.5
53
+ manual_seed: 42
54
+ post_process: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  trainer_params:
 
56
  devices: -1
57
  max_epochs: 100
58
+ accumulate_grad_batches: 2
59
+ logging_params:
60
+ entity: aiis-chair
61
+ project: grimoire-2
62
+ save_dir: null
63
+ name: ART_S4C2G256
64
+ version: 0
65
+ author: Marco
66
+ _note: Correct config for the released figr8 ART (matches run that produced figr8/art/last.ckpt).
67
+ stage1_params here correctly rebuilds the figr8 VSQ.