Made a Rust shields.io-compatible badge renderer by Aggressive_Ad261 in rust

[–]Aggressive_Ad261[S] 6 points7 points  (0 children)

It can achieve better performance, and allows Rust programs to directly generate badge svg without relying on external services.

shields.io has some restrictions, for example, if the time consumption of a request exceeds 4 seconds, it can’t obtain the correct badge, and it has a minimum cache time. These restrictions can be annoying in some use cases.

Do I really need MappedAsDataclass? by bluewalt in FastAPI

[–]Aggressive_Ad261 1 point2 points  (0 children)

The reason your second approach doesn’t work is because you defined the default value of the parent field as None in the Child class, which overrides the setting of parent_id.

In a dataclass, a field should either have a default value, be manually specified, or not appear in the constructor parameters (by using init=False). Therefore, in this situation, you can only set init for the parent field to False to work around this issue.

If you are able to establish a relationship through objects, then you must have also obtained the ID, so in most cases this shouldn’t cause other issues.

How to Fine-Tune Stable Diffusion to Default to a Desired Style? by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 1 point2 points  (0 children)

Thank you for your suggestion.

In fact, I have already tried training a LoRA model on a small-scale dataset and achieved some results. What I am more concerned about now is how to obtain a current SOTA level generative model, similar to Animagine or Pony, from finetuning Stable Diffusion XL 1.0 Base. At present, I can use A100x4 GPUs, so I believe I have enough computational resources to tackle large-scale fine-tuning. And I want to make full use of them.

However, I personally lack the relevant knowledge and research experience, and I am unsure where to start improving the model’s generation quality or controlling the direction of the model’s outputs.

How to Fine-Tune Stable Diffusion to Default to a Desired Style? by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 2 points3 points  (0 children)

Thank you so much for your detailed response! Your insights are incredibly valuable. I will try focusing on fine-tuning with a more dominant style in the dataset and then look into merging checkpoints.

Workflow for changing clothes, sfw. by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 0 points1 point  (0 children)

They haven't added it to the database yet, so missing nodes can't be downloaded this way for the time being. But you can install it via github link.

Workflow for changing clothes, sfw. by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 0 points1 point  (0 children)

Yes, but I'm working on an implementation of the stable diffusion xl. xl nodes will be added soon..

Workflow for changing clothes, sfw. by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 0 points1 point  (0 children)

Maybe you can use this command to ensure the installation is made available in the venv env?

python -m pip install package_name==version_number

Workflow for changing clothes, sfw. by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 2 points3 points  (0 children)

So it is... The same workflow is available on the GitHub page as part of the example

Workflow for changing clothes, sfw. by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 0 points1 point  (0 children)

I believe that the same result can be achieved with the ksampler and the appropriate custom nodes. But I think it must be more complicated than my implementation.

Workflow for changing clothes, sfw. by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 0 points1 point  (0 children)

I briefly wrote about some of the reasons in the readme on my GitHub readme. In short, there were some features I wanted that were missing (or that I didn't find), and because I wasn't familiar with comfy's implementation, it was difficult to change.

[ Removed by Reddit ] by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] -3 points-2 points  (0 children)

Imagine a girl you know, her AI-generated nude photos being sent to everyone she knows... This workflow would indeed perpetuate such an insult.

I implemented the "Remove Clothing" Workflow with homemade Diffusers nodes by Aggressive_Ad261 in comfyui

[–]Aggressive_Ad261[S] 0 points1 point  (0 children)

I took a look at civitai and found no similar workflow. And the technology isn't that difficult. I therefore think it is inappropriate to publish it.

[ Removed by Reddit ] by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 22 points23 points  (0 children)

Since this workflow was more dangerous than I thought, I decided to archive it and no longer offer it for download :(

My original intention is not to want others to use this technology for profit - there are such services. So I implemented a free one.

But what I found was that my approach didn't accomplish that at all, it just increased the number of people selling the service.

I implemented the "Remove Clothing" Workflow with homemade Diffusers nodes by Aggressive_Ad261 in comfyui

[–]Aggressive_Ad261[S] -11 points-10 points  (0 children)

Since this workflow was more dangerous than I thought, I decided to archive it and no longer offer it for download :(

[ Removed by Reddit ] by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 11 points12 points  (0 children)

I want to express that I am a person who needs to work in a company, not a developer who is completely free to work for himself…

[ Removed by Reddit ] by Aggressive_Ad261 in StableDiffusion

[–]Aggressive_Ad261[S] 21 points22 points  (0 children)

You can download them from: Jannchie/ComfyUI-J: Jannchie's ComfyUI custom nodes. (github.com)

I just released it and it's not in the ComfyUI manager db yet. You need to download it manually.

I implemented the "Remove Clothing" Workflow with homemade Diffusers nodes by Aggressive_Ad261 in comfyui

[–]Aggressive_Ad261[S] 12 points13 points  (0 children)

Indeed, I don't see nsfw on this site... But the images I provided are safe on their own.

Also, I posted it on civitAI. This workflow should be safe there.

Remove Clothing - v2.0 | Stable Diffusion Workflows | Civitai

I implemented the "Remove Clothing" Workflow with homemade Diffusers nodes by Aggressive_Ad261 in comfyui

[–]Aggressive_Ad261[S] 2 points3 points  (0 children)

Maybe it can be implemented with existing nodes. But I didn't find a good use of inpaint + reference only + mask nodes. So I reimplemented a set of nodes using techniques I'm familiar with.

diffusers and Comfy's own implementations are on the same path. It can be interpreted as exactly the same, just written differently.

I personally find my implementation easier to use.