fernandotonon commited on
Commit
ec476fa
·
verified ·
1 Parent(s): 53322bb

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +57 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ tags:
4
+ - onnx
5
+ - pbr
6
+ - normal-map
7
+ - roughness
8
+ - height-map
9
+ - texture
10
+ - qtmesheditor
11
+ library_name: onnx
12
+ pipeline_tag: image-to-image
13
+ ---
14
+
15
+ # PBRify_Remix — ONNX export
16
+
17
+ **ONNX re-exports of the CC0 SPAN models from
18
+ [Kim2091/PBRify_Remix](https://github.com/Kim2091/PBRify_Remix)**: predict a
19
+ tangent-space **normal map**, **roughness map**, and **height map** from a
20
+ single albedo/diffuse texture. All credit for the weights goes to Kim2091.
21
+
22
+ Exported for **[QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor)**
23
+ (issue #404), powering `qtmesh material --generate-pbr`, the Material Editor's
24
+ "Generate PBR maps from diffuse" button, the `generate_pbr_maps` MCP tool, and
25
+ the PBR stage of the image-to-3D pipeline.
26
+
27
+ > The files QtMeshEditor downloads at runtime live in the shared
28
+ > [`fernandotonon/QtMeshEditor-models`](https://huggingface.co/fernandotonon/QtMeshEditor-models)
29
+ > repo (top level). This repo is the standalone model card + mirror.
30
+
31
+ ## Files
32
+
33
+ | file | output |
34
+ |---|---|
35
+ | `1x-PBRify_NormalV3.onnx` | tangent-space normal (RGB) |
36
+ | `1x-PBRify_RoughnessV2.onnx` | roughness (consume as luminance) |
37
+ | `1x-PBRify_Height.onnx` | height/displacement (consume as luminance) |
38
+
39
+ ## I/O
40
+
41
+ `1×3×H×W` float NCHW in `[0,1]` → `1×3×H×W` out. Dynamic H/W (tile large
42
+ textures with overlapping tiles + feathered seam blending). Opset 18,
43
+ ~1.6 MB each.
44
+
45
+ ## License & provenance
46
+
47
+ The upstream repo's LICENSE is **CC0-1.0** and its README states the models
48
+ were trained *"exclusively on high quality CC0 content from ambientCG"*.
49
+ (OpenModelDB's NormalV3 page lists "ambientCG + UltraSharpV2" as the training
50
+ set — UltraSharpV2 is cc-by-nc-sa-4.0 — which contradicts the author's own
51
+ statement; we treat the author's explicit repo LICENSE + "exclusively CC0"
52
+ statement as authoritative. Documented for transparency.)
53
+
54
+ ## Reproducing
55
+
56
+ `scripts/export-pbrify-onnx.py` in the QtMeshEditor repo (one-time, offline;
57
+ spandrel load → `torch.onnx.export`, opset 18, dynamic H/W).