mikeknapp / candy-machine

Image Dataset Tagger for Stable Diffusion / Lora / DreamBooth Training
Other
22 stars 0 forks source link

Usability as a website with multiple users #3

Open ForgetfulWasAria opened 2 months ago

ForgetfulWasAria commented 2 months ago

Over at /r/Open_Diffusion (Thread here ) a group of people are trying to build an open source dataset with the eventual goal of training a high quality model with an open source license. Since Candy Machine is gradio based, I thought it might be used for a web based tagger. So I have some questions for you:

I don't want to put a pile of work on you. We have several coders who have experience with webdev who might be able to send pr's your way. Does this sound like something you'd be willing to help with?

mikeknapp commented 2 months ago

Wow, cool. That sounds like a really neat project!

Yes, definitely open to this. When I wrote the code, I was only really thinking about Candy Machine being used in single player mode, and locally, but I can't see why it couldn't be modified to support multiple simultaneous, remote users. (Though, my suggestion would be to perhaps lock or "check out" each image to a single user for a given time! :)

We might need to restructure a few things, for example, at the moment "one off" tags are stored in a hiddenTags field in the main config.json file, just so they don't clutter the UI. With many people adding hidden tags, there will be a lot of contention on this file, and likely errors.

One small clarification too - I'm not using Gradio. It's just a simple Python server I wrote myself, and a React based frontend.

My suggestion would be to have the devs look at the code, and maybe write up a short plan on how they would modify, and then we can go from there? Happy to help where possible though, I'm keen to focus most of my time at the moment on finishing "single player mode", only because that's what's most useful to me at the moment for other projects.

ForgetfulWasAria commented 2 months ago

Thank you for the response! If you're interested there's a discord server at https://discord.gg/2rZDJPGJ in addition to the subreddit. There are people with more technical knowledge than I have there.

"Single player mode" is probably the way we'd end up going. The conversation has drifted from when I wrote up the proposal you saw.

ForgetfulWasAria commented 2 months ago

I had a question asked on the discord about the feasibility of adding additional models. I directed that person here but if you were willing to join the discord, I think it would help things move. Thanks again for your time!

mikeknapp commented 2 months ago

If it's ok, it might be easier if you could proxy the questions here. I'd rather not join another Discord at the moment, but happy to help if I can.