flâneur — a map of the web's best reading

PyTorch + NumPy Bug

tanelp.github.io · 1,816 words · saved by 1 readers

A bug that plagues thousands of open-source ML projects.

Update: The problem is now fixed in Pytorch but can still happen in tensorflow-keras. Discussion on reddit . Bugs in ML code are notoriously hard to fix - they don’t cause compile errors but silently regress accuracy. Once you have endured the pain and fixed one of these, the lesson is forever etched into your brain, right? Wrong . Recently, an old foe made a comeback - a familiar bug bit me again! As before, the performance improved significantly after fixing it. The bug was subtle and easy to make. How many others has it done damage to? Curious, I downloaded over a hundred thousand repositor

Explore this link on the map →

saved by

related reading