cy0307 commited on
Commit
457ef79
·
verified ·
1 Parent(s): d8478de

Upload from Ropedia Academy

Browse files
Files changed (4) hide show
  1. README.md +44 -3
  2. denoiser.pt +2 -2
  3. figure.png +0 -0
  4. metrics.json +21 -21
README.md CHANGED
@@ -1,13 +1,54 @@
1
  ---
2
  license: mit
 
3
  tags:
4
  - ropedia-academy
5
  - educational
 
6
  ---
7
 
8
- # A_motion_diffusion
9
 
10
- Trained from scratch in **Ropedia Academy** (https://chaoyue0307.github.io/ropedia-academy/)an educational lab. The checkpoint and full loss/eval history (`metrics.json`) are included.
11
 
 
12
 
13
- ![results](figure.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ library_name: pytorch
4
  tags:
5
  - ropedia-academy
6
  - educational
7
+ - diffusion
8
  ---
9
 
10
+ # Motion diffusion (DDPM)
11
 
12
+ A denoising-diffusion model that generates motion trajectoriesthe MDM recipe, trained from scratch, sampled from EMA weights.
13
 
14
+ Trained from scratch in **[Ropedia Academy](https://chaoyue0307.github.io/ropedia-academy/)** — an interactive, bilingual course on embodied & spatial AI. **Educational model:** small and quick to train; the value is the *method* and a reproducible pipeline, not a leaderboard score.
15
 
16
+ | | |
17
+ |---|---|
18
+ | **Task** | human-motion generation |
19
+ | **Data** | synthetic 2D motion trajectories |
20
+ | **Track** | A · Human modeling |
21
+ | **Notebook** | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ChaoYue0307/ropedia-academy/blob/main/notebooks/training/A_motion_diffusion.ipynb) |
22
+
23
+ ## Results
24
+
25
+ | metric | value |
26
+ |---|---|
27
+ | loss (final) | 0.159 |
28
+
29
+
30
+ ![figure](figure.png)
31
+
32
+ ## How to use
33
+
34
+ ```python
35
+ import torch
36
+ state = torch.load("model.pt", map_location="cpu") # some labs save pose.pt / gaussians.pt / transform.pt
37
+ # Rebuild the model class from the Ropedia Academy notebook (linked above), then:
38
+ # model.load_state_dict(state)
39
+ ```
40
+
41
+ ## Files
42
+
43
+ - `denoiser.pt`
44
+ - `figure.png`
45
+ - `metrics.json`
46
+
47
+
48
+ ## Reproduce / train your own
49
+
50
+ Open the [lab notebook in Colab](https://colab.research.google.com/github/ChaoYue0307/ropedia-academy/blob/main/notebooks/training/A_motion_diffusion.ipynb) → **Runtime → GPU → Run all**, then its *Publish to the Hugging Face Hub* cell. Browse every lab in the [Ropedia Academy Labs tab](https://chaoyue0307.github.io/ropedia-academy/labs).
51
+
52
+
53
+ ---
54
+ *Part of the [Ropedia Academy](https://chaoyue0307.github.io/ropedia-academy/) trained-model collection.*
denoiser.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c165e45a3daa3bbf0c6fe5ba195117bed603be44cd3c76669276d4d68e6ba44f
3
- size 927189
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e36c1b51c7b80264b1f5e5c56c7e251c7f1b45e25ecf032f07d632911e73632
3
+ size 927125
figure.png CHANGED
metrics.json CHANGED
@@ -2,47 +2,47 @@
2
  "loss": [
3
  [
4
  0,
5
- 0.9922628998756409
6
  ],
7
  [
8
- 800,
9
- 0.19711501896381378
10
  ],
11
  [
12
- 1600,
13
- 0.15966030955314636
14
  ],
15
  [
16
- 2400,
17
- 0.14236339926719666
18
  ],
19
  [
20
- 3200,
21
- 0.14732688665390015
22
  ],
23
  [
24
- 4000,
25
- 0.1111026480793953
26
  ],
27
  [
28
- 4800,
29
- 0.12580068409442902
30
  ],
31
  [
32
- 5600,
33
- 0.13158488273620605
34
  ],
35
  [
36
- 6400,
37
- 0.1079515814781189
38
  ],
39
  [
40
- 7200,
41
- 0.09586234390735626
42
  ],
43
  [
44
- 8000,
45
- 0.09420143067836761
46
  ]
47
  ]
48
  }
 
2
  "loss": [
3
  [
4
  0,
5
+ 1.0084
6
  ],
7
  [
8
+ 200,
9
+ 0.5319
10
  ],
11
  [
12
+ 400,
13
+ 0.3503
14
  ],
15
  [
16
+ 600,
17
+ 0.2463
18
  ],
19
  [
20
+ 800,
21
+ 0.2112
22
  ],
23
  [
24
+ 1000,
25
+ 0.178
26
  ],
27
  [
28
+ 1200,
29
+ 0.1793
30
  ],
31
  [
32
+ 1400,
33
+ 0.1548
34
  ],
35
  [
36
+ 1600,
37
+ 0.1945
38
  ],
39
  [
40
+ 1800,
41
+ 0.1445
42
  ],
43
  [
44
+ 2000,
45
+ 0.159
46
  ]
47
  ]
48
  }