• Stars
    star
    155
  • Rank 240,071 (Top 5 %)
  • Language
    CSS
  • Created almost 8 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’ฌ Slides and Tutorial Codes for the talk 'Toward Best Practices of TensorFlow Code Patterns' (2017)

Toward Best Practices of TensorFlow Code Patterns

Jongwook Choi (@wookayin) and Beomjun Shin (@shastakr)

A talk in the 2nd meetup of TensorFlow Korea Group
January 14th, 2017


๐Ÿšง Warning!! ๐Ÿšง

Many contents in this talk are outdated (and thus less recommended) as they were based on older versions of TensorFlow.
TensorFlow now has more handy APIs and is moving toward TF 2.0 that encourages many better practices.
This repository is kept only for archival purposes.


https://wookayin.github.io/TensorFlowKR-2017-talk-bestpractice/

Slides

Abstract (In Korean)

์ด๋ฒˆ ๋ฐœํ‘œ์—์„œ๋Š” (์ฃผ๋กœ ์—ฐ๊ตฌ ํ”„๋กœ์ ํŠธ๋ฅผ ์œ„ํ•œ) TensorFlow ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•  ๋•Œ์˜ Best Practice ๊ทธ๋ฆฌ๊ณ  Code Patterns ์— ๋Œ€ํ•ด ์ด์•ผ๊ธฐํ•ฉ๋‹ˆ๋‹ค. ์ž ์ •์ ์œผ๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‚ด์šฉ๋“ค์„ ๋‹ค๋ฃฐ ์˜ˆ์ •์ž…๋‹ˆ๋‹ค:

  • ๊ตฌํ˜„ ๋ฐ ์„ค๊ณ„ ์‹œ์˜ ๊ฐ์ข… ์š”๊ตฌ์‚ฌํ•ญ/๊ณ ๋ ค์‚ฌํ•ญ
  • TensorFlow์˜ ๋ชจ๋ธ ๋ชจ๋“ˆํ™” ๋ฐ ์ถ”์ƒํ™” ํŒจํ„ด (+ํšก๋‹จ๊ด€์‹ฌ์˜ ์ฒ˜๋ฆฌ ๋ฐฉ๋ฒ•)
  • High-level API ์ ๊ทน์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๊ธฐ (tf.contrib.layers, tf.slim, tf.learn ๋“ฑ)
  • (i) ๋ชจ๋ธ ์ฝ”๋“œ ์ž‘์„ฑ (ii) ๋ฐ์ดํ„ฐ์…‹ ๋ฐ ํŠธ๋ ˆ์ด๋‹ ์ƒ์šฉ๊ตฌ (iii) ์‹คํ—˜ ๋ฐ ์„ค์ • ๊ด€๋ฆฌ (iv) ๊ธฐํƒ€ ์ž์ž˜ํ•œ ํŒ ๋“ฑ์— ๊ด€ํ•œ ํŒจํ„ด๊ณผ ์ฝ”๋“œ ์˜ˆ์ œ

Abstract

In this talk, we aim to deliver several best practices, guidelines, and code patterns for writing TensorFlow codes, mainly when conducting research projects. A tentative and incomplete list of topics:

  • Common requirements and frequent design concerns in implementation
  • Patterns of model modularization and abstraction in TensorFlow (+ cross-cutting concerns)
  • Using modern and high-level APIs (tf.contrib.layers, tf.slim, tf.learn, etc.)
  • Patterns and code examples on: (i) styles of model writing, (ii) dataset loader and training boilerplates, (iii) management of experiments and configuration, and (iv) other general and miscellaneous tips.

Note

The talk will given in Korean, but I will self-translate the material into English shortly after the talk.

The topics are mainly based on the authors' personal experience, so may contain some opinionated suggestions. Of course, there cannot be the only answer: Please contact me if you have a suggestion, a question, or an idea that can improve the contents of this talk!

More Repositories

1

gpustat

