Well, if you have a teacher who dislikes you enough to resort to shouting at and punishing you when you get things wrong, instead of helping you to correct the mistake, you aren't likely to learn very much, no matter how clever they may be.
It's childish to complain if a teacher is simply strict or expects you to work hard, even if you don't enjoy their lessons, but that is different from dislike. At least that is how I see it.