Does anyone have the manual training loop at the end of the ML Lesson 4 - MNIST working? I would like to explore the code but doing len
on the generators isn’t working.
I did fix a few errors like TypeError: object of type 'generator' has no len()
by changing len(foo)
to len(list(foo))
.
I don’t think this is the right way so this might just be a simple python question.