Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

tianzhaixing JohnTian

🎯
Focusing
Block or report user

Report or block JohnTian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JohnTian
JohnTian / disp_multiple_images.py
Last active Jul 16, 2019 — forked from soply/disp_multiple_images.py
Plot multiple images with matplotlib in a single figure. Titles can be given optionally as second argument.
View disp_multiple_images.py
import matplotlib.pyplot as plt
import numpy as np
def show_images(images, cols = 1, titles = None):
"""Display a list of images in a single figure with matplotlib.
Parameters
---------
images: List of np.arrays compatible with plt.imshow.
@JohnTian
JohnTian / depoly.prototxt
Last active Jul 29, 2017
caffe image recognization model and prototxt for transfer learning (fine-tuning)
View depoly.prototxt
name: "GoogleNet"
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 10 dim: 3 dim: 224 dim: 224 } }
}
layer {
name: "conv1/7x7_s2"
type: "Convolution"
You can’t perform that action at this time.