전체 글(14)
-
Download "Hello Kitty" images!
0. Check your python version (3.7.x) We are going to use "f-string" (>3.6) 1. Install packages $ pip install requests beautifulsoup4 2. Source code 2-1) Import packages import os import shutil import urllib.request import requests from bs4 import BeautifulSoup 2-2) Create a directory named "debug" # 1. Create a directory named "debug" debug_dir = os.path.join(os.getcwd(), 'debug') if os.path.exi..
2020.08.17 -
Jupyter Notebook
1. Open a terminal and type "jupyter notebook" (Install jupyter notebook: pip install jupyter) 2. Open a browser and go to "localhost:8888" (Takes a moment .. :) (webpage about token and redirecting page might show up, but please just wait a little more :) ) 3. Click "New" → "Python3" and create your new notebook :) . 4. Rename your notebook and print a message. 5. Click "Save and Checkpoint" an..
2020.03.28 -
13. TensorFlow Debugger (tfdbg)
1. Wrapping TensorFlow session with tfdbg 2. Run(For Windows) pip install pyreadline 3. fetch data 4. Command examples 1) lt (-n, -t, -f, -fenn, -s, -r) 2) pt (-a, -r, -s, -w) 3) ni (-a, -d, -t) 4) li / lo 5. (to exit the tfdbg): quit python -m tensorflow.python.debug.examples.debug_mnist --debug
2018.11.01 -
12. TensorBoard Debugger
1. (Open terminal: Alt + F12) $ tensorboard --logdir graphs --debugger_port 60072. Find "Debugger" in menu.
2018.11.01 -
11. Hyperparameter search
1. Iterate a sequence by for loop. 2. tensorboard --logdir "graphs_hparam"
2018.11.01 -
10. Training 2018.11.01