What I did for a while was observe others. Being an animation major helped observation skills quite a bit in my case so I got a lot of chances just to study walking in people in general. Men have very varied walks just like anyone else and even they roll their hips. Since we were born with more generous proportions in that area it is magnified so it is good to be aware of hip motion.
A lot of advice online will tell you to be direct. Walk like you have somewhere to go and don't doddle so much. Be more deliberate and less shy with your steps and use your shoulders more, arms a bit as well. Dont over do it of course.... you may just look obnoxiously perky

Another biggie is when you are standing still don't rest your weight so much on one leg. then your hip will pop out and be accentuated again. Stand more even.
It may be easier to keep in mind there should be some sensitive bits between your legs so no putting your legs together so much.
Uh.... I dunno what other tips I can give right now. There is a lot to it and mindset probably helps too. try not to be so shy. make yourself look too small and its considered feminine in most cases.
You can always imitate different guys walks and practice off of those. You have female anatomy and were raised to walk like one. You have to relearn it so don't worry you cant be the only one with a girly walk here. It may just take time.
Hope this helps.