yiranranranra commited on
Commit
cee377d
·
verified ·
1 Parent(s): 0c85f9b

Add ReMoMask-2 inference assets

Browse files
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - text-to-motion
6
+ - motion-generation
7
+ - retrieval-augmented-generation
8
+ ---
9
+
10
+ # ReMoMask-2: Latent Retrieval-Augmented Masked Motion Generation
11
+
12
+ > Yiran Wang<sup>*</sup>, Zeyu Zhang<sup>*†</sup>, Philip Torr, and Hao Tang<sup>‡</sup>
13
+ >
14
+ > <sup>*</sup>Equal contribution. <sup>†</sup>Project lead. <sup>‡</sup>Corresponding author.
15
+ >
16
+ > **arXiv:** Coming soon · **Project Page:** Coming soon
17
+
18
+ ## Inference assets
19
+
20
+ | Files | Contents |
21
+ | --- | --- |
22
+ | `net_best_fid_ep0309.tar` | Masked motion generation model |
23
+ | `vq.tar` | RVQ model |
24
+ | `query_projector.pt` | Text-to-motion query projector |
25
+ | `model_opt.txt`, `vq_opt.txt` | Model configurations |
26
+ | `mean.npy`, `std.npy` | Motion normalization |
27
+ | `encoded_motions.npy`, `encoded_texts_clip.npy` | Retrieval features |
28
+ | `motion_ids.npy`, `all_captions.npy` | Retrieval metadata |
29
+
30
+ ## Download
31
+
32
+ ```python
33
+ from huggingface_hub import snapshot_download
34
+
35
+ snapshot_download(
36
+ "yiranranranra/ReMoMask-2",
37
+ local_dir="remomask2",
38
+ allow_patterns=["*.tar", "*.pt", "*.txt", "*.npy"],
39
+ )
40
+ ```
all_captions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85793c088f56a41d867ae0605ffeb56a6d0668f88928169dea7346bf4a4c831d
3
+ size 240432008
encoded_motions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2038efb74aec708418647545917f8d911f0432b98333c0ff1bdf8facb894cfcb
3
+ size 274473088
encoded_texts_clip.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bcb7236ae7debbf87a861c22cf967f7f7445ce07004863c6c9a640ecc5b93d8
3
+ size 137236608
mean.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d70b13c5ff0e2d7d8510fd3cc70859c526ebe048765ab33b4f95f98f5ecbfcbe
3
+ size 2232
model_opt.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------ Options -------------
2
+ attnj: True
3
+ attnt: True
4
+ batch_size: 64
5
+ checkpoints_dir: ./logs
6
+ cond_drop_prob: 0.1
7
+ dataset_name: humanml3d
8
+ dropout: 0.2
9
+ eval_every_e: 10
10
+ ff_size: 1024
11
+ force_mask: False
12
+ gamma: 0.1
13
+ gpu_id: -1
14
+ gumbel_sample: False
15
+ is_continue: False
16
+ is_train: True
17
+ latent_dim: 512
18
+ local_rank: 0
19
+ log_every: 50
20
+ lr: 0.0002
21
+ max_epoch: 2000
22
+ max_motion_length: 196
23
+ milestones: [1000000]
24
+ mtrans_warmstart_ckpt: None
25
+ mtrans_warmstart_epoch: net_best_fid_ep0486
26
+ n_heads: 8
27
+ n_layers: 8
28
+ name: v2_mtrans_vgate
29
+ projector_path: logs/query_projector_repair_ep/best_projector.pt
30
+ retr_vgate: True
31
+ retrieval_dim: None
32
+ rt_in_value: True
33
+ save_latest: 500
34
+ seed: 3407
35
+ share_weight: False
36
+ single_uncond_dice: False
37
+ train_split: train.txt
38
+ unit_length: 4
39
+ use_ze_retrieval: True
40
+ val_split: val.txt
41
+ vq_name: pretrain_vq
42
+ warm_up_iter: 2000
43
+ ze_database_path: database_ze
44
+ -------------- End ----------------
motion_ids.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b8f7f45dfbaffb0ff83c5b6961a5332a2d714118d3c4156252c0f23f63e48c6
3
+ size 2412488
net_best_fid_ep0309.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7412fab178c5e863f292fdb0b39d322f86656540f617ed03f4eb8f1bf7b7d422
3
+ size 344691218
query_projector.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aaab3bc7254d967a9a1bb6719208eb8afc20099fa083e5e2cdad93c10595d43
3
+ size 6302216
std.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcd6fdfe3f068c23fabfe6587119fb8799a17d405e28508dc3d1a8f2d58a0119
3
+ size 2232
vq.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b186fd346e8bcb84cdbfc2f2c78a9ea3f67c92389050c178325897de6b5de767
3
+ size 467921538
vq_opt.txt ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ------------ Options -------------
2
+ batch_size: 256
3
+ checkpoints_dir: ./logs
4
+ code_dim1d: 512
5
+ code_dim2d: 1024
6
+ commit: 0.02
7
+ dataset_name: humanml3d
8
+ depth: 3
9
+ dilation_growth_rate: 3
10
+ down_t: 2
11
+ eval_every_e: 1
12
+ ext: default
13
+ feat_bias: 5
14
+ gamma: 0.1
15
+ gpu_id: 2
16
+ is_continue: False
17
+ is_train: True
18
+ log_every: 10
19
+ loss_vel: 0.5
20
+ lr: 0.0002
21
+ max_epoch: 50
22
+ milestones: [150000, 250000]
23
+ mu: 0.99
24
+ name: pretrain_vq
25
+ nb_code1d: 512
26
+ nb_code2d: 256
27
+ num_quantizers: 6
28
+ output_emb_width: 512
29
+ quantize_dropout_prob: 0.2
30
+ recons_loss: l1_smooth
31
+ save_every_e: 2
32
+ save_latest: 500
33
+ seed: 3407
34
+ shared_codebook: False
35
+ stride_t: 2
36
+ vq_act: relu
37
+ vq_norm: None
38
+ warm_up_iter: 2000
39
+ weight_decay: 0.0
40
+ which_epoch: all
41
+ width: 512
42
+ window_size: 64
43
+ -------------- End ----------------