-
Notifications
You must be signed in to change notification settings - Fork 18
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
.py files #1
Comments
I forked this project and tidy them up, https://github.com/Antioch-Tech/NightshadeDetect If you are still interested @j3g
|
yeah your own readme.md states: python nightshade_antidote.py input.jpg so... the repo needs to have this file: nightshade_antidote.py |
The forked version is better. You can contribute to it as well!
…On Mon, Apr 22, 2024, 12:09 PM robertJene ***@***.***> wrote:
yeah your own readme.md states:
python nightshade_antidote.py input.jpg
so... the repo needs to have this file:
nightshade_antidote.py
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA44S7JCECJRBJMK23UUIDLY6VN6LAVCNFSM6AAAAAA6R2NOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQGY4TQMBSGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
in what ways is it better? besides the filename? |
What interests you about this particular repository, Robert? It is one of my least favorite ones. My brother's name is also Robert. Another one of my least favorite ones. |
to prune training data. |
Why are so many people interested in that? I think that is a fool's errand.
I think it would be more fruitful to explore different means of model
training beyond data.
…On Mon, Apr 22, 2024 at 4:07 PM robertJene ***@***.***> wrote:
to prune training data.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA44S7POJWTLJLFDHZRQ723Y6WJ4HAVCNFSM6AAAAAA6R2NOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGA4TQNBWGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
no, model training requires data. |
could you update your Repo so I can post issues there? I just updated my downloaded copy to accept the path to an image file as an argument Also, I've tested the script on an image I poisoned with Nightshade, and it's not outputting any data |
It's not 100% simple because you can poison the model if it ingests the
tainted data first. I have thought through the exact use case you are
looking for. This is the best framework to use overall, I think:
https://applicablegroundedinnovations.com/AI-Data-Poison-Taster-A-Framework-for-Mitigating-Data-Poisoning-Attacks-on-Foundation-Models#wbb2
…On Mon, Apr 22, 2024 at 4:31 PM robertJene ***@***.***> wrote:
no, model training requires data.
if someone poisons their data, then it is fruitful to check so I don't use
their image.
this is 100% simple.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA44S7OAX3PPAHRYHS6JOPDY6WMVDAVCNFSM6AAAAAA6R2NOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGEYTSNJRG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
well the plan is to "taste" the images for poison and prune the dataset ahead of time, to respect the wishes of whoever poisoned the images. |
My end-game is to make a video showing folks how to poison their own artwork and a 2nd video to show people how to check if something is poisoned so you can prune those files before training If @tim-hub is interested I can help him with his fork, I've already made updates to the script, but can't get output |
You are exactly who I made this for, honestly. I purposely made it a taster
and not offensive in any way, to be respectful of artists. I think a tool
should exist on both sides. I look forward to your video.
…On Mon, Apr 22, 2024, 6:16 PM robertJene ***@***.***> wrote:
My end-game is to make a video showing folks how to poison their own
artwork
and a 2nd video to show people how to check if something is poisoned so
you can prune those files before training
If @tim-hub <https://github.com/tim-hub> is interested I can help him
with his fork, I've already made updates to the script, but can't get output
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA44S7JZRIGXJGWZ2YZSTHTY6WY5FAVCNFSM6AAAAAA6R2NOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGIYTSMZVGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I am not familiar with all this python stuff. I'm planning on making a wrapper with batch and vbscript so I can batch "taste" a folder of images. I don't know if it would make more sense to have the python script do all that. But I spent about 4 hours on it last night and didn't have any luck getting it to output the results. |
You're going to have a much easier time with this if you use React Native
or Javascript upfront honestly. Don't mess around with the Python if you
are not familiar with it anyway. I just updated the repo with a React
Native version. I didn't open VBS to debug it.
…On Tue, Apr 23, 2024 at 8:15 AM robertJene ***@***.***> wrote:
I am not familiar with all this python stuff.
I can install something and get it working if there's clear instructions.
Also, I do some programming as a hobby.
I used chat gpt's help last night to get the script to take a command line
argument.
I'm planning on making a wrapper with batch and vbscript so I can batch
"taste" a folder of images.
I don't know if it would make more sense to have the python script do all
that.
But I spent about 4 hours on it last night and didn't have any luck
getting it to output the results.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA44S7LQCRNASU7ZXXABRADY6Z3KLAVCNFSM6AAAAAA6R2NOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGY2TKOBQGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
why don't you put extensions on the script files? also File "D:\AI_Stuff\StableDiffusion\Training\NightshadeAntidote\React_Native.py", line 1 |
I love your work and the ideas associated with it
just curious why your files isn't a .py
The text was updated successfully, but these errors were encountered: