<abbr id="y2asm"></abbr><abbr id="y2asm"></abbr>
  • <code id="y2asm"></code>
    <code id="y2asm"></code>
  • <button id="y2asm"></button>
    <rt id="y2asm"></rt>
    Skip to content

    Chinese Stable Diffusion, zh SD,中文文生圖,中文SD,中文Stable Diffusion

    License

    Notifications You must be signed in to change notification settings

    ShineChen1024/MiaoBi

    Folders and files

    NameName
    Last commit message
    Last commit date

    Latest commit

    ?

    History

    19 Commits
    ?
    ?
    ?
    ?
    ?
    ?
    ?
    ?
    ?
    ?
    ?
    ?

    Repository files navigation

    MiaoBi-beta

    這是妙筆的測試版本。妙筆,一個中文文生圖模型,與經典的stable-diffusion 1.5版本擁有一致的結構,兼容現有的lora,controlnet,T2I-Adapter等主流插件及其權重。

    This is the beta version of MiaoBi, a chinese text-to-image model, following the classical structure of sd-v1.5, compatible with existing mainstream plugins such as Lora, Controlnet, T2I Adapter, etc.

    Installation

    1. Clone the repository
    git clone https://github.com/ShineChen1024/MiaoBi.git
    1. Create a conda environment and install the required packages
    conda create -n MiaoBi-SD python==3.10
    conda activate MiaoBi-SD
    pip install torch==2.0.1 torchvision==0.15.2 numpy==1.25.1 diffusers==0.25.1 opencv-python==4.8.0  transformers==4.31.0 accelerate==0.21.0
    1. Download checkpoints

    download weights from Huggingface, and put it on checkpoints folder.

    Diffusers

    from diffusers import StableDiffusionPipeline
    from transformers import AutoTokenizer
    
    tokenizer = AutoTokenizer.from_pretrained("checkpoints/miaobi_beta0.9/tokenizer",  trust_remote_code=True)
    pipe = StableDiffusionPipeline.from_pretrained("checkpoints/miaobi_beta0.9")
    
    pipe.to("cuda")
    prompt = "一只穿著鎧甲的貓"
    image = pipe(prompt).images[0]
    image.save("鎧甲貓.png")

    Inference

    1. python demo
    python miaobi_generate.py
    1. controlnet demo
    python miaobi_controlnet.py

    MiaoBi-beta-v0.9 Chinese Example

    一只精致的陶瓷貓咪雕像,全身繪有精美的傳統花紋,眼睛仿佛會發光。

    動漫風格的風景畫,有山脈、湖泊,也有繁華的小鎮子,色彩鮮艷,光影效果明顯。

    極具真實感的復雜農村的老人肖像,黑白。

    紅燒獅子頭

    車水馬龍的上海街道,春節,舞龍舞獅。

    枯藤老樹昏鴉,小橋流水人家。水墨畫。

    Limitations

    妙筆的訓練數據包含Laion-5B中的中文子集(經過清洗過濾),Midjourney相關的開源數據(將英文提示詞翻譯成中文),以及我們收集的一批數十萬的caption數據。由于整個數據集大量缺少成語與古詩詞數據,所以對成語與古詩詞的理解可能存在偏差,對中國的名勝地標建筑數據的缺少以及大量的英譯中數據,可能會導致出現一些對象的混亂。如果有以上較高數據質量的伙伴,希望能完善此項目,請與我們聯系,我們將根據提供的數據訓練全新的版本。妙筆Beta0.9在8張4090顯卡上完成訓練,我們正在拓展我們的機器資源來訓練SDXL來獲得更優的結果,敬請期待。

    Due to limitations in computing power and the size of Chinese datasets, the performance of Miaobi may be inferior to commercial models at this stage. We are expanding our computing resources and collecting larger scale data, looking forward to the future performance of Miaobi.

    About

    Chinese Stable Diffusion, zh SD,中文文生圖,中文SD,中文Stable Diffusion

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages

    主站蜘蛛池模板: 亚洲高清中文字幕| 国精品午夜福利视频不卡| 国产无遮挡又黄又爽在线视频| 内射一区二区精品视频在线观看| 亚洲av永久精品爱情岛论坛| www.99re| 色吊丝av中文字幕| 欧美亚洲国产精品久久| 婷婷六月天在线| 国产人妖系列在线精品| 亚洲成av人片在线观看无码 | 野花香高清在线观看视频播放免费 | 国产又猛又黄又爽| 亚洲性久久久影院| www.jizz在线观看| 老子影院午夜伦手机在线看| 日韩欧美中文字幕出| 国产视频手机在线| 免费v片在线观看品善网| 中文字幕无码不卡一区二区三区| 亚洲香蕉久久一区二区| 毛片免费全部播放一级| 娇妻之欲海泛舟白丽交换| 国产AV一区二区三区传媒| 久久国产精品久久精品国产| 亚洲校园春色另类激情| 欧美成年黄网站色视频| 在车里被撞了八次高c| 全彩成人18h漫画在线| 丁香花高清在线观看完整版| 色综合久久一区二区三区| 日本高清视频在线www色下载| 国产欧美日韩三级| 亚洲中文字幕精品久久| 44luba爱你啪| 欧美在线视频一区在线观看| 国产精品无圣光一区二区| 亚洲宅男精品一区在线观看| 777爽死你无码免费看一二区| 深夜A级毛片视频免费| 在线一区二区观看|