Python 3.4 or greater
https://github.com/jupyterhub/jupyterhub
pip install --upgrade jupyterhub notebook
import keras.backend as K | |
def reset_weights(model): | |
session = K.get_session() | |
for layer in model.layers: | |
if hasattr(layer, 'kernel_initializer'): | |
layer.kernel.initializer.run(session=session) |
# Source: | |
# https://sourceforge.net/p/jaer/code/HEAD/tree/scripts/python/jAER_utils/loadaerdat.py | |
import struct | |
import os | |
V3 = "aedat3" | |
V2 = "aedat" # current 32bit file format | |
V1 = "dat" # old format | |
EVT_DVS = 0 # DVS event type |
# Install the relevant system requirements | |
sudo apt-get update | |
# Install Python 2.7 w/ development headers | |
sudo apt-get install -y python | |
sudo apt-get install -y python-dev | |
# Install NEURON deps | |
sudo apt-get install -y libx11-dev | |
sudo apt-get install -y libxext-dev |
Python 3.4 or greater
https://github.com/jupyterhub/jupyterhub
pip install --upgrade jupyterhub notebook
apt hostadp does not support edimax ew-7811un
This build allows support for it
$ mkdir ~/src
$ cd ~/src
$ wget https://github.com/jenssegers/RTL8188-hostapd/archive/v1.1.tar.gz
$ tar -zxvf v1.1.tar.gz
$ cd RTL8188-hostapd-1.1/hostapd
Install hostapd and lighttpd (high performance hosting)
$ sudo apt-get install hostapd lighttpd
Edit interfaces to load your wlan interface on boot
# Add the following (and consider making a backup of interfaces):
allow-hotplug wlan1
Hardcode IP address into the boot sequence on the SD card (cmdline.txt)
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 elevator=deadline root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ip=169.254.113.200
Try pinging the raspi
$ ping 169.254.113.200