Burma has released thousands of prisoners to mark the 57th anniversary of the country 's independence from Britain .