Doesn't seem so, no, in fact I don't seem to have a NudeNet folder in my home directory at all, or maybe I'm looking in the wrong place?kerkersklave wrote: ↑Sat Mar 27, 2021 9:57 pm When I first ran the detector, it did download the model file and put it inin my home directory.Code: Select all
.NudeNet/detector_v2_default_checkpoint.onnx
Does that file exist? Should be about 140MB.
NudeNet - automatic censoring AI software
Moderator: 1885
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: NudeNet - automatic censoring AI software
-
- Explorer At Heart
- Posts: 560
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: NudeNet - automatic censoring AI software
Which operating system are you using?
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
-
- Explorer At Heart
- Posts: 560
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: NudeNet - automatic censoring AI software
Hm, I believe it should be /Users/<yourusername>/.NudeNet
Try opening a console and do
The . is important and the directory might be hidden in a file browser.
Try opening a console and do
Code: Select all
cd ~/.NudeNet
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: NudeNet - automatic censoring AI software
You're quite correct, the file Is there, so that shouldn't be the issuekerkersklave wrote: ↑Sat Mar 27, 2021 10:14 pm Hm, I believe it should be /Users/<yourusername>/.NudeNet
Try opening a console and doThe . is important and the directory might be hidden in a file browser.Code: Select all
cd ~/.NudeNet
Code: Select all
classes detector_v2_default_checkpoint.onnx
classifier_model.onnx
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: NudeNet - automatic censoring AI software
I downloaded a specific version of python for this, 3.7.7, could that have an impact? It was the one listed in the guide
-
- Explorer At Heart
- Posts: 560
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: NudeNet - automatic censoring AI software
Can your run
and paste me the result?
Just to check, that you really have the same file and it didn't get corrupted during download or something.
The stack trace clearly says, that this is commig from instatiating the model from that file. So something has to go wrong there...
Code: Select all
md5 -r detector_v2_default_checkpoint.onnx
Just to check, that you really have the same file and it didn't get corrupted during download or something.
The stack trace clearly says, that this is commig from instatiating the model from that file. So something has to go wrong there...
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: NudeNet - automatic censoring AI software
kerkersklave wrote: ↑Sat Mar 27, 2021 10:22 pm Can your runand paste me the result?Code: Select all
md5 -r detector_v2_default_checkpoint.onnx
Just to check, that you really have the same file and it didn't get corrupted during download or something.
The stack trace clearly says, that this is commig from instatiating the model from that file. So something has to go wrong there...
Code: Select all
d41d8cd98f00b204e9800998ecf8427e detector_v2_default_checkpoint.onnx
-
- Explorer At Heart
- Posts: 560
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: NudeNet - automatic censoring AI software
The file seems to be different from mine. Could you rename it and run the example again? Should be downloaded again.
The python version should be fine and it is not a python issue, the error comes from somewhere in native code, if this does not help, I have to look deeper into what it means.
The python version should be fine and it is not a python issue, the error comes from somewhere in native code, if this does not help, I have to look deeper into what it means.
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: NudeNet - automatic censoring AI software
Woop! It worked! Thank you so much!! One final question now, and I won't bother you any more, how do you choose categories for censoring?kerkersklave wrote: ↑Sat Mar 27, 2021 10:32 pm The file seems to be different from mine. Could you rename it and run the example again? Should be downloaded again.
The python version should be fine and it is not a python issue, the error comes from somewhere in native code, if this does not help, I have to look deeper into what it means.
-
- Explorer At Heart
- Posts: 560
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: NudeNet - automatic censoring AI software
Always glad to help fellow kinksters to create new content, looking forward to see what you're making.
You can pass a list of labels to censor() like:
You can pass a list of labels to censor() like:
Code: Select all
detector.censor(
'./test.jpeg',
out_path='./out.jpeg',
parts_to_blur=['EXPOSED_BREAST_F', 'EXPOSED_GENITALIA_F']
)
- Miss_Leah.
- Explorer
- Posts: 39
- Joined: Sat Aug 22, 2020 2:23 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: NudeNet - automatic censoring AI software
My hero! Thank you so muchkerkersklave wrote: ↑Sat Mar 27, 2021 10:48 pm Always glad to help fellow kinksters to create new content, looking forward to see what you're making.
You can pass a list of labels to censor() like:Code: Select all
detector.censor( './test.jpeg', out_path='./out.jpeg', parts_to_blur=['EXPOSED_BREAST_F', 'EXPOSED_GENITALIA_F'] )
Re: NudeNet - automatic censoring AI software
Well you threw me into a Rabbit hole with this.
I was a total beginner with python this morning.
I was a total beginner with python this morning.
- 1. i wanted to go through a folder and censor all the images in it and put it out to another folder. Managed to do that
- 2. Add an option to replace the black censor box with a gaussian blur. Done
- 3. Add an option to replace the black censor box with a pixilation box. Done
- forbiddendesire
- Explorer At Heart
- Posts: 598
- Joined: Sun Aug 21, 2011 5:06 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: NudeNet - automatic censoring AI software
willow11 wrote: ↑Wed Apr 07, 2021 8:19 pm Well you threw me into a Rabbit hole with this.
I was a total beginner with python this morning.
- 1. i wanted to go through a folder and censor all the images in it and put it out to another folder. Managed to do that
- 2. Add an option to replace the black censor box with a gaussian blur. Done
Done with this for now. Now should i share this somewhere?
- 3. Add an option to replace the black censor box with a pixilation box. Done
That's impressive, I had a cursory glance at the github and docs for this and it seemed quite a bit difficult to do, if you're a beginner with python that's quite amazing. I'm going to try downloading it and see if I can figure it out myself
- Spoiler: show
Re: NudeNet - automatic censoring AI software
I just realized this seemed like i wanted to show off. It was more like: I got obsessed with this and spent hours on google.
But i know my way around R so that helped. Now I need some material to censor any suggestions?
Btw. you can specify the parts that gets censored. Ofc i wanted all the cocks and faces to be visible and only censor the girl parts like breasts and genitalia. I did it like this
ptb=['EXPOSED_ANUS','EXPOSED_BUTTOCKS','EXPOSED_BREAST_F','EXPOSED_GENITALIA_F','COVERED_BREAST_F','EXPOSED_BELLY']
detector.censor(
*image path*,
out_path=*image output path*,
visualize=False,
parts_to_blur=ptb)
these are the options from the readme
**Default Detector classes:**
|class name | Description |
|--------|:-------------------------------------:
|EXPOSED_ANUS | Exposed Anus; Any gender |
|EXPOSED_ARMPITS | Exposed Armpits; Any gender |
|COVERED_BELLY | Provocative, but covered Belly; Any gender |
|EXPOSED_BELLY | Exposed Belly; Any gender |
|COVERED_BUTTOCKS | Provocative, but covered Buttocks; Any gender |
|EXPOSED_BUTTOCKS | Exposed Buttocks; Any gender |
|FACE_F | Female Face|
|FACE_M | Male Face|
|COVERED_FEET |Covered Feet; Any gender |
|EXPOSED_FEET | Exposed Feet; Any gender|
|COVERED_BREAST_F | Provocative, but covered Breast; Female |
|EXPOSED_BREAST_F | Exposed Breast; Female |
|COVERED_GENITALIA_F |Provocative, but covered Genitalia; Female|
|EXPOSED_GENITALIA_F |Exposed Genitalia; Female |
|EXPOSED_BREAST_M |Exposed Breast; Male |
|EXPOSED_GENITALIA_M |Exposed Genitalia; Male |
If you got any questions just ask. Cheers
But i know my way around R so that helped. Now I need some material to censor any suggestions?
Btw. you can specify the parts that gets censored. Ofc i wanted all the cocks and faces to be visible and only censor the girl parts like breasts and genitalia. I did it like this
ptb=['EXPOSED_ANUS','EXPOSED_BUTTOCKS','EXPOSED_BREAST_F','EXPOSED_GENITALIA_F','COVERED_BREAST_F','EXPOSED_BELLY']
detector.censor(
*image path*,
out_path=*image output path*,
visualize=False,
parts_to_blur=ptb)
these are the options from the readme
**Default Detector classes:**
|class name | Description |
|--------|:-------------------------------------:
|EXPOSED_ANUS | Exposed Anus; Any gender |
|EXPOSED_ARMPITS | Exposed Armpits; Any gender |
|COVERED_BELLY | Provocative, but covered Belly; Any gender |
|EXPOSED_BELLY | Exposed Belly; Any gender |
|COVERED_BUTTOCKS | Provocative, but covered Buttocks; Any gender |
|EXPOSED_BUTTOCKS | Exposed Buttocks; Any gender |
|FACE_F | Female Face|
|FACE_M | Male Face|
|COVERED_FEET |Covered Feet; Any gender |
|EXPOSED_FEET | Exposed Feet; Any gender|
|COVERED_BREAST_F | Provocative, but covered Breast; Female |
|EXPOSED_BREAST_F | Exposed Breast; Female |
|COVERED_GENITALIA_F |Provocative, but covered Genitalia; Female|
|EXPOSED_GENITALIA_F |Exposed Genitalia; Female |
|EXPOSED_BREAST_M |Exposed Breast; Male |
|EXPOSED_GENITALIA_M |Exposed Genitalia; Male |
If you got any questions just ask. Cheers
Who is online
Users browsing this forum: No registered users and 29 guests