Comments (1)
编码问题,用以下代码代替可以解决
def load_data():
f = gzip.open('./mnist.pkl.gz', 'rb')
training_data, valid_data, test_data = pickle.load(f, encoding="bytes")
return training_data, valid_data, test_data
from 1book.
Related Issues (20)
- 所有包都按书里说的安装成功,但是运行还是有错误。 HOT 2
- 使用K近邻算法检测异常操作(一)的标识文件在哪里获取? HOT 1
- 求助代码
- P201中的x和_y,以及系统的输入输出问题
- 2017年11月第一版第三次印刷的书从第126直接跳到143了 HOT 1
- 第14章神经网络算法识别MNIST手写数字案例中数据集不能在线下载 HOT 1
- 书中的一些问题还有一个疑问!!!(2017年11月第1版第3次印刷)
- 关于1book MasqueradeDat/label.txt一点疑问 HOT 3
- 报错了,在win7上,咋整
- 大神,有关于这本书的微信读者群吗?
- 15-3.py与书本上的代码块不符,有没更新的?
- 关于code部分(5-4.py)有点问题咨询
- It is obvious between the original images and cloaked ones HOT 1
- 请问三本书的代码内容是否更新到python3版本
- 网盘链接没了
- HMM识别XSS攻击(1) HOT 4
- P132中倒数第四行勘误 HOT 2
- 勘误
- 统计最频繁使用的前50个命令和最不频繁50个命令对应的代码疑问 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 1book.