不行,圖像開"天窗" { "train": { "from": "Gold.png", "to": "green0.png", "cluster": "cluster.png", "episodes": 10, "max_cluster_number": 6, "weights": { "x": 0.03, "y": 0.3, "r": 1.0, "g": 1.0, "b": 1.0, "a": 0.0 } }, "convert": { "from": "Gold_3x4.png", "to": "green0_3x4.png", "x_split": 3, "y_split": 4 } } ![]() ![]() 原版 ![]() ![]() |
本帖最后由 89444640 于 2019-8-14 16:07 编辑 可以加下说明,不认中文路径+不能改文件夹名字,palette.json用txt打开。 修改参数里面 { "train": { "from": "red.png", "to": "green.png", "cluster": "cluster.png", "episodes": 10, "max_cluster_number": 6, "weights": { "x": 0.03, "y": 0.3, "r": 1.0, "g": 1.0, "b": 1.0, "a": 0.0 } }, "convert": { "from": "red_4x4.png", "to": "green_4x4.png", "x_split": 4, "y_split": 4 } } 需要修改rgb?但是这个格式似乎不是255,255,255这样的,怎么改呢? 试了一下其他图像,还是可以的, 原始 ![]() ![]() ![]() 没填上原因是我用色太多后面辫子挡住了 用侧面试了一下,估计是我取色随意造成的,还是部分位置没改色,不过这点地方手动修就好了。 |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-5-6 02:51
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.