Fei Hu's Blog

To understand better by writing

Git Notes

Merge a remote pull to the current branch Add the following script to ~/.gitconfig [alias] pr = "!f() { git fetch ${2:-upstream} pull/$1/head:pr/$1 && git checkout pr/$1; }; f" ...

Install Load Balance V2 for OpenStack

On the controller node apt-get install python-neutron-lbaas -y vi /etc/neutron/neutron.conf: [DEFAULT] ... service_plugins = router, neutron_lbaas.services.loadbalancer.plugin.LoadBalan...

SystemML Workflow

1. Create DML script Use org.apache.sysml.api.mlcontex.Script class to create DML script. The in() and out() functions are utilized to map the input and output values 2. Handling DML /org/apac...

CS231n_Notes_1.1: Image Classification

Image Classification Problem is the task of assigning an input image one label from a fixed set of categories. Many other seemingly distinct Computer Vision tasks (such as ojbject detection...

Setup PyCharm For SystemML with PySpark

1. Install PySpark 1.1 Download Spark package 1.2 Set up SPARK_HOME at ~/.bash_profile export SPARK_HOME="/Users/mac/Documents/Software/spark-2.1.1-bin-hadoop2.7" export PATH="$SPARK_HOME/bin:...

Yayoi Kusama Infinity Mirrors Exhibition

Yayoi Kusama: Infinity Mirrors is a celebration of the legendary Japanese artist’s sixty-five-year career and promises to be one of 2017s essential art experiences. Visi...

Some Concepts in Convolutional Neural Network

Taken from http://cs231n.github.io/convolutional-networks/

Note: all the content comes from http://cs231n.github.io/convolutional-networks/ A simple ConvNet is a sequence of layers, and every layer of a ConvNet transforms one volume of activations to anot...

Shrink the image to support smaller flavor

When snapshot an instance to get an image, the snapshot will keep the flavor information in the image. Then this image will require the disk size in the flavor for the new instance to be larger tha...

Resize OpenStack Image

The image from OpenStack Snapshot is usually much bigger than the used disk in the virtual machine. That is because a snapshot is the entire disk, so the snapshot will be much bigger than the origi...

RDO CentOS-7 Image SSH Password Issue for OpenStack

RDO provides a lot of images for OpenStack platform (https://www.rdoproject.org/resources/image-resources/, http://docs.openstack.org/image-guide/obtain-images.html), but when uploading CentOS7 ima...