May-17-2019, 09:47 AM
(May-11-2019, 03:51 AM)scidam Wrote: I gotMemoryError
on my computer, but it is quite weak (it has only 4GB of RAM). When I changed
10000
to1000
everything works fine, but you have a typo inepochs = range(1, len('acc') + 1)
; it should be
epochs = list(range(1, len(history_dict['acc']) + 1))
.
Thanks for correcting the typo, my copy of the book is obviously a bit out of date, that's how it appears in the text. If you're changing the 10000 to 1000 then surely the training data becomes incomplete? I tried it anyway and I'm still getting the same error, despite also correcting the typo. My macbook has 8gb of ram, and it's not saying anything about memory issues, but jupyter just keeps saying the kernel has crashed