TensorFlow的經(jīng)典案例
本文是TensorFlow實(shí)現(xiàn)流行機(jī)器學(xué)習(xí)算法的教程匯集,目標(biāo)是讓讀者可以輕松通過(guò)清晰簡(jiǎn)明的案例深入了解 TensorFlow。這些案例適合那些想要實(shí)現(xiàn)一些 TensorFlow 案例的初學(xué)者。本教程包含還包含筆記和帶有注解的代碼。
第一步:給TF新手的教程指南
1:tf初學(xué)者需要明白的入門(mén)準(zhǔn)備
機(jī)器學(xué)習(xí)入門(mén)筆記:
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
MNIST 數(shù)據(jù)集入門(mén)筆記
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
2:tf初學(xué)者需要了解的入門(mén)基礎(chǔ)
Hello World
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
基本操作
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
3:tf初學(xué)者需要掌握的基本模型
最近鄰:
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
線性回歸:
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
LogisTIc 回歸:
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
4:tf初學(xué)者需要嘗試的神經(jīng)網(wǎng)絡(luò)
多層感知器:
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
卷積神經(jīng)網(wǎng)絡(luò):
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
循環(huán)神經(jīng)網(wǎng)絡(luò)(LSTM):
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
雙向循環(huán)神經(jīng)網(wǎng)絡(luò)(LSTM):
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
動(dòng)態(tài)循環(huán)神經(jīng)網(wǎng)絡(luò)(LSTM)
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
自編碼器
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
5:tf初學(xué)者需要精通的實(shí)用技術(shù)
保存和恢復(fù)模型
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
圖和損失可視化
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
Tensorboard——高級(jí)可視化
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
5:tf初學(xué)者需要的懂得的多GPU基本操作
多 GPU 上的基本操作
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/example...
6:案例需要的數(shù)據(jù)集
有一些案例需要 MNIST 數(shù)據(jù)集進(jìn)行訓(xùn)練和測(cè)試。運(yùn)行這些案例時(shí),該數(shù)據(jù)集會(huì)被自動(dòng)下載下來(lái)(使用 input_data.py)。
MNIST數(shù)據(jù)集筆記: https://github.com/aymericdamien/TensorFlow-Examples/blob/master/noteboo...
官方網(wǎng)站:
第二步:為T(mén)F新手準(zhǔn)備的各個(gè)類(lèi)型的案例、模型和數(shù)據(jù)集
初步了解:TFLearn TensorFlow
接下來(lái)的示例來(lái)自TFLearn,這是一個(gè)為 TensorFlow 提供了簡(jiǎn)化的接口的庫(kù)。里面有很多示例和預(yù)構(gòu)建的運(yùn)算和層。
使用教程:TFLearn 快速入門(mén)。通過(guò)一個(gè)具體的機(jī)器學(xué)習(xí)任務(wù)學(xué)習(xí) TFLearn 基礎(chǔ)。開(kāi)發(fā)和訓(xùn)練一個(gè)深度神經(jīng)網(wǎng)絡(luò)分類(lèi)器。
TFLearn地址:https://github.com/tflearn/tflearn
示例:https://github.com/tflearn/tflearn/tree/master/examples
預(yù)構(gòu)建的運(yùn)算和層:#api
筆記:https://github.com/tflearn/tflearn/blob/master/tutorials/intro/quickstart.md
基礎(chǔ)模型以及數(shù)據(jù)集
線性回歸,使用 TFLearn 實(shí)現(xiàn)線性回歸
https://github.com/tflearn/tflearn/blob/master/examples/basics/linear_re...
邏輯運(yùn)算符。使用 TFLearn 實(shí)現(xiàn)邏輯運(yùn)算符
https://github.com/tflearn/tflearn/blob/master/examples/basics/logical.py
權(quán)重保持。保存和還原一個(gè)模型
https://github.com/tflearn/tflearn/blob/master/examples/basics/weights_p...
微調(diào)。在一個(gè)新任務(wù)上微調(diào)一個(gè)預(yù)訓(xùn)練的模型
https://github.com/tflearn/tflearn/blob/master/examples/basics/finetunin...
使用 HDF5。使用 HDF5 處理大型數(shù)據(jù)集
https://github.com/tflearn/tflearn/blob/master/examples/basics/use_hdf5.py
使用 DASK。使用 DASK 處理大型數(shù)據(jù)集
https://github.com/tflearn/tflearn/blob/master/examples/basics/use_dask.py
計(jì)算機(jī)視覺(jué)模型及數(shù)據(jù)集