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
" Settings | |
"set nohud | |
set smoothscroll | |
set typelinkhints | |
set cncpcompletion | |
set autoupdategist | |
set nochangelog | |
let searchlimit = 45 | |
let scrollstep = 150 |
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
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# uncomment to disable IO dependencies and corresponding data layers |
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
#! /bin/sh | |
# Install script for mjpg-streamer | |
# Written by Min Hoo Lee | |
# March 27, 2016 (3/27/16) | |
# Install dependencies | |
sudo apt-get install imagemagick libv4l-dev libjpeg-dev | |
git clone https://github.com/codewithpassion/mjpg-streamer.git | |
cd mjpg-streamer/mjpg-streamer |
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
from __future__ import print_function | |
import imageio | |
from PIL import Image | |
import numpy as np | |
import keras | |
from keras.layers import Input, Dense, Conv2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, Concatenate, Reshape, Activation | |
from keras.models import Model | |
from keras.regularizers import l2 | |
from keras.optimizers import SGD |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#! /bin/sh | |
# Install script for the latest version of OpenCV with python support and the extra modules added | |
# If installing with python, make sure to start the virtualenv before running the script | |
# Tested on Ubuntu 16.04 LTS, x64 | |
# Written by Min Hoo Lee | |
# December 28, 2016 (12/28/2016) | |
# Exit script on failure | |
set -e |
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
#! /bin/bash | |
# Written by Mark Lee (github.com/minhoolee), August 9, 2018 | |
set -e | |
# Define the directory that contains specific file structure | |
# Must be DEFECTS > SAMPLES > MODEL_IMAGES | |
test_dir=./data | |
# Define the model names |