Speaking broadly, military academies in the modern sense - West Point or Sandhurst, for instance - did not exist in either period. Ancient and medieval officers largely learned by doing, by personal instruction from family members and/or superiors, and by reading military history and theory by such authors as Vegetius.