So glad this thread got resurrected, or else I'd have missed it completely!
In seriousness to the OP, have you ever thought about, you know, talking with one of your professors? I don't mean asking her straight-up, "why do you hate me?" but ask to meet with her and tell her that you feel like you struggle at times with the class and aren't sure why. Show her your enthusiasm for the material (you do enjoy learning, right?) and ask her if there's anything she thinks you could improve on. This gives her an opening to maybe point out some behavior of yours that you don't even realize you're doing.
On the other hand, she may sincerely say no and you should recognize that this whole issue may simply be a matter of your perspective. Some women, dare I say it, may actually be very direct. People often see this as relatively normal, coming from a man. But when someone who isn't used to seeing strong women is confronted by a college professor, this same behavior may be interpreted just as you are now.
However, in your meeting: Don't. Get. Defensive. Don't let your relationship with any professor become adversarial. The two of you, your classmates and a host of others, make up a team to help you reach your educational goals. Alright, that last bit is a bit cheesy, but also true.