Risposta commited on
Commit
b193a37
·
verified ·
1 Parent(s): 7e4cc79

Select coarse-label step 8400 and publish text and reference generation results

Browse files
README.md CHANGED
@@ -2,7 +2,7 @@
2
  license: other
3
  license_name: research-only
4
  license_link: https://github.com/jurky123/MC_Gen2.0
5
- pretty_name: "MC-Gen 2.0 — Minecraft / pixel-art 32x32 texture datasets"
6
  task_categories:
7
  - text-to-image
8
  tags:
@@ -17,17 +17,44 @@ size_categories:
17
  - 1M<n<10M
18
  ---
19
 
20
- # MC-Gen 2.0 — training datasets
21
 
22
- Training-ready datasets for the **MC-Gen 2.0** project: a small pixel-space
23
- Rectified-Flow Transformer that generates Minecraft / voxel-game style
24
- low-resolution textures (32x32, RGBA).
25
 
26
- The source code lives on GitHub: **https://github.com/jurky123/MC_Gen2.0**
27
 
28
- This repository only contains the **preprocessed, training-ready** datasets.
29
- Raw downloads (itch.io, OpenGameArt, Kaggle, Modrinth, Hugging Face mirrors)
30
- are intentionally not included.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  > **License: research / study only.** The datasets aggregate third-party game
33
  > assets with heterogeneous licenses. They are published here for academic and
@@ -172,9 +199,3 @@ respective owners.
172
  url = {https://github.com/jurky123/MC_Gen2.0}
173
  }
174
  ```
175
-
176
- <!-- selected-reference-20261108:start -->
177
- ## Selected reference generation checkpoint
178
-
179
- [reference-five-task-text-step8000](checkpoints/reference-five-task-text-step8000/README.md) — native16 RGBA; recorded step 8000. Five-task text/reference experiment. Earlier model and dataset releases are retained. Complex geometry remains experimental.
180
- <!-- selected-reference-20261108:end -->
 
2
  license: other
3
  license_name: research-only
4
  license_link: https://github.com/jurky123/MC_Gen2.0
5
+ pretty_name: "MC-Gen 2.0 — Minecraft item textures and generation checkpoints"
6
  task_categories:
7
  - text-to-image
8
  tags:
 
17
  - 1M<n<10M
18
  ---
19
 
20
+ # MC Gen 2.0
21
 
22
+ 用英文物品名、高清参考图,或两者一起,生成 **16×16 RGBA Minecraft 风格物品图**。当前推荐权重为 **coarse-step8400**。提示词可以从 `poison apple`、`ghost boots`、`diamond sword` 这样的短名称开始。
 
 
23
 
24
+ [项目代码](https://github.com/jurky123/MC_Gen2.0) · [下载当前权重](https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/mcgen-coarse-step8400.pt)
25
 
26
+ ## 生成效果
27
+
28
+ ![文件名粗标签生成的 16 个物品](https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/text.png)
29
+
30
+ 上图取自广域验证抽样的前 16 个提示,全部使用同一种子。下图来自高清配对测试集,每行从左到右为高清参考、MC 目标、纯文字、文字加参考、纯参考。
31
+
32
+ ![同一测试物品在三种输入下的生成结果](https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/reference.png)
33
+
34
+ 在 263 个配对测试目标上,图文联合的轮廓 IoU 为 **0.661**,纯参考图为 **0.639**,纯文字为 **0.556**。短名称往往对应多种合理外观,这组数字衡量与配对目标的接近程度。
35
+
36
+ ## 快速使用
37
+
38
+ 在项目根目录安装依赖并下载生成器及冻结编码器。
39
+
40
+ ```bash
41
+ pip install -e '.[embedding]'
42
+ curl -fL --create-dirs -o checkpoints/mcgen-coarse-step8400.pt \
43
+ https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/mcgen-coarse-step8400.pt
44
+ python scripts/download_qwen_vl_embedding.py --out ../Qwen3-VL-Embedding-8B
45
+ export MCGEN_EMBEDDING_MODEL=../Qwen3-VL-Embedding-8B
46
+ mcgen sample --checkpoint checkpoints/mcgen-coarse-step8400.pt \
47
+ --prompt 'diamond sword' --steps 32 --text-scale 2 --seed 42 \
48
+ --device cuda:0 --out outputs/sword.png
49
+ ```
50
+
51
+ 图文联合生成时添加 `--reference item.png --conditioning-mode visual_tokens`。纯参考图生成时省略 `--prompt`。参考图测试采用 `--text-scale 1 --ref-scale 1`。
52
+
53
+ [权重及校验文件](https://huggingface.co/datasets/Risposta/MC_Gen/tree/main/checkpoints/coarse-step8400) · [冻结编码器](https://huggingface.co/Qwen/Qwen3-VL-Embedding-8B)
54
+
55
+ ## 训练数据
56
+
57
+ 从零训练生成器,使用 284,825 条广域文件名标签,以及 3,586 个高清与 MC 配对训练目标。配对中 2,472 个使用来源文件名提取的标签,其余 1,114 个使用数据包中的简短物品名。先训练文生图,再从第 5,500 步底座学习高清参考条件,最后混合训练三种生成模式。
58
 
59
  > **License: research / study only.** The datasets aggregate third-party game
60
  > assets with heterogeneous licenses. They are published here for academic and
 
199
  url = {https://github.com/jurky123/MC_Gen2.0}
200
  }
201
  ```
 
 
 
 
 
 
