arjunbhagoji / ml_defense Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
Need to incorporate state of the art attacks from https://github.com/carlini/nn_robust_attacks and https://github.com/openai/cleverhans
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.