fernandotonon commited on
Commit
ac46da3
·
verified ·
1 Parent(s): c9bccc9

Add CC0 PBRify ONNX models (#404)

Browse files
1x-PBRify_Height.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b14afd583148cb5b0a554bf86a009b6a898aadc00d213aa3ec2544e17c835f5
3
+ size 1640690
1x-PBRify_NormalV3.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19d78f555f994219e2692876ab0fb6c3e4382503952dbe72d74db89d24870ba4
3
+ size 1640690
1x-PBRify_RoughnessV2.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a8de1bbeab70df8b2550bdc11fddd5a315a12eeb47d561ce55b38551ea52131
3
+ size 1640690
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ tags:
4
+ - onnx
5
+ - pbr
6
+ - texture
7
+ - normal-map
8
+ - qtmesheditor
9
+ library_name: onnx
10
+ ---
11
+
12
+ # QtMeshEditor — AI models
13
+
14
+ ONNX models used by [QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor)'s
15
+ AI-assisted authoring features.
16
+
17
+ ## PBR map synthesis (issue #404)
18
+
19
+ `1x-PBRify_NormalV3.onnx`, `1x-PBRify_RoughnessV2.onnx`, `1x-PBRify_Height.onnx`
20
+ generate tangent-space normal / roughness / height maps from a single albedo
21
+ (diffuse) texture.
22
+
23
+ These are **ONNX re-exports** of the CC0 SPAN models from
24
+ **[Kim2091/PBRify_Remix](https://github.com/Kim2091/PBRify_Remix)** (LICENSE:
25
+ CC0-1.0), trained on CC0 content from ambientCG / Poly Haven. Converted with
26
+ `scripts/export-pbrify-onnx.py` in the QtMeshEditor repo (spandrel +
27
+ `torch.onnx.export`, opset 18). All credit for the weights goes to Kim2091.
28
+
29
+ - **License:** CC0-1.0 (public domain), same as the source models.
30
+ - **I/O:** 1×3×H×W float NCHW in `[0,1]` → 1×3×H×W out (normal as RGB;
31
+ roughness/height as RGB, consumed as luminance). Dynamic H/W.
32
+
33
+ QtMeshEditor downloads these on first use into `<AppData>/ai_models/pbr/`.