lmjohns3 / theanets

Neural network toolkit for Python
http://theanets.rtfd.org
MIT License
328 stars 73 forks source link

netcdf_file expects a filename not a file object #68

Closed john-a-m closed 9 years ago

john-a-m commented 9 years ago

file objects can be used but to do so the mode must be set to 'rb' (i.e. scipy.io.netcdf_file(open(TRAIN_NC, 'rb')) )