File size: 3,732 Bytes
c68c1fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# PhysicalWord last05_mot2_action Assets

This dataset repo contains the private/custom assets needed to train
`last05_mot2_action` on a machine that cannot access the source NAS.

Code repo expected by the migration guide:

- GitHub: `https://github.com/zhang-yi-ming/phyword.git`
- Branch: `mot2_cosmos_ae`
- Commit: `1495a9d`

## Included

This repo intentionally includes:

```text
ckpt/pretrained/LaST0_Pretrain_AE_chunk16/tfmr/
data/libero_training_data_last05_lastest/libero_spatial_20hz_224_dual/
rlbench/
```

Approximate source sizes:

```text
ckpt/pretrained/LaST0_Pretrain_AE_chunk16/tfmr                         4.0G
data/libero_training_data_last05_lastest/libero_spatial_20hz_224_dual  2.8G
rlbench                                                               25G
```

## Not Included

Cosmos Predict2.5 weights are not included in this repo. Download them from
the official gated NVIDIA Hugging Face model after accepting the license:

```bash
huggingface-cli download nvidia/Cosmos-Predict2.5-2B \
  --local-dir /mnt/nas/zhangyiming/database/ckpt/pretrained/Cosmos-Predict2.5-2B
```

The source scripts expect the Cosmos checkpoint at:

```text
/mnt/nas/zhangyiming/database/ckpt/pretrained/Cosmos-Predict2.5-2B/base/pre-trained/d20b7120-df3e-4911-919d-db6e08bad31c_ema_bf16.pt
```

Already-trained MoT2 evaluation checkpoints are also not included.

## Target Layout

Download this dataset repo directly into:

```bash
/mnt/nas/zhangyiming/database
```

Example:

```bash
export HF_HUB_ENABLE_HF_TRANSFER=1
mkdir -p /mnt/nas/zhangyiming/database

huggingface-cli download <owner>/physicalword-assets \
  --repo-type dataset \
  --local-dir /mnt/nas/zhangyiming/database
```

The training JSON files contain absolute paths under
`/mnt/nas/zhangyiming/database`. If the assets are downloaded elsewhere, create
a symlink:

```bash
mkdir -p /mnt/nas/zhangyiming
ln -sfn /actual/database/path /mnt/nas/zhangyiming/database
```

## Asset Notes

### Action Expert

Expected target path:

```text
/mnt/nas/zhangyiming/database/ckpt/pretrained/LaST0_Pretrain_AE_chunk16/tfmr
```

Files:

```text
config.json
model.safetensors
preprocessor_config.json
processor_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
```

This directory is used as both the action expert and processor/tokenizer source
by the MoT2 scripts. Do not replace it with Janus-Pro-1B.

### RLBench

Expected target root:

```text
/mnt/nas/zhangyiming/database/rlbench
```

The full source `rlbench` directory is included. The key training files used by
the current scripts include:

```text
rlbench/train/json/train_action_chunk1_sumpos_lastrot.json
rlbench/train/json/train_action_chunk1_sumpos_lastrot_statistics.json
rlbench/train/json/cosmos_text_cache_rlbench_keyframe/
rlbench/train/images/
```

The JSON references image paths such as:

```text
/mnt/nas/zhangyiming/database/rlbench/train/images/...
```

### LIBERO

Expected target path:

```text
/mnt/nas/zhangyiming/database/data/libero_training_data_last05_lastest/libero_spatial_20hz_224_dual
```

Included files/directories:

```text
train_with_atomic_action.json
train.json
train_rewritten_prompts.json
train_statistics.json
videos/
cosmos_text_cache/
cosmos_text_cache_raw_full_concat/
cosmos_text_cache_rewritten_prompts_raw_full_concat/
```

The JSON references video paths such as:

```text
/mnt/nas/zhangyiming/database/data/libero_training_data_last05_lastest/libero_spatial_20hz_224_dual/videos/...
```

## Main Training Entrypoints

RLBench:

```bash
cd /mnt/nas/zhangyiming/last05_beta/last05_mot2_action
bash scripts/train_mot2_rlbench_keyframe.sh
```

LIBERO:

```bash
cd /mnt/nas/zhangyiming/last05_beta/last05_mot2_action
bash scripts/train_mot2.sh
```