V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jiw0220

写了个工具用来处理 stable diffusion 图片参数的提取与解析

  •  
  •   jiw0220 · Sep 11, 2023 via iPhone · 1175 views
    This topic created in 960 days ago, the information mentioned may be changed or developed.

    使用中如果遇到其他问题,请 Issue 或留言或你想到的一切方式~

    部分代码参考了 Civitai 。

    主要解决了提取 UserComment 遇到的中文乱码问题。

    产生 metadata 时修改了 Civitai 的逻辑,以预处理的机制解析特别的参数内容。

    预处理的正则配置还需要完善,目前处理应该是不全的。

    Gihub https://github.com/jiw0220/stable-diffusion-image-metadata

    最后的最后,如果有帮到你,不妨给个小星星~

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2585 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 16:07 · PVG 00:07 · LAX 09:07 · JFK 12:07
    ♥ Do have faith in what you're doing.