checkpoints/coarse-step8400/README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MC Gen 2.0
2
+
3
+ 用英文物品名、高清参考图,或两者一起,生成 **16×16 RGBA Minecraft 风格物品图**。当前推荐权重为 **coarse-step8400**。提示词可以从 `poison apple`、`ghost boots`、`diamond sword` 这样的短名称开始。
4
+
5
+ [项目代码](https://github.com/jurky123/MC_Gen2.0) · [下载当前权重](https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/mcgen-coarse-step8400.pt)
6
+
7
+ ## 生成效果
8
+
9
+ ![文件名粗标签生成的 16 个物品](https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/text.png)
10
+
11
+ 上图取自广域验证抽样的前 16 个提示,全部使用同一种子。下图来自高清配对测试集,每行从左到右为高清参考、MC 目标、纯文字、文字加参考、纯参考。
12
+
13
+ ![同一测试物品在三种输入下的生成结果](https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/reference.png)
14
+
15
+ 在 263 个配对测试目标上,图文联合的轮廓 IoU 为 **0.661**,纯参考图为 **0.639**,纯文字为 **0.556**。短名称往往对应多种合理外观,这组数字衡量与配对目标的接近程度。
16
+
17
+ ## 快速使用
18
+
19
+ 在项目根目录安装依赖并下载生成器及冻结编码器。
20
+
21
+ ```bash
22
+ pip install -e '.[embedding]'
23
+ curl -fL --create-dirs -o checkpoints/mcgen-coarse-step8400.pt \
24
+ https://huggingface.co/datasets/Risposta/MC_Gen/resolve/main/checkpoints/coarse-step8400/mcgen-coarse-step8400.pt
25
+ python scripts/download_qwen_vl_embedding.py --out ../Qwen3-VL-Embedding-8B
26
+ export MCGEN_EMBEDDING_MODEL=../Qwen3-VL-Embedding-8B
27
+ mcgen sample --checkpoint checkpoints/mcgen-coarse-step8400.pt \
28
+ --prompt 'diamond sword' --steps 32 --text-scale 2 --seed 42 \
29
+ --device cuda:0 --out outputs/sword.png
30
+ ```
31
+
32
+ 图文联合生成时添加 `--reference item.png --conditioning-mode visual_tokens`。纯参考图生成时省略 `--prompt`。参考图测试采用 `--text-scale 1 --ref-scale 1`。
33
+
34
+ [权重及校验文件](https://huggingface.co/datasets/Risposta/MC_Gen/tree/main/checkpoints/coarse-step8400) · [冻结编码器](https://huggingface.co/Qwen/Qwen3-VL-Embedding-8B)
35
+
36
+ ## 训练数据
37
+
38
+ 从零训练生成器,使用 284,825 条广域文件名标签,以及 3,586 个高清与 MC 配对训练目标。配对中 2,472 个使用来源文件名提取的标签,其余 1,114 个使用数据包中的简短物品名。先训练文生图,再从第 5,500 步底座学习高清参考条件,最后混合训练三种生成模式。
checkpoints/coarse-step8400/SHA256SUMS.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ d354d4ccd6e48bebc124e0ebd5757af0d038f8579569b07171e8acc572f1a93f mcgen-coarse-step8400.pt
checkpoints/coarse-step8400/evaluation.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "text_short": {
3
+ "alpha_iou": 0.5562884850471812,
4
+ "premultiplied_mae": 0.1565299197719804
5
+ },
6
+ "joint_short": {
7
+ "alpha_iou": 0.6611759286705329,
8
+ "premultiplied_mae": 0.12686147314174093
9
+ },
10
+ "reference": {
11
+ "alpha_iou": 0.6388232741227631,
12
+ "premultiplied_mae": 0.13361628482493612
13
+ }
14
+ }
checkpoints/coarse-step8400/mcgen-coarse-step8400.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d354d4ccd6e48bebc124e0ebd5757af0d038f8579569b07171e8acc572f1a93f
3
+ size 347404954
checkpoints/coarse-step8400/reference.png ADDED

Git LFS Details

  • SHA256: d9309e05bdc0da39b1ef23457c3f09510db2642a38876fb894be3ff846a11af4
  • Pointer size: 131 Bytes
  • Size of remote file: 178 kB
checkpoints/coarse-step8400/text.png ADDED

Git LFS Details

  • SHA256: 9994dfb6b6992b595d55187bb5c6aa269854ccc18e91fd4ee304a7cbec460dea
  • Pointer size: 130 Bytes
  • Size of remote file: 28.8 kB
checkpoints/selected.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 8400,
3
+ "selection": "best_mixed_validation",
4
+ "source_checkpoint": "outputs/coarse_scratch_5500_visual/best_mixed.pt",
5
+ "source_sha256": "d354d4ccd6e48bebc124e0ebd5757af0d038f8579569b07171e8acc572f1a93f",
6
+ "inference_checkpoint": "checkpoints/mcgen-coarse-step8400.pt",
7
+ "inference_sha256": "d354d4ccd6e48bebc124e0ebd5757af0d038f8579569b07171e8acc572f1a93f",
8
+ "inference_bytes": 347404954,
9
+ "generator_parameters": 86668292,
10
+ "text_encoder": "Qwen/Qwen3-VL-Embedding-8B",
11
+ "text_encoder_frozen": true,
12
+ "text_identity": "2a5575891df79d6483341b3ff83ab69abae80a73f589abe3a39c07d2333e64f0",
13
+ "visual_identity": "a87c3ae189e45bff2333821a1b7a6db43126b8eb1140783d80d7ebf6619c5050",
14
+ "hf_path": "checkpoints/coarse-step8400/mcgen-coarse-step8400.pt"
15
+ }