Skip to content

Instantly share code, notes, and snippets.

@Flandan
Flandan / alexnet_analogue.py
Created May 16, 2017 22:16
A modification to alexnet to enable training on analogue input and output data (for learning steering behaviour as an example).
# alexnet.py
""" AlexNet.
References:
- Alex Krizhevsky, Ilya Sutskever & Geoffrey E. Hinton. ImageNet
Classification with Deep Convolutional Neural Networks. NIPS, 2012.
Links:
- [AlexNet Paper](http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf)
"""
from vjoy import vj, setJoy
import numpy as np
import time
print("vj opening", flush=True)
vj.open()
time.sleep(1)