Skip to content

Instantly share code, notes, and snippets.

Avatar

Yezheng Li yezhengli-Mr9

View GitHub Profile
@yezhengli-Mr9
yezhengli-Mr9 / Makefile.config
Created Jan 6, 2021 — forked from chtlp/Makefile.config
caffe makefile config: cpu only, use anaconda python3
View Makefile.config
## 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
@yezhengli-Mr9
yezhengli-Mr9 / installing_caffe.md
Created Jan 6, 2021 — forked from nikitametha/installing_caffe.md
Installing Caffe on Ubuntu 16.04 and above (CPU ONLY, WITHOUT CUDA OR GPU SUPPORT)
View installing_caffe.md

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 / mask_creator.py
Created Oct 1, 2018 — forked from tonysyu/mask_creator.py
Tool to create polygon mask in Matplotlib
View mask_creator.py
"""
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')