Giter VIP home page Giter VIP logo

Comments (5)

ZTMIDGO avatar ZTMIDGO commented on August 26, 2024 2

可以使用 https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16 转为onnx,然后下载 https://github.com/ZTMIDGO/Android-Stable-diffusion-ONNX/files/11745190/conv_sd_to_onnx.txt 替换项目里的conv_sd_to_onnx.py

from android-stable-diffusion-onnx.

ZTMIDGO avatar ZTMIDGO commented on August 26, 2024

量化代码 https://github.com/LowinLi/stable-diffusion-streamlit/blob/main/src/stable-diffusion-streamlit/pages/model/quantization.py

from android-stable-diffusion-onnx.

eadst avatar eadst commented on August 26, 2024

感谢分享。我修改了conv_sd_to_onnx.txt中的opset=14, quantization.py中的use_external_data_format=False, 可以成功运行runwayml/stable-diffusion-v1-5

from android-stable-diffusion-onnx.

ReEnMikki avatar ReEnMikki commented on August 26, 2024

可以使用 https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16 转为onnx,然后下载 https://github.com/ZTMIDGO/Android-Stable-diffusion-ONNX/files/11745190/conv_sd_to_onnx.txt 替换项目里的conv_sd_to_onnx.py

TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path'

from android-stable-diffusion-onnx.

ReEnMikki avatar ReEnMikki commented on August 26, 2024

量化代码 https://github.com/LowinLi/stable-diffusion-streamlit/blob/main/src/stable-diffusion-streamlit/pages/model/quantization.py

Please elaborate how do I run this ? Nothing happens when I try to do it. It just loads for a second and nothing changes. This is my current files and folders:
So basically I have folder Model-fp16 which includes:

  • subfolder text_encoder, which has model.onnx
  • subfolder unet, which has model.onnx & weights.pb
  • subfolder vae_decoder, which has model.onnx & weights.pb
  • subfolder vae_encoder, which has modern.onnx

from android-stable-diffusion-onnx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.