-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
417 lines (298 loc) · 13.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Documentation for TFLearn, a deep learning library featuring a higher-level API for TensorFlow.">
<meta name="author" content="Aymeric Damien">
<link rel="shortcut icon" href="./img/favicon.ico">
<title>TFLearn | TensorFlow Deep Learning Library</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="./css/theme.css" type="text/css" />
<link rel="stylesheet" href="./css/theme_extra.css" type="text/css" />
<link rel="stylesheet" href="./css/highlight.css">
<link href="./css/extra.css" rel="stylesheet">
<script>
// Current page data
var mkdocs_page_name = "Home";
var mkdocs_page_input_path = "index.md";
var mkdocs_page_url = "/";
</script>
<script src="./js/jquery-2.1.1.min.js"></script>
<script src="./js/modernizr-2.8.3.min.js"></script>
<script type="text/javascript" src="./js/highlight.pack.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81255389-1', 'tflearn.org');
ga('send', 'pageview');
</script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-nav-search">
<a href="." class="icon icon-home"> TFLearn</a>
<div role="search">
<form id ="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1 current">
<a class="current" href=".">Home</a>
<ul class="subnav">
<li class="toctree-l2"><a href="#tflearn-deep-learning-library-featuring-a-higher-level-api-for-tensorflow">TFLearn</a></li>
<li class="toctree-l2"><a href="#quick-overview">Quick overview</a></li>
<li class="toctree-l2"><a href="#where-to-start">Where to Start?</a></li>
<li class="toctree-l2"><a href="#model-visualization">Model Visualization</a></li>
<li class="toctree-l2"><a href="#sources">Sources</a></li>
<li class="toctree-l2"><a href="#contributions">Contributions</a></li>
<li class="toctree-l2"><a href="#license">License</a></li>
</ul>
</li>
<li class="toctree-l1">
<a class="" href="doc_index/">Index</a>
</li>
<li class="toctree-l1">
<a class="" href="installation/">Installation</a>
</li>
<li class="toctree-l1">
<a class="" href="getting_started/">Getting Started</a>
</li>
<li class="toctree-l1">
<a class="" href="tutorials/">Tutorials</a>
</li>
<li class="toctree-l1">
<a class="" href="examples/">Examples</a>
</li>
<li class="toctree-l1">
<span class="caption-text">Models</span>
<ul class="subnav">
<li class="">
<a class="" href="models/dnn/">Deep Neural Network</a>
</li>
<li class="">
<a class="" href="models/generator/">Generative Neural Network</a>
</li>
</ul>
</li>
<li class="toctree-l1">
<span class="caption-text">Layers</span>
<ul class="subnav">
<li class="">
<a class="" href="layers/core/">Core Layers</a>
</li>
<li class="">
<a class="" href="layers/conv/">Convolutional Layers</a>
</li>
<li class="">
<a class="" href="layers/recurrent/">Recurrent Layers</a>
</li>
<li class="">
<a class="" href="layers/normalization/">Normalization Layers</a>
</li>
<li class="">
<a class="" href="layers/embedding_ops/">Embedding Layers</a>
</li>
<li class="">
<a class="" href="layers/merge_ops/">Merge Layers</a>
</li>
<li class="">
<a class="" href="layers/estimator/">Estimator Layers</a>
</li>
</ul>
</li>
<li class="toctree-l1">
<span class="caption-text">Built-in Ops</span>
<ul class="subnav">
<li class="">
<a class="" href="activations/">Activations</a>
</li>
<li class="">
<a class="" href="objectives/">Objectives</a>
</li>
<li class="">
<a class="" href="optimizers/">Optimizers</a>
</li>
<li class="">
<a class="" href="metrics/">Metrics</a>
</li>
<li class="">
<a class="" href="initializations/">Initializations</a>
</li>
<li class="">
<a class="" href="losses/">Losses</a>
</li>
<li class="">
<a class="" href="summaries/">Summaries</a>
</li>
<li class="">
<a class="" href="variables/">Variables</a>
</li>
</ul>
</li>
<li class="toctree-l1">
<span class="caption-text">Data Management</span>
<ul class="subnav">
<li class="">
<a class="" href="data_utils/">Data Utils</a>
</li>
<li class="">
<a class="" href="data_preprocessing/">Data Preprocessing</a>
</li>
<li class="">
<a class="" href="data_augmentation/">Data Augmentation</a>
</li>
<li class="">
<a class="" href="data_flow/">Data Flow</a>
</li>
</ul>
</li>
<li class="toctree-l1">
<span class="caption-text">Others</span>
<ul class="subnav">
<li class="">
<a class="" href="config/">Graph Config</a>
</li>
</ul>
</li>
<li class="toctree-l1">
<span class="caption-text">Helpers for Extending Tensorflow</span>
<ul class="subnav">
<li class="">
<a class="" href="helpers/trainer/">Trainer</a>
</li>
<li class="">
<a class="" href="helpers/evaluator/">Evaluator</a>
</li>
<li class="">
<a class="" href="helpers/summarizer/">Summarizer</a>
</li>
<li class="">
<a class="" href="helpers/regularizer/">Regularizer</a>
</li>
</ul>
</li>
<li class="toctree-l1">
<a class="" href="contributions/">Contributions</a>
</li>
<li class="toctree-l1">
<a class="" href="license/">License</a>
</li>
</ul>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href=".">TFLearn</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href=".">Docs</a> »</li>
<li>Home</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/tflearn/tflearn"
class="icon icon-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>
<div role="main">
<div class="section">
<h1 id="tflearn-deep-learning-library-featuring-a-higher-level-api-for-tensorflow">TFLearn: Deep learning library featuring a higher-level API for TensorFlow.</h1>
<p>TFlearn is a modular and transparent deep learning library built on top of Tensorflow. It was designed to provide a higher-level API to TensorFlow in order to facilitate and speed-up experimentations, while remaining fully transparent and compatible with it.</p>
<p>TFLearn features include:</p>
<ul>
<li>Easy-to-use and understand high-level API for implementing deep neural networks, with tutorial and examples.</li>
<li>Fast prototyping through highly modular built-in neural network layers, regularizers, optimizers, metrics...</li>
<li>Full transparency over Tensorflow. All functions are built over tensors and can be used independently of TFLearn.</li>
<li>Powerful helper functions to train any TensorFlow graph, with support of multiple inputs, outputs and optimizers.</li>
<li>Easy and beautiful graph visualization, with details about weights, gradients, activations and more...</li>
<li>Effortless device placement for using multiple CPU/GPU.</li>
</ul>
<p>The high-level API currently supports most of recent deep learning models, such as Convolutions, LSTM, BiRNN, BatchNorm, PReLU, Residual networks, Generative networks... In the future, TFLearn is also intended to stay up-to-date with latest deep learning techniques.</p>
<p>Note: Latest TFLearn (v0.3) is only compatible with TensorFlow v1.0 and over.</p>
<h1 id="quick-overview">Quick overview</h1>
<p><strong>Code Example</strong></p>
<pre><code class="python"># Classification
tflearn.init_graph(num_cores=8, gpu_memory_fraction=0.5)
net = tflearn.input_data(shape=[None, 784])
net = tflearn.fully_connected(net, 64)
net = tflearn.dropout(net, 0.5)
net = tflearn.fully_connected(net, 10, activation='softmax')
net = tflearn.regression(net, optimizer='adam', loss='categorical_crossentropy')
model = tflearn.DNN(net)
model.fit(X, Y)
</code></pre>
<pre><code class="python"># Sequence Generation
net = tflearn.input_data(shape=[None, 100, 5000])
net = tflearn.lstm(net, 64)
net = tflearn.dropout(net, 0.5)
net = tflearn.fully_connected(net, 5000, activation='softmax')
net = tflearn.regression(net, optimizer='adam', loss='categorical_crossentropy')
model = tflearn.SequenceGenerator(net, dictionary=idx, seq_maxlen=100)
model.fit(X, Y)
model.generate(50, temperature=1.0)
</code></pre>
<p>There are many more examples available <a href="./examples">here</a>.</p>
<h1 id="where-to-start">Where to Start?</h1>
<p>To install TFLearn, see: <a href="./installation">Installation Guide</a>.</p>
<p>If your version of Tensorflow is under 1.0: <a href="./installation/#upgrade-tensorflow">Upgrade Tensorflow</a>.</p>
<p>To get started: <a href="./getting_started">Getting Started with TFLearn</a> and <a href="./tutorials">TFLearn Tutorials</a>.</p>
<p>For more examples: <a href="./examples">Examples List</a>.</p>
<p>To browse the API, check the <a href="./doc_index#API">API Documentation</a>.</p>
<h1 id="model-visualization">Model Visualization</h1>
<p><strong>Graph</strong></p>
<p><img alt="Graph Visualization" src="./img/graph.png" /></p>
<p><strong>Loss & Accuracy (multiple runs)</strong></p>
<p><img alt="Loss Visualization" src="./img/loss_acc.png" /></p>
<p><strong>Layers</strong></p>
<p><img alt="Layers Visualization" src="./img/layer_visualization.png" /></p>
<h1 id="sources">Sources</h1>
<p>GitHub: <a href="https://github.com/tflearn/tflearn">https://github.com/tflearn/tflearn</a>.</p>
<h1 id="contributions">Contributions</h1>
<p>This is the first release of TFLearn, if you find any bug, please report it in the GitHub issues section.</p>
<p>Improvements and requests for new features are more than welcome! Do not hesitate to twist and tweak TF Learn, and send pull-requests.</p>
<p>For more info: <em><a href="./contributions">Contribute to TFLearn</a></em>.</p>
<h1 id="license">License</h1>
<p>MIT License</p>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="doc_index/" class="btn btn-neutral float-right" title="Index">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>
<hr/>
<div role="contentinfo">
<!-- Copyright etc -->
</div>
Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" style="cursor: pointer">
<span class="rst-current-version" data-toggle="rst-current-version">
<a href="https://github.com/tflearn/tflearn" class="fa fa-github" style="float: left; color: #fcfcfc"> GitHub</a>
<span style="margin-left: 15px"><a href="doc_index/" style="color: #fcfcfc">Next »</a></span>
</span>
</div>
<script src="./js/theme.js"></script>
</body>
</html>
<!--
MkDocs version : 0.16.3
Build Date UTC : 2017-06-22 16:52:58
-->