Coder Social home page Coder Social logo

Comments (7)

AbdBarho avatar AbdBarho commented on July 18, 2024 1

Fixed in #75

from stable-diffusion-webui-docker.

sheldonhull avatar sheldonhull commented on July 18, 2024

I'm working through it with adding to downloads, and removing my download taskfile command since you've built this into the compose process. Lots of interesting different approaches here that I think are useful to give me new ideas!

I'll see if this works and update for others.

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on July 18, 2024

@sheldonhull hlky UI? I don't think you can add custom models to it, I think that works for ESRGAN in auto only.
Can you link to documentation / description of the feature you are trying to use?

from stable-diffusion-webui-docker.

sheldonhull avatar sheldonhull commented on July 18, 2024

I'm not super versed in this, learning the ecosystem. That's fine if I can't add anything, but was trying to experiment and see if I could mount a new model to show up in the UI with a ckpt file.
I was experimenting with waifu-difussion to see what img2img results I could obtain.

If it's not possible cool!

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on July 18, 2024

@sheldonhull Ah, I see, waifu-difussion is just a fine tuned-model.

In theory, you don't need to change any code, you can just

mv cache/models/model.ckpt cache/models/model.backup.ckpt 
mv waifu-diffusion.ckpt cache/models/model.ckpt

and run the UI, any UI should work because this is just the weights.

from stable-diffusion-webui-docker.

sheldonhull avatar sheldonhull commented on July 18, 2024

So this replaces the model.ckpt that's there, meaning it's not a switch for me, it's one or the other?

I plan on learning more on the technical side of this later, so sorry if this is obvious stuff. I'm only dabbling in this area to learn a bit and have some fun ;-)

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on July 18, 2024

@sheldonhull correct, it is one or the other. if you want a switch through an env variable, update the CMD of services/hlky/Dockerfile and delete the --ckpt /cache/models/model.ckpt

and then you can define the model you want in the cli args of the ui

- CLI_ARGS=--optimized-turbo --ckpt /cache/models/waifu-diffusion.ckpt

You are going to have to restart the container for that to work.

If you want to update the model in runtime while the container is running, then you should probably create a feature request in the respective ui repo.

from stable-diffusion-webui-docker.

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.