This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. install FFmpeg 2.8.6 | |
Following the installation guide here: http://www.linuxfromscratch.org/blfs/view/svn/multimedia/ffmpeg.html | |
First download all the dependences and install them following the guides on the website blindly. | |
Optional dependencies and installation can be ignored. | |
When the preparation is done, just install ffmpeg blindly...Very easy! | |
2. install opencv 2.4.11 | |
Download the souce file from https://github.com/Itseez/opencv/archive/2.4.11.tar.gz | |
tar -xvf opencv-2.4.11.tar.gz | |
Install the dependencies: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Prefix is Ctrl-a | |
set -g prefix C-a | |
bind C-a send-prefix | |
unbind C-b | |
set -sg escape-time 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
#Mouse works as expected |
- Pytorch
PyTorch is a deep learning framework that puts Python first. - NNabla
NNabla is a deep learning framework that is intended to be used for research, development and production. We aim it running everywhere like desktop PCs, HPC clusters, embedded devices and production servers. - Sonnet
Sonnet is a library built on top of TensorFlow for building complex neural networks. - Chainer
A Powerful, Flexible, and Intuitive Framework for Neural Networks
- input dim: 3 x 16 x 128 x 171, jittering by random crops: 3 x 16 x 112 x 112.
- 1st layer group
conv1a: kernel: 64 * 3 x 3 x 3, stride: 1, output dim: 64 x 16 x 112 x 112.
relu1a: RELU.
pool1: MAX, kernel: 1 x 2 x 2, stride: [1, 2, 2], output dim: 64 x 16 x 56 x 56. - 2nd layer group
conv2a: kernel: 128 * 3 x 3 x 3, output dim: 128 x 16 x 56 x 56.
relu2a: RELU.
pool2: MAX, kernel: 2 x 2 x 2, stride: [2, 2, 2], output dim: 128 x 8 x 28 x 28.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import sys | |
import time | |
import torch | |
from torch.autograd import Variable | |
import torchvision.models as models | |
import torch.backends.cudnn as cudnn | |
from models import DenseNet | |
import torch.nn as nn |