Code Monkey home page Code Monkey logo

ml_defense's People

Contributors

arjunbhagoji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ml_defense's Issues

To-do List

  • Add function descriptions
  • Add file descriptions
  • Update the README
  • Include SVMs and attacks on SVMs
  • Integrate DCA code
  • Add other dimensionality reduction algorithms like random projections, Kernel PCA etc.
  • Add functionality for other datasets
  • Include more complex CNN architechtures

Lasagne doesn't work well with Theano 0.9

Using current requirement.txt

~/ml_defense > pipenv install -r requirement.txt --python 2.7 --skip-lock
Virtualenv already exists!
Removing existing virtualenv…
Creating a virtualenv for this project…
Using /usr/bin/python2.7 (2.7.14) to create virtualenv…
⠋Running virtualenv with interpreter /usr/bin/python2.7
New python executable in /home/g/.local/share/virtualenvs/ml_defense-rJ088qGh/bin/python2.7
Also creating executable in /home/g/.local/share/virtualenvs/ml_defense-rJ088qGh/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/g/.local/share/virtualenvs/ml_defense-rJ088qGh
Requirements file provided! Importing into Pipfile…
Installing dependencies from Pipfile…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 6/6 — 00:00:10
To activate this project's virtualenv, run the following:
 $ pipenv shell
~/ml_defense > pipenv shell
Spawning environment shell (/bin/bash). Use 'exit' to leave.
~/ml_defense > . /home/g/.local/share/virtualenvs/ml_defense-rJ088qGh/bin/activate
(ml_defense-rJ088qGh) ~/ml_defense > python run_defense.py 
Traceback (most recent call last):
  File "run_defense.py", line 11, in <module>
    import lasagne
  File "/home/g/.local/share/virtualenvs/ml_defense-rJ088qGh/lib/python2.7/site-packages/lasagne/__init__.py", line 19, in <module>
    from . import layers
  File "/home/g/.local/share/virtualenvs/ml_defense-rJ088qGh/lib/python2.7/site-packages/lasagne/layers/__init__.py", line 7, in <module>
    from .pool import *
  File "/home/g/.local/share/virtualenvs/ml_defense-rJ088qGh/lib/python2.7/site-packages/lasagne/layers/pool.py", line 6, in <module>
    from theano.tensor.signal import downsample
ImportError: cannot import name downsample

Reverting to Theano 0.8 solves the issue.

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.