Skip to content
TensorFlow Basic Tutorial Labs
Jupyter Notebook Python
Branch: master
Clone or download

Latest commit

Latest commit e3e7ee8 May 8, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Delete label.yml May 8, 2020
chainer Rename to lower case for consistency (#188) Aug 10, 2017
ipynb Add logistic regression for ipynb Jan 10, 2019
keras updated keras models (#259) Jan 11, 2020
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 Fix tests/test_square.py to use TF 2.0 Eager Sessions Nov 30, 2019
tf2 add model.fit func, tf2-10-2-mnist.nn.py May 8, 2020
.gitignore Fix tests/test_square.py to use TF 2.0 Eager Sessions Nov 30, 2019
.pylintrc Fix .pylintrc Sep 30, 2018
.travis.yml Update .travis.yml to remomve pylint which does not do anything usefu… Dec 3, 2019
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 Update Lab-02, Lab-03 (#240) Jan 15, 2019
lab-02-2-linear_regression_feed.py Update Lab-02, Lab-03 (#240) Jan 15, 2019
lab-02-3-linear_regression_tensorflow.org.py Update Lab-02, Lab-03 (#240) Jan 15, 2019
lab-03-1-minimizing_cost_show_graph.py Update Lab-02, Lab-03 (#240) Jan 15, 2019
lab-03-2-minimizing_cost_gradient_update.py Update Lab-02, Lab-03 (#240) Jan 15, 2019
lab-03-3-minimizing_cost_tf_optimizer.py Update Lab-02, Lab-03 (#240) Jan 15, 2019
lab-03-X-minimizing_cost_tf_gradient.py Update Lab-02, Lab-03 (#240) Jan 15, 2019
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 Update lab-04-3-file_input_linear_regression.py Jan 10, 2019
lab-04-4-tf_reader_linear_regression.py Update lab-04-4-tf_reader_linear_regression.py Jan 11, 2019
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 Update lab-06-1-softmax_classifier.py (#232) Jan 13, 2019
lab-06-2-softmax_zoo_classifier.py Update lab-06-2-softmax_zoo_classifier.py (#231) Jan 13, 2019
lab-07-1-learning_rate_and_evaluation.py Update lab-07-1-learning_rate_and_evaluation.py Jan 13, 2019
lab-07-2-linear_regression_without_min_max.py Updated lab07 files Mar 16, 2017
lab-07-3-linear_regression_min_max.py Update lab-07-3-linear_regression_min_max.py Jan 13, 2019
lab-07-4-mnist_introduction.py Update lab-07-4-mnist_introduction.py Jan 13, 2019
lab-08-tensor_manipulation.ipynb renamed numbers and touch on tensorboard Apr 3, 2017
lab-09-1-xor.py Update lab-09-1-xor.py (#236) Jan 14, 2019
lab-09-2-xor-nn.py Update lab-09-2-xor-nn.py (#237) Jan 14, 2019
lab-09-3-xor-nn-wide-deep.py Update lab-09-3-xor-nn-wide-deep.py (#238) Jan 14, 2019
lab-09-4-xor_tensorboard.py Update lab-09-4-xor_tensorboard.py (#239) Jan 14, 2019
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 Update lab-10-1-mnist_softmax.py Jan 15, 2019
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 fix a typing error (#258) Dec 18, 2019
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 Update lab-12-0-rnn_basics.ipynb Jan 17, 2019
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 Nov 5, 2019
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

You can’t perform that action at this time.