zengzzy commited on
Commit
88f6f51
·
verified ·
1 Parent(s): 64feefa

v18 fur strand prior weights (+ v17 r4b init)

Browse files
Files changed (6) hide show
  1. README.md +66 -0
  2. SHA256SUMS +4 -0
  3. v17_r4b/fuser.pt +3 -0
  4. v17_r4b/v17_best.pt +3 -0
  5. v18/fuser.pt +3 -0
  6. v18/v18_best.pt +3 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - fur
4
+ - hair
5
+ - diffusion
6
+ - 3d-reconstruction
7
+ - animals
8
+ library_name: pytorch
9
+ ---
10
+
11
+ # diffusion_pet: v18 fur strand prior
12
+
13
+ These are the weights for **v18**, a geometry-conditioned diffusion prior for animal fur strands. The code, data generator and usage instructions are at <https://github.com/CCdydy/diffusion_pet>.
14
+
15
+ ## What the model does
16
+
17
+ The body is split into small surface patches. For each patch, v18 samples the strand shapes that grow there, along a given fur-flow direction: how the fur rises, droops and clumps. Each sample is conditioned on:
18
+
19
+ - **Image features.** Multi-view DINO features of the patch, fused by the v17 fuser.
20
+ - **Local skin geometry.** A per-texel height map, normal map and the world up direction, in the patch frame.
21
+
22
+ The geometry condition enters the v17 UNet through a zero-initialised input layer.
23
+
24
+ ## Files
25
+
26
+ | Path | Size | Use |
27
+ |---|---|---|
28
+ | `v18/fuser.pt` | 35 MB | Multi-view fuser and parameter heads (v18 stage A) |
29
+ | `v18/v18_best.pt` | 80 MB | UNet18 (EMA weights) |
30
+ | `v17_r4b/fuser.pt` | 35 MB | v17 r4b fuser: the initialisation for training v18 |
31
+ | `v17_r4b/v17_best.pt` | 80 MB | v17 r4b UNet: the initialisation for training v18 |
32
+
33
+ - **Inference** needs only `v18/`: pass `--geo_dir v18 --model v18/v18_best.pt` to `diag/v17/infer_v18_surfpack_proposals.py`, or use `scripts/apply_v18.sh`.
34
+ - **Training** (`scripts/train_v18.sh`) starts from `v17_r4b/`.
35
+
36
+ Checksums are in `SHA256SUMS`.
37
+
38
+ ## Training data
39
+
40
+ All training data is synthetic. Bodies are random dogs from the public SMAL 39-dog shape space; no fitted parameters of real animals are used. Synthetic grooms were grown on these bodies and rendered from 58 cameras. The v17 base model was trained on procedurally generated flat fur patches.
41
+
42
+ | Split | Bodies | Dogs | Patches |
43
+ |---|---|---|---|
44
+ | Training (incl. validation) | 0–89 | 135 | 8,640 |
45
+ | Validation | `body % 10 == 7` | — | 576 |
46
+ | Test | 90–99 | 20 | 1,280 |
47
+
48
+ The released checkpoint is from step 16,000 of stage C.
49
+
50
+ ## Results on held-out synthetic test bodies
51
+
52
+ Values are medians per patch over 1,280 patches.
53
+
54
+ - **Shape:** resampled point error divided by arc length (lower is better).
55
+ - **Yaw:** azimuth error in degrees.
56
+
57
+ | Method | Shape ↓ | Yaw ↓ |
58
+ |---|---|---|
59
+ | v17 (flat-patch prior) | 0.430 | 54° |
60
+ | Procedural growth, same parameters | 0.220 | 16° |
61
+ | v18 without geometry | 0.181 | 13° |
62
+ | **v18** | **0.163** | **11°** |
63
+
64
+ ## Licence
65
+
66
+ Not yet decided.
SHA256SUMS ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ b776c5271bf4c036010d122c21e9f247ccf9cff9ea5fedd204fd6a832c350bb5 v18/fuser.pt
2
+ 4d52faf50e7eb78274ac9210d68746b2681a0b2a2b05abd722da8089e2b46e7d v18/v18_best.pt
3
+ 1c4f1ad0a14a4f2410bc137d0e49504c646c68752197cc4d390710d6d47446c1 v17_r4b/fuser.pt
4
+ d6c625551f86af9646f59ca5786c8accb8261380bd95103c0f837833684e7865 v17_r4b/v17_best.pt
v17_r4b/fuser.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c4f1ad0a14a4f2410bc137d0e49504c646c68752197cc4d390710d6d47446c1
3
+ size 34937838
v17_r4b/v17_best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6c625551f86af9646f59ca5786c8accb8261380bd95103c0f837833684e7865
3
+ size 79779063
v18/fuser.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b776c5271bf4c036010d122c21e9f247ccf9cff9ea5fedd204fd6a832c350bb5
3
+ size 34937838
v18/v18_best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d52faf50e7eb78274ac9210d68746b2681a0b2a2b05abd722da8089e2b46e7d
3
+ size 79843767