Open prhbrt opened 8 years ago
PS: the code is actually in load.py (not cnn.py), but is called when running cnn.py. Sorry for the confusion.
If I remember correctly this piece of code originally converted word_mat
and char_mat
into numpy arrays. Initially we were pickling the data but that'd take a lot of space. We fixed it by returning the data in a function call. Apparently this file has a lot of weird code. Will fix soon.
I noticed this sniplet of code in load.py:
The for-loops seem like they should do something, but instead they do nothing.
Is there something wrong here?