Skip to content

Instantly share code, notes, and snippets.

View wandering007's full-sized avatar

Changmao Cheng wandering007

  • Fudan University
View GitHub Profile
@wandering007
wandering007 / benchmark_densenet_effi.py
Created April 30, 2018 16:56
benchmark memory-efficient densenet
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
@wandering007
wandering007 / c3d model.md
Last active July 28, 2017 21:25
Papers on Proposing Deep Neural Networks Models

Network settings (Caffe-style)

  • 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.
@wandering007
wandering007 / NNL.md
Last active August 16, 2017 12:30
A collection of neural network libraries, mm & computer vision libraries

python

  • 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

C

@wandering007
wandering007 / Useful CLTs on Windows.md
Last active August 6, 2017 17:58
A collections of commonly used tools on Windows (Win10)
@wandering007
wandering007 / tmux.conf
Last active April 26, 2022 16:36 — forked from anonymous/tmux.conf
vim friendly tmux configuration
#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
@wandering007
wandering007 / install FFmpeg 2.8.6 and Opencv 2.4.11 in Ubuntu 12.04
Last active August 5, 2016 06:50
A simple way to install FFmpeg 2.8.6 and Opencv 2.4.11 in Ubuntu 14.04
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: