← Home ← Back to /g/

Thread 106296530

39 posts 10 images /g/
Anonymous No.106296530 >>106296535 >>106296547 >>106296604 >>106298934 >>106299802 >>106300841 >>106302022 >>106302101
How tf does AI know?
Anonymous No.106296535
>>106296530 (OP)
need this PROGRAMM
Anonymous No.106296547 >>106297011 >>106299802
>>106296530 (OP)
because someone trained it on those tags?
Anonymous No.106296582 >>106296649 >>106296668
Does it show "red light", "concrete walls", "door hole", "damaged walls", etc?
Anonymous No.106296603 >>106296644 >>106296645 >>106296673 >>106296916 >>106297073 >>106298545
Hopefully 4chan could use something like this to keep NSFW stuff off blue boards before it's posted.
Anonymous No.106296604 >>106296668
>>106296530 (OP)
>It recognizes individual characters
Damn, I need this to sort out my gallery
Anonymous No.106296637
this is literally the easiest thing for AI to do that exists. that's why we had good image recognition AI 20 years ago already.
Anonymous No.106296644 >>106298771
>>106296603
Maybe we don't need jannies and AI can just scan and block wrong think posts before they're posted
Anonymous No.106296645 >>106297093
>>106296603
>hopefully
4chan is running on a barely-patched PHP BBS system that hasn't really been updated since the 00s.
Anonymous No.106296649
>>106296582
Are those booru tags?
I'm assuming not but I'm no expert on what tags people use.
If they were, then it probably would.
Anonymous No.106296668 >>106296699
>>106296582
It's trained off tag sets and images from boorus.

The answer is, maybe. And it could be done.

>>106296604
There's a AI tagger that works with Hydrus' API. It's generally OK, but it can fuck some shit up. The dataset is older now too so it won't recognize every character.
Anonymous No.106296673
>>106296603
can you imagine if your boss saw a pair of boobs on your screen while you were reading about trannies and jewish cabals on 4chan at work? You'd be toasted
Anonymous No.106296699
>>106296668
It seems to recognize every touhou character so it's already perfect for 95% of my gallery
Anonymous No.106296854 >>106297180 >>106298878
here's the code of the program
https://pastebin.com/raw/4rXTZ7F1
program + tags.txt: https://files.catbox.moe/oavnhu.rar
download the pretrained model:
https://github.com/KichangKim/DeepDanbooru/releases/tag/v3-20211112-sgd-e28


requirements:
put the model-resnet_custom_v3.h5 and tags.txt in the same directory as the program.py

my setup:
python 3.10
pyqt5
pillow
pip install tensorflow==2.10.0 (other versions won't work for GPU)
pip install numpy==1.23.5 (run after you install tensorflown override any newer versions)

that's all. you can run with python program.py

I wish there was an easier way to share this
Anonymous No.106296916
>>106296603
They actually had something similar a while ago but they removed it, maybe too many false positives?
Anonymous No.106297011 >>106297107 >>106299802
>>106296547
You don't even need DNN training for some of those tags.
Some of them can be infered using basic CV algos.
Anonymous No.106297073 >>106297108 >>106298506
>>106296603
What we need is for people like you to fuck off to facebook.
Anonymous No.106297093
>>106296645
the software doesn't need to be patched into BBS, does it?
Anonymous No.106297107
>>106297011
ok
Anonymous No.106297108 >>106297121
>>106297073
No, we need severely brainrotted types like you to leave the NSFW smut on whatever board it belongs on.
Anonymous No.106297121
>>106297108
We both know your purpose is liking and reposting shrimp jesus.
Anonymous No.106297180 >>106301728
>>106296854
I'll add something like this to my booru. Do you know if DeepDan is better than Waifu Diffusion?
Anonymous No.106298506
>>106297073
we've never had freedom here.
Anonymous No.106298545 >>106298875
>>106296603
>Hopefully 4chan could use something like this to keep NSFW stuff off blue boards before it's posted.
That technology has existed for 12 years and 4chan DID use it from about 2014-2016 then mysteriously stopped for some reason. It had a 20% fail rate though, it was outdated. I guess it took too much processing power or something.
Anonymous No.106298771
>>106296644
>Our system thinks your message is spam please reformat your post
They already do
Anonymous No.106298875 >>106298925 >>106300824
>>106298545
It would be trivial for them to block all 2D art if they wanted to nowadays, but depending on how many images are uploaded, they would need decent GPU compute for it to work.
Anonymous No.106298878
>>106296854
>pip install tensorflow==2.10.0 (other versions won't work for GPU)
>pip install numpy==1.23.5 (run after you install tensorflow override any newer versions)
elaborate on why this breaks even if I upgrade to the next minor release
Anonymous No.106298925
>>106298875
They've got YOLO running on raspberry pis at nearly 60FPS
It wouldn't be difficult to do it on still images
Anonymous No.106298934
>>106296530 (OP)
It's literally looking up the tags from a fucking booru, you dumb fucking twat. You're like the shit that grows between my toes.
Anonymous No.106299802
>>106297011
no one uses anything of the sort for this, retard. and the difference between a convolutional neural network vs a classic stack of 2d filters is basically just how the weights in the convolutions were derived.

>>106296547
>>106296530 (OP)
vision-language embedding models. you train an image model and a text model to embed images and text into the same vector space, reward closeness in matching pairs and punish it in non-matching ones

the result is that the model simply predicts how likely each tag is to be present in the image description.
Anonymous No.106300100 >>106300412
they should use ai to tag booru because you fuckers arent tagging the good stuff and when you do tag you do it wrong because i just encountered an image tagged long_hair which was actually short_hair
fucking lazy dumbasses
Anonymous No.106300412
>>106300100
true
Anonymous No.106300824
>>106298875
In case you forgot, the April hack revealed that 4chan's core infrastructure hasn't been updated at all since moot left. They will never do anything. They're also poor.
Anonymous No.106300841
>>106296530 (OP)
image recognition is basic fucking shit these days and there's endless places on the web that will explain you every step
fuck you OP
Anonymous No.106301728
>>106297180
bump
Anonymous No.106302022
>>106296530 (OP)
It doesn't know anything.
A calculator doesn't know 5+5=10
Anonymous No.106302056 >>106304839
Anonymous No.106302101
>>106296530 (OP)
Gradient descent.
Anonymous No.106304839
>>106302056
I stand corrected. Thanks