Skip to Content
深度学习入门 : 基于Python的理论与实现
book

深度学习入门 : 基于Python的理论与实现

by 斋藤康毅
July 2018
Intermediate to advanced
310 pages
8h 21m
Chinese
Posts & Telecom Press
Content preview from 深度学习入门 : 基于Python的理论与实现
1.7  小结 
19
img = imread('lena.png') #
读入图像(设定合适的路径!)
plt.imshow(img)
plt.show()
运行上述代码后,会显示图1
-
5 所示的图像。
1-5 显示图像
0
50
100
150
200
250
0 50 100 150 200 250
这里,我们假定图像
lena.png
在当前目录下。读者根据自己的环境,可
能需要变更文件名或文件路径。另外,本书提供的源代码中,在
dataset
录下有样本图像
lena.png
。比如,在通过
Python
解释器从
ch01
目录运行上
述代码的情况下,将图像的路径
'lena.png'
改为
'../dataset/lena.png'
,即
可正确运行。
1.7
小结
本章重点介绍了实现深度学习(神经网络)所需的编程知识,以为学习
深度学习做好准备。从下一章开始,我们将通过使用
Python
实际运行代码,
逐步了解深度学习。
1章 Python 入门
20
本章只介绍了关于
Python
的最低限度的知识,想进一步了解
Python
读者,可以参考下面这些图书。首先推荐《
Python
语言及其应用》
[1]
一书。
这是一本详细介绍从
Python
编程的基础到应用的实践性的入门书。关于
NumPy
,《
Python
进行数据分析》
[2]
一书中进行了简单易懂的总结。此 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

ルールズ・オブ・プログラミング ―より良いコードを書くための21のルール

Chris Zimmerman, 久富木 隆一

Publisher Resources

ISBN: 9787115485588