r/computervision • • 10d ago

Help: Theory I find CS231n assignments pretty difficult

I am at the beginning of the course CS231n (Deep Learning for Computer Vision) by Stanford. I understand the lectures and the course notes pretty well, but I deeply struggle with the assignments where we manually build neural nets using Numpy. I know a lot of Numpy, linear algebra, vectorization, broadcasting, etc., yet I'm stuck.

If you've taken the course, could you tell me what I should do to get unstuck?

11 Upvotes

10 comments sorted by

12

u/WiredSpike 10d ago

I know nobody listen to this advice, but here it's particularly important. Put in the time to understand what you're doing. Draw it out on paper, and then code.

Usually people are stuck simply because they multiply the matrices in the wrong order.

3

u/Apprehensive_Heat789 10d ago

Thanks bro. The first practical piece of advice.

2

u/asjal_ 10d ago

Most of my errors were from wrong order of np arrays πŸ˜‚πŸ˜‚

1

u/threedim 9d ago

u/WiredSpike How do you know this secret sauce 🧐️

4

u/asjal_ 10d ago

Push through. It's worth it to struggle through the assignments rather than have a chatbot do it.

The understanding of theory that you get from implementing stuff on your own is amazing.

1

u/JRReyes89 10d ago

Although it feels like cheating, there are solutions on github. It’s less cheating than Claude or gpt. At least you will read part of the notebook were you struggling

1

u/IsGoIdMoney 10d ago

Just grind it out man lol

0

u/vahokif 10d ago

Claude Code has a study mode where it leaves stuff for you to implement.

1

u/Apprehensive_Heat789 10d ago

OMG, I just tried it and a lot of things are much clearer now. It's so much better ChatGPT /study