Deep learning 关于深度学习';没有教程吗?
看 我使用python3.5在Windows7中编写代码Deep learning 关于深度学习';没有教程吗?,deep-learning,theano,Deep Learning,Theano,看 我使用python3.5在Windows7中编写代码 import pickle, gzip, numpy f = gzip.open('mnist.pkl.gz', 'rb') train_set, vaild_set, test_set = pickle.load(f) f.close() 但我得到了一个错误: Traceback (most recent call last): File "e:\python_workspace\theanoTest\DataSet.py",
import pickle, gzip, numpy
f = gzip.open('mnist.pkl.gz', 'rb')
train_set, vaild_set, test_set = pickle.load(f)
f.close()
但我得到了一个错误:
Traceback (most recent call last):
File "e:\python_workspace\theanoTest\DataSet.py", line 7, in <module>
train_set, vaild_set, test_set = pickle.load(f)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x90 in position 614: ordinal not in range(128)
所以我不知道为什么会出现错误?可能是的重复。是的,可能是不兼容@这个问题有一个答案。你试过他们的解决办法吗?
import sys
print(sys.getdefaultencoding())