This document contains a tutorial for running the codes associated with the method reported in the paper entitled "Improved High-density Myoelectric Pattern Recognition Control Against Electrode Shift Using Data Augmentation and Dilated Convolutional Neural Network", which has been accepted by IEEE Transactions on Neural Systems and Rehabilitation Engineering.