Skip to content

Commit d4bce70

Browse files
committed
minor fix
1 parent 69f2dc8 commit d4bce70

File tree

4 files changed

+547
-12
lines changed

4 files changed

+547
-12
lines changed

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# TensorFlow Examples
2-
Basic code examples for some machine learning algorithms, using TensorFlow library.
2+
Code examples for some popular machine learning algorithms, using TensorFlow library. Both code and notebook are available.
33

44
## Tutorial index
55

66
#### 1 - Introduction
7-
- Hello World ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/helloworld.py))
8-
- Basic Operations ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/basic_operations.py))
7+
- Hello World ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/1%20-%20Introduction/helloworld.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/1%20-%20Introduction/helloworld.py))
8+
- Basic Operations ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/1%20-%20Introduction/basic_operations.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/1%20-%20Introduction/basic_operations.py))
99

1010
#### 2 - Basic Classifiers
11-
- Nearest Neighbor ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/nearest_neighbor.py))
12-
- Linear Regression ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/linear_regression.py))
13-
- Logistic Regression ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/logistic_regression.py))
11+
- Nearest Neighbor ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2%20-%20Basic%20Classifiers/nearest_neighbor.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2%20-%20Basic%20Classifiers/nearest_neighbor.py))
12+
- Linear Regression ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2%20-%20Basic%20Classifiers/linear_regression.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2%20-%20Basic%20Classifiers/linear_regression.py))
13+
- Logistic Regression ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/2%20-%20Basic%20Classifiers/logistic_regression.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/2%20-%20Basic%20Classifiers/logistic_regression.py))
1414

1515
#### 3 - Neural Networks
16-
- Multilayer Perceptron ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/multilayer_perceptron.py))
17-
- Convolutional Neural Network ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/convolutional_network.py))
18-
- AlexNet ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/alexnet.py))
19-
- Reccurent Network ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/recurrent_network.py))
16+
- Multilayer Perceptron ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3%20-%20Neural%20Networks/multilayer_perceptron.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/multilayer_perceptron.py))
17+
- Convolutional Neural Network ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3%20-%20Neural%20Networks/convolutional_network.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/convolutional_network.py))
18+
- AlexNet ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/3%20-%20Neural%20Networks/alexnet.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/alexnet.py))
19+
- Reccurent Network ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/recurrent_network.py))
2020

2121
### 4 - Multi GPU
22-
- Basic Operations on multi-GPU ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/multigpu_basics.py))
22+
- Basic Operations on multi-GPU ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/4%20-%20Multi%20GPU/multigpu_basics.py)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4%20-%20Multi%20GPU/multigpu_basics.py))
2323

2424
## Dependencies
2525
```
@@ -28,5 +28,10 @@ numpy
2828
matplotlib
2929
cuda (to run examples on GPU)
3030
```
31+
For more details about TensorFlow installation, you can check [Setup_TensorFlow.md](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/Setup_TensorFlow.md)
32+
33+
## Dataset
34+
Some examples require MNIST dataset for training and testing. Don't worry, this dataset will automatically be downloaded when running examples (with input_data.py).
35+
MNIST is a database of handwritten digits, with 60,000 examples for training and 10,000 examples for testing. (Website: [http://yann.lecun.com/exdb/mnist/](http://yann.lecun.com/exdb/mnist/))
3136

3237
_Other tutorials are coming soon..._

examples/4 - Multi GPU/multigpu_basics.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#Multi GPU Basic example
1+
'''
2+
Basic Multi GPU computation example using TensorFlow library.
3+
4+
Author: Aymeric Damien
5+
Project: https://github.com/aymericdamien/TensorFlow-Examples/
6+
'''
7+
28
'''
39
This tutorial requires your machine to have 2 GPUs
410
"/cpu:0": The CPU of your machine.

0 commit comments

Comments
 (0)