AlbertTan commited on
Commit
2dda330
·
verified ·
1 Parent(s): 464905c

Upload 4 files

Browse files
logs/lm/lm/checkpoints/lm.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31c19380361d1b40db1995b9b00701888f25c9d521250eff70d8182ea131a6a9
3
+ size 1190969018
logs/lm/lm/hparams.yaml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ all_config:
2
+ trainer:
3
+ accelerator: auto
4
+ target: lightning.pytorch.trainer.Trainer
5
+ devices:
6
+ - 0
7
+ - 1
8
+ - 2
9
+ - 3
10
+ - 4
11
+ - 5
12
+ - 6
13
+ - 7
14
+ max_steps: -1
15
+ check_val_every_n_epoch: 1
16
+ log_every_n_steps: 50
17
+ num_sanity_val_steps: 2
18
+ gradient_clip_val: 0.5
19
+ precision: 32-true
20
+ logger:
21
+ target: lightning.pytorch.loggers.TensorBoardLogger
22
+ save_dir: logs/lm_v3
23
+ name: lm_v3
24
+ version: ft
25
+ max_epochs: 100
26
+ callbacks:
27
+ - target: lightning.pytorch.callbacks.ModelCheckpoint
28
+ save_last: true
29
+ save_top_k: 3
30
+ mode: max
31
+ monitor: monitor
32
+ auto_insert_metric_name: false
33
+ filename: epoch{epoch}__step{step}__monitor{monitor:.3f}
34
+ save_weights_only: true
35
+ seed: 42
36
+ model:
37
+ target: src.models.lm_v3.LMReactiveMotionGenerator
38
+ model_kwargs:
39
+ lm: google/flan-t5-base
40
+ vqvae_ckpt_path:
41
+ evaluator_ckpt_path:
42
+ n_x_bins: 10
43
+ n_z_bins: 10
44
+ n_r_bins: 10
45
+ mask_ratio: 0.15
46
+ use_h3d: true
47
+ stage: finetune
48
+ pretrained_path:
49
+ unit_size: 1
50
+ rethinking_interval: 4
51
+ use_adaptive_sampling: false
52
+ training_kwargs:
53
+ optimizer:
54
+ target: torch.optim.Adam
55
+ lr: 0.0001
56
+ scheduler: constant_schedule_with_warmup
57
+ warmup_steps: 1000
58
+ num_training_steps: 109400
59
+ dataloader:
60
+ batch_size: 16
61
+ val_batch_size: 32
62
+ num_workers: 32
63
+ pin_memory: true
64
+ persistent_workers: true
65
+ dataset:
66
+ target: src.datasets.lm_dataset.LMDataset
67
+ dataset_dir: ~/data/data/motion/interx
68
+ epoch_scaling: 1
69
+ max_motion_length: 256
70
+ min_motion_length: 32
71
+ motion_representation: intergen_262
72
+ split: null
73
+ tiny_dataset: false
74
+ vqvae_ckpt_path:
75
+ n_x_bins: 10
76
+ n_z_bins: 10
77
+ n_r_bins: 10
78
+ stage: finetune
79
+ use_h3d: true
80
+ motion_token_template: <motion_{}>
81
+ x_template: <pos_x_{}>
82
+ z_template: <pos_z_{}>
83
+ r_template: <rot_r_{}>
logs/motion_vqvae/motion_vqvae/checkpoints/vqvae.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b49615d00360c9a576ca93f74aae61b1751535b6f2d902ac04750aedadad9701
3
+ size 78280013
logs/motion_vqvae/motion_vqvae/hparams.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ all_config:
2
+ trainer:
3
+ accelerator: auto
4
+ target: lightning.pytorch.trainer.Trainer
5
+ devices:
6
+ - 0
7
+ max_steps: -1
8
+ check_val_every_n_epoch: 1
9
+ log_every_n_steps: 50
10
+ num_sanity_val_steps: 2
11
+ gradient_clip_val: 0.5
12
+ precision: 32-true
13
+ accumulate_grad_batches: 1
14
+ logger:
15
+ target: lightning.pytorch.loggers.TensorBoardLogger
16
+ save_dir: logs/motion_vqvae
17
+ name: motion_vqvae
18
+ version: nb256
19
+ max_epochs: 100
20
+ callbacks:
21
+ - target: lightning.pytorch.callbacks.ModelCheckpoint
22
+ save_last: true
23
+ save_top_k: 3
24
+ mode: max
25
+ monitor: monitor
26
+ auto_insert_metric_name: false
27
+ filename: epoch{epoch}__step{step}__monitor{monitor:.3f}
28
+ save_weights_only: true
29
+ seed: 42
30
+ model:
31
+ target: src.models.motion_vqvae.MotionVQVAE
32
+ model_kwargs:
33
+ motion_representation: intergen_262
34
+ nb_code: 256
35
+ code_dim: 512
36
+ width: 512
37
+ output_emb_width: 512
38
+ v2: false
39
+ mu: 0.99
40
+ down_t: 2
41
+ stride_t: 2
42
+ depth: 3
43
+ dilation_growth_rate: 3
44
+ vq_act: relu
45
+ vq_norm: null
46
+ quantizer: ema_reset
47
+ beta: 1.0
48
+ evaluator_ckpt_path:
49
+ training_kwargs:
50
+ loss_kwargs:
51
+ commit_weight: 0.02
52
+ vel_weight: 0.5
53
+ optimizer:
54
+ target: torch.optim.Adam
55
+ lr: 0.0001
56
+ scheduler: constant_schedule_with_warmup
57
+ warmup_steps: 1000
58
+ num_training_steps: 181300
59
+ dataloader:
60
+ batch_size: 256
61
+ val_batch_size: 32
62
+ num_workers: 32
63
+ pin_memory: true
64
+ persistent_workers: true
65
+ dataset:
66
+ target: src.datasets.motion_vqvae_dataset.MotionVQVAEDataset
67
+ dataset_dir: ~/data/data/motion/interx
68
+ epoch_scaling: 10
69
+ max_motion_length: 256
70
+ min_motion_length: 64
71
+ motion_representation: intergen_262
72
+ split: null
73
+ tiny_dataset: false
74
+ use_h3d: false
75
+ abs_action: false