Open j3g opened 1 year ago
I forked this project and tidy them up, https://github.com/Antioch-Tech/NightshadeDetect
If you are still interested @j3g
However, please not there are still other issues after my tidy up anyway, https://github.com/RichardAragon/NightshadeAntidote/issues/2#issue-2061429027
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 https://github.com/RichardAragon/NightshadeAntidote/issues/1#issuecomment-2070698026, 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 https://github.com/RichardAragon/NightshadeAntidote/issues/1#issuecomment-2071098464, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA44S7POJWTLJLFDHZRQ723Y6WJ4HAVCNFSM6AAAAAA6R2NOICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGA4TQNBWGQ . You are receiving this because you commented.Message ID: @.***>
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.
I forked this project and tidy them up, https://github.com/Antioch-Tech/NightshadeDetect
If you are still interested @j3g
~However, please not there are still other issues after my tidy up anyway, #2 (comment)~
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 https://github.com/RichardAragon/NightshadeAntidote/issues/1#issuecomment-2071119517, 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 https://github.com/RichardAragon/NightshadeAntidote/issues/1#issuecomment-2071219355, 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 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.
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 https://github.com/RichardAragon/NightshadeAntidote/issues/1#issuecomment-2072655803, 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? They can't run for people without them.
also
File "D:\AI_Stuff\StableDiffusion\Training\NightshadeAntidote\React_Native.py", line 1 import React, { useState } from 'react'; ^ SyntaxError: invalid syntax
I love your work and the ideas associated with it just curious why your files isn't a .py