Martos was born in the northern city of Cajamarca. Following the conclusion of his high school education at the Cristo Rey Maristas School, Martos enrolled in the Chorrillos Military School, where he would graduate in 1978 with a specialization in Engineering. He attained a master's degree at the Army's Superior War College and at the Army's Scientific and Technological Institute.