Myanmar's state media reported the military government has released 5,864 prisoners, including 180 foreign nationals, under amnesty for the country's independence day.