TensorFlow Basic Tutorial Labs
Clone or download
Latest commit 02a2453 Sep 30, 2018
Permalink
Failed to load latest commit information.
chainer Rename to lower case for consistency (#188) Aug 10, 2017
ipynb add ipynb directory (#162) Aug 10, 2017
keras Rename to lower case for consistency (#188) Aug 10, 2017
mxnet Update pylint Sep 30, 2018
numpy add: pure numpy (#180) Jun 13, 2017
pytorch Rename to lower case for consistency (#188) Aug 10, 2017
tests Added LSTM to data prediction Feb 27, 2017
.gitignore XOR Tensorboard (#77) Apr 1, 2017
.pylintrc Fix .pylintrc Sep 30, 2018
.travis.yml Fix .pylintrc Sep 30, 2018
CONTRIBUTING.md add: CONTRIBUTING guide (#102) Apr 9, 2017
README.md Fix .pylintrc Sep 30, 2018
data-01-test-score.csv Added TF csv reader Mar 13, 2017
data-02-stock_daily.csv Added datasets Feb 25, 2017
data-03-diabetes.csv Added mnist examples Feb 26, 2017
data-04-zoo.csv fix: label and backprop (#21) Mar 1, 2017
lab-01-basics.ipynb Small typo in lab-01-basics.ipynb (#123) (#158) May 9, 2017
lab-02-1-linear_regression.py Review upto lab 03 Feb 26, 2017
lab-02-2-linear_regression_feed.py more interesting ecamples Mar 12, 2017
lab-02-3-linear_regression_tensorflow.org.py edit lab-02-3 (#52) Mar 3, 2017
lab-03-1-minimizing_cost_show_graph.py remove redundant an initializing global variables line (#181) Jun 14, 2017
lab-03-2-minimizing_cost_gradient_update.py Update lab-03-2-minimizing_cost_gradient_update.py Sep 28, 2018
lab-03-3-minimizing_cost_tf_optimizer.py Fix the result sample to be compatible with not only ‘W’ and ‘learnin… Jun 9, 2017
lab-03-X-minimizing_cost_tf_gradient.py Update lab-03-X-minimizing_cost_tf_gradient.py (#95) Apr 7, 2017
lab-04-1-multi_variable_linear_regression.py Update lab-04-1-multi_variable_linear_regression.py Sep 30, 2018
lab-04-2-multi_variable_matmul_linear_regression.py modify list indentation style. (#128) Apr 23, 2017
lab-04-3-file_input_linear_regression.py Added TF csv reader Mar 13, 2017
lab-04-4-tf_reader_linear_regression.py Updated lab 05 for lectures Mar 14, 2017
lab-05-1-logistic_regression.py modify list indentation style. (#128) Apr 23, 2017
lab-05-2-logistic_regression_diabetes.py fix: sigmoid function comment Jun 14, 2018
lab-06-1-softmax_classifier.py Fixes deprecated `tf.arg_max` (#195) Oct 6, 2017
lab-06-2-softmax_zoo_classifier.py modify softmax_cross_entropy_with_logits function Sep 28, 2018
lab-07-1-learning_rate_and_evaluation.py modify list indentation style. (#128) Apr 23, 2017
lab-07-2-linear_regression_without_min_max.py Updated lab07 files Mar 16, 2017
lab-07-3-linear_regression_min_max.py Updated lab07 files Mar 16, 2017
lab-07-4-mnist_introduction.py Unblock using matplotlib.pyplot (#190) Sep 22, 2017
lab-08-tensor_manipulation.ipynb renamed numbers and touch on tensorboard Apr 3, 2017
lab-09-1-xor.py Exercise answer and style changes (#163) May 13, 2017
lab-09-2-xor-nn.py Exercise answer and style changes (#163) May 13, 2017
lab-09-3-xor-nn-wide-deep.py Hotfix/lab09: Results (#185) Jun 27, 2017
lab-09-4-xor_tensorboard.py Delete unnecessary codes May 4, 2018
lab-09-5-linear_back_prop.py modify list indentation style. (#128) Apr 23, 2017
lab-09-6-multi-linear_back_prop.py modify list indentation style. (#128) Apr 23, 2017
lab-09-7-sigmoid_back_prop.py Changed file names Apr 3, 2017
lab-09-x-xor-nn-back_prop.py Hotfix/lab09: Results (#185) Jun 27, 2017
lab-10-1-mnist_softmax.py Updates for unity and understandability (#67) Mar 14, 2017
lab-10-2-mnist_nn.py Updates for unity and understandability (#67) Mar 14, 2017
lab-10-3-mnist_nn_xavier.py Updates for unity and understandability (#67) Mar 14, 2017
lab-10-4-mnist_nn_deep.py Updates for unity and understandability (#67) Mar 14, 2017
lab-10-5-mnist_nn_dropout.py move calculating total_batch to outside May 8, 2018
lab-10-6-mnist_nn_batchnorm.ipynb Feature/batchnorm (#76) Mar 31, 2017
lab-10-7-mnist_nn_higher_level_API.py fix: dropout layers in lab-10-7-mnist_nn_higher_level_API.py (#170) May 25, 2017
lab-10-8-mnist_nn_selu(wip).py Added Selu (WIP) Jun 13, 2017
lab-10-X1-mnist_back_prop.py several commit in this PR (#80) Apr 2, 2017
lab-11-0-cnn_basics.ipynb Updated CNN basics Apr 9, 2017
lab-11-1-mnist_cnn.py Added layers Mar 25, 2017
lab-11-2-mnist_deep_cnn.py supplement code for "Out of Memory" issue (#131) Apr 25, 2017
lab-11-3-mnist_cnn_class.py refactor: PEP8 FLAKE8 (#127) Apr 15, 2017
lab-11-4-mnist_cnn_layers.py Update lab-11-4-mnist_cnn_layers.py (#205) May 4, 2018
lab-11-5-mnist_cnn_ensemble_layers.py Update lab-11-5-mnist_cnn_ensemble_layers.py May 4, 2018
lab-11-X-mnist_cnn_low_memory.py supplement code for "Out of Memory" issue (#131) Apr 25, 2017
lab-12-0-rnn_basics.ipynb revise typo states -> _states Sep 20, 2018
lab-12-1-hello-rnn.py Exercise answer and style changes (#163) May 13, 2017
lab-12-2-char-seq-rnn.py Update lab-12-2-char-seq-rnn.py (#183) Jun 18, 2017
lab-12-3-char-seq-softmax-only.py Exercise answer and style changes (#163) May 13, 2017
lab-12-4-rnn_long_char.py Modify MultiRNNCell problems (#164) May 19, 2017
lab-12-5-rnn_stock_prediction.py * Modify data scaling problem Sep 20, 2018
lab-13-1-mnist_using_scope.py Exercise answer and style changes (#163) May 13, 2017
lab-13-2-mnist_tensorboard.py Exercise answer and style changes (#163) May 13, 2017
lab-13-3-mnist_save_restore.py Merge pull request #50 from GzuPark/patch-27 Apr 2, 2017
requirements.txt Fix .pylintrc Sep 30, 2018

README.md

Lab code (WIP), but call for comments

Build Status

This is code for labs covered in TensorFlow basic tutorials (in Korean) at https://youtu.be/BS6O0zOGX4E. (We also have a plan to record videos in English.)

This is work in progress, and may have bugs. However, we call for your comments and pull requests. Check out our style guide line:

Lab slides:

We welcome your comments on slides.

File naming rule:

  • klab-XX-X-[name].py: Keras labs code
  • lab-XX-X-[name].py: TensorFlow lab code
  • mxlab-XX-X-[name].py: MXNet lab code

Install requirements

pip install -r requirements.txt

Run test and autopep8

TODO: Need to add more test cases

python -m unittest discover -s tests;

# http://stackoverflow.com/questions/14328406/
pip install autopep8 # if you haven't install
autopep8 . --recursive --in-place --pep8-passes 2000 --verbose

Automatically create requirements.txt

pip install pipreqs

pipreqs /path/to/project

http://stackoverflow.com/questions/31684375

Contributions/Comments

We always welcome your comments and pull requests.

Reference Implementations