This study is to compare the efficacy of two types of non-invasive brain stimulation (NIBS) in lower limb motor function recovery in stroke patients. The intervention will be tDCS (transcraniel direct current stimulation) or rTMS (repetitive transcraniel magnetic stimulation) plus conventional gait training for 10 days over 2 weeks.