原创 CIFAR-10 model
# Import tflearn and some helpers import numpy as np import tflearn from tflearn.data_utils import shuffle, to_categori
原创 Tensorflow function(二)
tf.get_default_graph: Returns the default graph for the current thread. The
原创 docker proxy
vim /etc/default/docker# Docker Upstart and SysVinit configuration file## THIS FILE DOES NOT APPLY TO SYSTEMD## Pleas
原创 Ubuntu problem
software source:deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiversedeb http://mirrors.aliy
原创 useful link
What is the best way to cross the great firewall in China? Bandwagonhost VPS with Shadowsockslink: https://www.vpnask.c
原创 docker command
# present all containerssudo docker ps -a# present all images sudo docker i
原创 worth to read
Machine Learning is Fun! Part3: Deep Learning and Convolutionallink address: https://medium.com/@ageitgey/machine-learn
原创 opencv read images in BGR channels
import sysimport dlibfrom skimage import ioimport cv2# Load the image into
原创 useful opencv function
Python: cv2.resize(src, dsize[, dst[, fx[, fy[, interpolation]]]]) image = cv2.imread('ironman.png')gray_image = cv2.cv
原创 TFlearn learning
TFlearn example github: https://github.com/tflearn/tflearn/tree/master/examples#tflearn-examplesTFlearn docs: http://t
原创 Important Package
numpyscipypandasmatplotlibsklearnopencv-pythonscikit-imageh5pytflearn
原创 dlib function
class dlib.image_windowThis is a GUI window capable of showing images on the screen.
原创 Tensorflow function(一)
tf.import_graph_def: import_graph_def( graph_def, input_map=None,
原创 google colab
upload file in colab: from google.colab import files uploaded = files.upload()open "pickled" object:def unpickle(file):
原创 CNN learning
wikipedia: https://en.wikipedia.org/wiki/Convolutional_neural_network#Pooli