Skip to content

Instantly share code, notes, and snippets.

View yezhengli-Mr9's full-sized avatar

Yezheng Li yezhengli-Mr9

View GitHub Profile
@yezhengli-Mr9
yezhengli-Mr9 / mask_creator.py
Created October 1, 2018 11:35 — forked from tonysyu/mask_creator.py
Tool to create polygon mask in Matplotlib
"""
Interactive tool to draw mask on an image or image-like array.
Adapted from matplotlib/examples/event_handling/poly_editor.py
"""
import numpy as np
# import matplotlib as mpl
# mpl.use('tkagg')
@yezhengli-Mr9
yezhengli-Mr9 / installing_caffe.md
Created January 6, 2021 04:04 — forked from nikitametha/installing_caffe.md
Installing Caffe on Ubuntu 16.04 and above (CPU ONLY, WITHOUT CUDA OR GPU SUPPORT)

This is a guide on how to install Caffe for Ubuntu 16.04 and above, without GPU support (No CUDA required).

Prerequisites:

OpenCV

sudo apt-get install libopencv-dev python-opencv

OpenBLAS OR Atlas

@yezhengli-Mr9
yezhengli-Mr9 / Makefile.config
Created January 6, 2021 04:08 — forked from chtlp/Makefile.config
caffe makefile config: cpu only, use anaconda python3
## 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