Giter Site home page Giter Site logo

cn-tu / ids-backdoor Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 3.0 680.58 MB

Contact: Maximilian Bachl, Alexander Hartl. Explores defenses against backdoors and poisoning attacks for Intrusion Detection Systems. Code for "EagerNet" is in the "eager" branch.

Home Page: https://dl.acm.org/citation.cfm?id=3366638

License: GNU General Public License v3.0

Python 14.01% Shell 1.10% TeX 84.89%
adversarial-machine-learning backdoor deep-learning poisoning random-forest

ids-backdoor's People

Contributors

alexhartl avatar muxamilian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ids-backdoor's Issues

'SummaryWriter' object has no attribute 'log_dir'

For the eager branch, we run:
./learn.py --dataroot CAIA_17.csv --function train_eager_stopping --method nn --lr 0.001 --batchSize 512 --eagerStoppingWeightingMethod "eager_linearly_increasing_weights" --nLayers 3 --layerSize 128

find errors:

Traceback (most recent call last):
File "./learn.py", line 654, in
globals()'%s_%s' % (opt.function, opt.method)
File "./learn.py", line 210, in train_eager_stopping_nn
_ = writer.log_dir
AttributeError: 'SummaryWriter' object has no attribute 'log_dir'

bash: path: No such file or directory

whenever I am trying to run
$ ./learn.py --dataroot CAIA_backdoor_15.csv --method=rf --net <path to you random forest> --function prune_backdoor --backdoor --reduceValidationSet <fraction from 0 to 1 that indicates the fraction of the validation dataset that is going to be used> --nSteps 49 --pruneOnlyHarmless --depth
in the
~/Desktop/Research_papers/ids-backdoor-master directory, I am facing this error.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.