you're assuming all of the military would agree with the government
So much would have to change in our country to turn our government tyrannical I'm not sure it would really be possible.
Folks have generally looked at what has gone on in the past few-to-20 years for evidence of tyranny. But you bring up a point... in the U.S., the military has generally considered itself independent of politics and sworn itself to the political powers of the day. In the history of the world, that is rarely what happens. What *generally* happens is that some army goes to war, wins, and then the general of that army establishes himself as the new head of the new government (a military coup). For a while, everyone expected G. Washington to do that as well. While we don't generally recognize a military coup as a threat to our way of life, it is there.
When only the army and the police have guns, why will they listen to the politicians, especially the politicians (not naming names so as to prevent the downward spiral of this thread) who abhor the military?
We have seen the police/"militia" disregard the Constitution and follow the orders of the political hacks of New Orleans. There is no reason to believe that any law enforcement or military personnel will use their own good judgment and refuse to participate in blatantly Unconstitutional activities. Katrina proves this to be true. It did not take training in Constitutional law for those LEOs to know that what they were doing was wrong.
A military coup is the last thing that I would expect to happen in this country, but it is not beyond the realm of possible.