Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About linking this tool to stable diffusion webui #13

Open
asali9643 opened this issue Feb 23, 2024 · 7 comments
Open

About linking this tool to stable diffusion webui #13

asali9643 opened this issue Feb 23, 2024 · 7 comments

Comments

@asali9643
Copy link

Regarding the additional learning you mentioned earlier, we have completed the creation of a model for additional training. However, when it is installed, it is not displayed on the WEBUI, so in order to solve this problem, please tell me how this tool is linked to the Stable Diffusion webui. If you have the code for that part, just the code is fine. Please help us improve accuracy.

@w-e-w
Copy link
Owner

w-e-w commented Feb 25, 2024

I am not sure how to even start answering your question

@w-e-w
Copy link
Owner

w-e-w commented Feb 25, 2024

you need to explain your question better

@asali9643
Copy link
Author

excuse me.
First, I forked this tool to my github account and added the additionally trained model.
When I installed the tool from the Stable Diffusion URL, it was displayed in the download list.
There is no item to use that tool in the webui, so I would like to resolve the cause.

@w-e-w
Copy link
Owner

w-e-w commented Feb 28, 2024

all I can see is you adding one line of text to readme (you revert all other changes)
main...asali9643:sd-webui-nudenet-nsfw-censor2:main#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R95
that is not gonna do anything

@w-e-w
Copy link
Owner

w-e-w commented Feb 28, 2024

also I'm assuming that you are @asali6343 and not an impersonator
I have no idea why you made a second account

@w-e-w
Copy link
Owner

w-e-w commented Feb 28, 2024

There is no item to use that tool in the webui, so I would like to resolve the cause.

I still don't know what you mean
explain to me in detail explanation with screenshot if possible of what you expect to see and what expect not to say what are you trying to achieve

@w-e-w
Copy link
Owner

w-e-w commented Feb 28, 2024

I see you have a my_trained_model.h5 (that you then have removed)
well I don't know how you trained or is it using the same structure as Nudenet

all my code is just a PIL version of the original Nudenet code

str(Path(__file__).parent.parent.parent.joinpath('nudenet', 'best.onnx')),
reads the model form https://github.com/w-e-w/sd-webui-nudenet-nsfw-censor/blob/main/nudenet/best.onnx
whitch is just https://github.com/notAI-tech/NudeNet/blob/v3/nudenet/best.onnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants