• Stars
    star
    165
  • Rank 227,610 (Top 5 %)
  • Language
    Jupyter Notebook
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

龙曲良《TensorFlow深度学习》学习笔记及代码,采用TensorFlow2.0.0版本

TensorFlow深度学习练习代码

  龙龙(龙曲良)老师的《TensorFlow深度学习》是TensorFlow2.0入门教材之一。
  本书共15章,大体上可分为4个部份:第1-3章为第1部分,主要介绍人工智能的初步认知,并引出相关问题;第4-5章为第2部分,主要介绍TensorFlow相关基础,为后续算法实现铺垫;第6-9章为第3部分,主要介绍神经网络的核心理论和共性知识,让读者理解深度学习的本质;第10-15章为模型算法应用部分,主要介绍常见的算法与模型,让读者能够学有所用。
  申明: 所有的代码都来源于《TensorFlow深度学习》,github地址:https://github.com/dragen1860/Deep-Learning-with-TensorFlow-book。

使用说明

  1. 本练习代码是搭配龙龙老师的《TensorFlow深度学习》一书。
  2. 关于本笔记中的练习代码,已经消缺了书中代码的错误,可以很方便地执行程序。
  3. 关于书中的很多图,已经写好了生成数据图的代码,在对应的目录下也有数据图。
  4. 关于书中很多用jupyter notebook写的代码示例,也在对应的目录下有对应章节的ipynb文档。
  5. 关于python包的版本问题,请详见requirements.txt文件,笔者采用的tensorflow-gpu==2.0.0,可以使用cpu版本,但是运行会特别慢。
  6. keras模型与数据下载地址:链接:https://pan.baidu.com/s/1Rt6KYWUAQ8MWKY9UVVDtmQ 提取码:wedp
  7. 相关数据集和gym包,百度网盘的下载地址:链接:https://pan.baidu.com/s/1fZ748Xz3WrgQnIaxGsrZLQ,提取码:ea6u

  使用windows平台的tensorflow,将keras中的datasets和models放入到C:\Users\{pcUserName}\.keras路径下,其他的数据包,在对应的练习代码中有说明。

选用的《TensorFlow深度学习》版本

书名:TensorFlow深度学习
作者:龙龙老师
版次:2019年12月05日测试版第2版

电子书(带书签-无水印版)的百度网盘地址:链接:https://pan.baidu.com/s/1CPXZSrqVTJWHc3cYXIYjNg,提取码:mrhw

主要贡献者(按首字母排名)

@胡锐锋-天国之影-Relph

总结

  本书总共用了16天(2020年2月14日-2020年3月1日)阅读完,对TensorFlow和Keras的使用有很大的收获,其中第11、13章和第15章的scratch训练,由于电脑的显卡不好,不能完成练习,但其他章节的练习均已完成。

注意: 如果出现以下这个错误,说明显卡的显存太低,可以将代码和数据集放到Google Colab上面执行。

tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[500,500,500] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [Op:Sub] name: sub/

LICENSE

GNU General Public License v3.0

More Repositories

1

mysql-learning-notes

MySQL学习《MySQL 是怎样运行的:从根儿上理解 MySQL》,在线阅读:https://relph1119.github.io/mysql-learning-notes/
350
star
2

MachineLearning-WatermelonBook

周志华-机器学习
Jupyter Notebook
250
star
3

statistical-learning-method-camp

统计学习方法训练营课程作业及答案,视频笔记在线阅读地址:https://relph1119.github.io/statistical-learning-method-camp
Jupyter Notebook
193
star
4

JVMByPython

《自己动手写Java虚拟机》JVM的python实现
Python
127
star
5

QuestForMachineLearning-Camp

深度之眼《百面机器学习》训练营
Jupyter Notebook
93
star
6

my-team-learning

我的Datawhale组队学习,在线阅读地址:https://relph1119.github.io/my-team-learning
Jupyter Notebook
53
star
7

GraphicDesignPatternByPython

图解设计模式(Python)
Python
39
star
8

deeplearning-with-pytorch-notes

龙曲良《PyTorch深度学习》学习笔记及代码
Python
39
star
9

TinyBlockChains

《从零开始自己动手写区块链》代码和笔记
Jupyter Notebook
33
star
10

black-hat-python-2nd

《Python黑帽子-黑客与渗透测试编程之道》(Black Hat Python, 2nd Edition)阅读笔记
Python
29
star
11

recommendation-system-practice-notes

《推荐系统实践》代码与读书笔记,在线阅读地址:https://relph1119.github.io/recommendation-system-practice-notes
Jupyter Notebook
28
star
12

python3-web-spider-learning

《Python3爬虫开发实战》(第2版)笔记
HTML
24
star
13

GraphicDesignPattern

图解设计模式(Java)
Java
20
star
14

GraphicMultiThreadDesignPattern

图解Java多线程设计模式
Java
19
star
15

Pytorch-Camp

深度之眼《Pytorch框架训练营》
Jupyter Notebook
18
star
16

wasm-python-book

《WebAssembly原理与核心技术》WebAssembly解释器的Python实现
WebAssembly
18
star
17

jvm-nodejs

采用Node.js实现JVM
JavaScript
17
star
18

c-primer-plus

C Primer Plus第6版编程练习解答,在线阅读地址:https://relph1119.github.io/c-primer-plus
C
14
star
19

PyTorchNLPBook

《基于PyTorch的自然语言处理》阅读笔记
Jupyter Notebook
11
star
20

deeplearning-with-phthon-2nd

《Python深度学习(第2版)》代码及笔记
Jupyter Notebook
11
star
21

machine-learning-blueprints

《Python机器学习实践指南》代码和笔记
Python
11
star
22

cpp-primer-plus

C++ Primer Plus第6版编程练习解答,在线阅读地址:https://relph1119.github.io/cpp-primer-plus
C++
9
star
23

python-data-analysis

python数据分析(包括pandas、numpy、seaborn)
Jupyter Notebook
9
star
24

qt-demo-code-editor

用Qt开发代码编辑器
C++
6
star
25

sicp-solutions-manual

《计算机程序的构造和解释》(原书第二版)习题解答,在线阅读地址:https://relph1119.github.io/sicp-solutions-manual
Scheme
6
star
26

vue-learning-notes

Vue学习笔记,在线阅读地址:https://relph1119.github.io/vue-learning-notes/#/
HTML
6
star
27

linux-learning-notes

Linux操作系统学习笔记
C
6
star
28

my-leedcode-training

《代码随想录》LeetCode刷题
Python
5
star
29

mlc-learning

《机器学习编译》的学习笔记和练习代码
Python
4
star
30

fluent-python

《流畅的Python》(第2版)学习笔记
Python
4
star
31

design-patterns-cpp20

《C++20设计模式(第2版)》的学习笔记,包括可运行的代码、笔记等
C++
4
star
32

EffectivePython

Effecitve Python Code with Jupyter Notebook
Jupyter Notebook
4
star
33

sicp-in-python-notes

采用python编写SICP(计算机程序的构造和解释)练习代码
Python
3
star
34

bigdata-learning

大数据学习笔记,在线阅读地址:https://relph1119.github.io/bigdata-learning
Java
3
star
35

phonenix-project

凤凰项目系列书籍阅读笔记,在线阅读地址:https://relph1119.github.io/phonenix-project
3
star
36

data-analysis-notes

数据分析学习笔记
2
star
37

tiny-python-tools

Python自动化处理小工具
Python
2
star
38

flask-web-learning

Flask Web开发实战,个人笔记在线阅读地址:https://relph1119.github.io/flask-web-learning
JavaScript
2
star
39

TechBooks-ReadingNote

技术书籍阅读笔记,在线阅读地址:https://relph1119.github.io/TechBooks-ReadingNote
Jupyter Notebook
2
star
40

EasyUIDemo-rbac

EasyUI权限案例
CSS
2
star
41

hands-on-spring5

《Spring 5核心原理与30个类手写实战》学习笔记
Java
2
star
42

essential-cpp-notes

《Essential C++》示例与课后习题代码
C++
2
star
43

read-source-learn-architecture

《读源码学架构》,在线阅读地址:https://relph1119.github.io/read-source-learn-architecture/
Java
2
star
44

programming-pearls-notes

《编程珠玑》学习笔记
Jupyter Notebook
2
star
45

fastapi-learning-notes

《利用FastAPI构建Python微服务》学习笔记
Python
1
star
46

clean-in-everything

整洁之道系列书籍阅读笔记,在线阅读地址:https://relph1119.github.io/clean-in-everything
1
star
47

cpp-red-book

《C++20红宝书系列》练习代码
C++
1
star
48

spring-microservices-in-action-2nd

《Spring微服务实战(第二版)》学习笔记
Java
1
star
49

ThinkPython

Code of Think Python 2ed
Python
1
star
50

classic-computer-science-problems-notes

《算法精粹-经典计算机科学问题Java实现》学习笔记
Java
1
star
51

zltf-notes

《左耳听风·传奇程序员练级攻略》阅读笔记
1
star