Giter Club home page Giter Club logo

deep-pwning's Issues

mnist_read_pixel.py is not working

Hello,
This is a cool project! I like your talk on defcon. But I meet some problem of the code.
I ran mnist_driver.py and generate the mnist pickle file.
I try to use mnist_read_pickle.py, which is in the util folder, to generate the ".png" image.
But it seem like the file mnist_read_pickle.py is not working.

Here is the error I got.

usage: python mnist_read_pickle.py <pickle_file_path> [num_samples_to_persist]
Traceback (most recent call last):
  File "mnist_read_pickle.py", line 77, in <module>
    main(sys.argv)
  File "mnist_read_pickle.py", line 48, in main
    pkl_path = argv[1]
IndexError: list index out of range

Do you have any idea? Thanks!

Python 3 and tensorflow 1.4.0

Hi @cchio,

Big fan of your work and looking forward to your new book! I forked this repository and made it Py3 and Tensorflow 1.4.0 compatible (very easy, thanks for the clean code!). Just wanted to let you know in case you ever wanted a PR to do so.

Would also love to hear if you had any other ideas I could contribute to the project. I will be presenting it at Congress this year. ๐Ÿ˜„

Cheers,
kjam

Running cifar10 with --test appears to run it with the full dataset.

Here is how I am running it.

(deep-pwning) ttys000:1:[email protected]:[~/Documents/deep-pwning/dpwn]: frameworkpython cifar10_driver.py --test
/Users/joshuaherman/.virtualenvs/deep-pwning/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes.
2016-08-14 12:54:12.638315: step 0, loss = 4.67 (23.3 examples/sec; 5.504 sec/batch)
2016-08-14 12:54:19.990925: step 10, loss = 4.65 (196.6 examples/sec; 0.651 sec/batch)

Tensorflow 0.9 Compatibility

I have ran parts of mnist_driver.py replacing tensorflow with version 0.9 and there are no runtime errors. Once I get to my home computer with a GPU I will compare do some runs of it against 0.8 on my home computer.

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.