naiyeleo / abs Goto Github PK
View Code? Open in Web Editor NEWABS: Scanning Neural Networks for Back-doors by Artificial Brain Stimulation
ABS: Scanning Neural Networks for Back-doors by Artificial Brain Stimulation
I was trying to run the round 4 code at TrojAI_competition/round4/abs_pytorch1_color_simple_filter4_11_9_d_classifier.py
There is a directory defined as a global variable: trained_triggers_dir = '/trained_triggers'
Seems files in that folder are used during filter check, for example: delta_name = trained_triggers_dir+'/gotham/deltas/id-00000142_model_18_464_900_4_11.pkl'
I got some errors while running as the directory ''/trained_triggers'' doesn't exist. I didn't find another directory with those filter files either. Would you mind uploading the files? or should I generate the files in some way? Thank you :)
Any plan to make the keras version open-source?
Dear Author,
I am trying to reproduce your results in my experiments.
However, I am unable to use "python2 run_abs.py". The error I get is given as follows with a full traceback:
Traceback (most recent call last):
File "run_abs.py", line 1, in
import abs
File "abs.pyx", line 29, in init abs
AttributeError: 'module' object has no attribute 'set_random_seed'
I have tried downgrading my tensorflow to 1.12.0, but it doesn't help. Would appreciate your help here.
Thanks
I am trying to compare the performance gap between the Nerual Cleanse and the ABS under the feature space attack. It looks like all .pkl
files in ./deltas
are for pixel-type triggers. How to set a proper trigger for the filter_stamp
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.