Rant: a bad TensorFlow shape error ate 3 days of my life
I spent three full days last week chasing a shape mismatch error in a simple image classifier I built with TensorFlow. The error message pointed at my input layer, so I rebuilt that thing twice and read the docs until my eyes hurt, but the real bug was a batch dimension I'd dropped in the data loader. I only found it after I printed the actual array shapes side by side at 11pm on day three, and there it was, a missing 1 where I expected a 32. The dumb part is the fix was one line, and I could have caught it in 10 minutes if I'd just done that first. If you're stuck on shapes, print them early and often instead of trusting the error text. Has anyone else burned days on something this silly in a pipeline, and what do you check first now?