alexnet.py is a somewhat cleaned up version of pre-trained AlexNet for tensorflow and python 3.
Weights are available here: http://www.cs.toronto.edu/~guerzhoy/tf_alexnet/bvlc_alexnet.npy
For original code check: http://www.cs.toronto.edu/~guerzhoy/tf_alexnet/
Note: not tested on the full test set; so only useful for pedagogical purposes. Proceed with caution.