It's not a soo strong opinion. There are definitely people who learn a lot from lectures, I've seen a lot of them, but there are also a lot of people who don't like lectures and feel they learn nothing in it and learn quite fast alone at home. The last one is mostly me. (for context, i have a PhD in AI).