Following step by steps:
- Scipy:
sudo apt-get install python3-scipy python-scipy
- H5py:
You'll use CMake on the Raspberry Pi to create Python modules that can be called from the tutorial code. To install CMake on your Pi, connect to the network, open a terminal window, and type the following.
sudo apt-get update
sudo apt-get install -y cmake
This is a library for fast linear algebra operations, which can significantly increase the speed of your models. It is optional, but highly recommended. To install OpenBLAS, type the following.
#!/bin/bash | |
VERSION=3.3.0 | |
PYTHON=/usr/bin/python3 | |
if [ $1 == "arm" ]; then | |
echo "Compiling for ARM (Raspberry Pi)" | |
sudo apt-get install gcc-arm-linux-gnueabi | |
sudo apt-get install gcc-arm-linux-gnueabihf | |
# Uninstall current drive and cuda | |
sudo apt purge nvidia-* -y | |
sudo apt autoremove -y | |
sudo apt autoclean | |
# Add NVIDIA package repositories | |
# Add HTTPS support for apt-key | |
sudo apt-get install gnupg-curl | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.1.243-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1604_10.1.243-1_amd64.deb | |
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub |
#!/bin/bash | |
sudo apt-get update | |
wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz | |
sudo tar -xvf go1.13.3.linux-amd64.tar.gz | |
sudo mv go /usr/local | |
echo 'export GOROOT=/usr/local/go' >> $HOME/.bashrc | |
echo 'export GOPATH=$HOME/Projects/Proj1' >> $HOME/.bashrc | |
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> $HOME/.bashrc | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/Projects/Proj1 |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
Edit or create new file:
nano ~/.tmux.conf
Inserte a line:
set -g mouse on #For tmux version 2.1 and up
Run to activate
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
# tested on AWS p2.xlarge August 29, 2018 | |
# install CUDA | |
sudo apt-get update && sudo apt-get install wget -y --no-install-recommends | |
CUDA_URL="https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda-repo-ubuntu1604-9-2-local_9.2.148-1_amd64" | |
wget -c ${CUDA_URL} -O cuda.deb | |
sudo dpkg --install cuda.deb | |
sudo apt-key add /var/cuda-repo-9-2-local/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get install -y cuda |