๐Ÿ“Š A simple command-line utility for querying and monitoring GPU status
Python
3,994
star
2

tensorflow-talk-debugging

๐Ÿ’ฌ Slides and supplementary codes for my talk 'Debugging Tips on TensorFlow' (2016)
Python
613
star
3

gpustat-web

๐Ÿ‘“ A web interface of gpustat: monitor GPU clusters at a look
Python
312
star
4

dotfiles

๐Ÿ  Personal dotfiles for *NIX systems
Lua
312
star
5

tensorflow-plot

๐Ÿ“ˆ TensorFlow + Matplotlib as TF ops
Python
298
star
6

python-imgcat

๐Ÿ–ผ imgcat in Python (for iTerm2)
Python
243
star
7

pintos

๐ŸŒ€ OS Coursework Project (PintOS)
C
200
star
8

expt

Experiment. Plot. Tabulate.
Python
67
star
9

fzf-fasd

๐ŸŒธ fzf + fasd integration
Shell
56
star
10

arxivify.sh

Generates a zip archive that is uploadable to arXiv.
Shell
45
star
11

alfred-latex-symbols-workflow

๐Ÿ”Ž Alfred 3-4 workflow to search for latex symbol commands
Ruby
45
star
12

alfred-papers3-workflow

๐Ÿ”Ž An Alfred 2/3 workflow to search Papers3 items
Python
43
star
13

tensorboard-tools

๐Ÿ“‰ A collection of TensorBoard-related utilities (In Progress)
Python
37
star
14

vim-typora

๐Ÿ—’ Vim โค๏ธ Typora
Vim Script
35
star
15

alfred-arxiv-workflow

๐Ÿ”Ž Alfred workflow to search arxiv.org items
JavaScript
25
star
16

vim-autoimport

A vim plugin for adding import statements (for python and more) without LSP
Python
25
star
17

alfred-open-color-workflow

๐Ÿ”Ž An Alfred 2/3 workflow to quickly lookup and insert open color codes
Python
22
star
18

fzf-ripgrep.vim

Vim + Fzf + Rg = Super Fast Jumper
Vim Script
19
star
19

anybar-zsh

๐Ÿš zsh function and completion for anybar
Shell
18
star
20

latex-boilerplate

๐Ÿ“ A personal collection of templates for Markdown+LaTeX-based writing.
TeX
16
star
21

is_mosh

Detect whether the current shell is running under mosh
Shell
13
star
22

TensorflowKR-2016-talk-debugging

A talk on TensorFlow debugging -- REPOSITORY MOVED TO:
HTML
8
star
23

vim-python-enhanced-syntax

๐Ÿ‰ An experimental vim python syntax
Vim Script
7
star
24

iterm-tab-color

๐ŸŽจ A command-line script to easily set iterm tab colors
Python
7
star
25

kitty-tmux

Make Kitty work better with Tmux
Python
7
star
26

toy-montezuma-pycolab

Toy Montezuma's Revenge as Pycolab and Gym environments (working in progress, NOT FULLY USABLE)
Python
6
star
27

gym-tensorflow

Gym RL environment as TensorFlow op. A fork of Uber's implementation
Python
6
star
28

imagepaste.vim

A vim plugin to paste image from clipboard and its markdown tag
Vim Script
6
star
29

nvim-profiler

A simple Lua Profiler for neovim
Lua
5
star
30

nvidia-ml-py

An unofficial, up-to-date mirror of NVIDIA's python bindings (nvidia-ml-py)
Python
5
star
31

video2gif

A command line script to convert video file to (a reasonable) GIF
Python
3
star
32

misc-stuff

Personal Miscellaneous Stuffs
Python
2
star
33

slurm-tools

A collection of useful scripts for Slurm HPC.
2
star
34

teamnote

Teamnote and code snippets for algorithm competitions including ICPC
Vim Script
1
star
35

redmine_advanced_watchers_selection

Redmine watchers selection plugin
Ruby
1
star
36

fast-syntax-highlighting

Shell
1
star