Skip to content

Instantly share code, notes, and snippets.

@tylerneylon
tylerneylon / mnist.py
Last active April 30, 2022 06:48
A function to load numpy arrays from the MNIST data files.
""" A function that can read MNIST's idx file format into numpy arrays.
The MNIST data files can be downloaded from here:
http://yann.lecun.com/exdb/mnist/
This relies on the fact that the MNIST dataset consistently uses
unsigned char types with their data segments.
"""
@ravikg
ravikg / Tensorflow setup in Dell XPS Alienware 15
Created July 17, 2016 14:55
Tensorflow setup instruction with GPU support in Ubuntu 16.04 Dell XPS Alienware
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
Unetbootin http://unetbootin.github.io/
get ubuntu 16.04 iso and create bootable usb
in dell go to boot setup and disable secure boot and disable uefi and enable legacy
set usb 1st boot option
insert the above bootable usb and reboot laptop
install ubuntu: mouse pointer might not come in live ubuntu, use usb mouse; it will come after install
sudo apt-get update
sudo apt-get upgrade
@asimjalis
asimjalis / python-zip.md
Created December 7, 2012 23:33
How to deploy a Python application as a zip file

How to deploy a Python application as a zip file

by Asim Jalis, MetaProse.com

Create a file __main__.py containing:

print "Hello world from Python"

Zip up the Python files (in this case just this one file) into app.zip by typing: