Skip to content

Instantly share code, notes, and snippets.

@kurotaky
Created May 7, 2019 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurotaky/c3c8d6aeab760b530c17dc28563bcd8e to your computer and use it in GitHub Desktop.
Save kurotaky/c3c8d6aeab760b530c17dc28563bcd8e to your computer and use it in GitHub Desktop.
red-chainer-and-cumo-sample.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "red-chainer-and-cumo-sample.ipynb",
"version": "0.3.2",
"provenance": [],
"collapsed_sections": [],
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"accelerator": "GPU"
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/kurotaky/c3c8d6aeab760b530c17dc28563bcd8e/red-chainer-and-cumo-sample.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"metadata": {
"id": "Yiv4S0SKMopY",
"colab_type": "code",
"colab": {}
},
"source": [
"!apt-get install ruby-dev\n",
"!sudo apt install libtool libffi-dev ruby ruby-dev make"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "vgX3CyTyPhuz",
"colab_type": "code",
"colab": {}
},
"source": [
"!git clone https://github.com/red-data-tools/red-chainer.git"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "CfUog__3Q5md",
"colab_type": "code",
"colab": {}
},
"source": [
"%cd red-chainer/"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "ze9JX4YVRAE4",
"colab_type": "code",
"colab": {}
},
"source": [
"!export CUDA_PATH=\"/usr/local/cuda\" && export CPATH=\"$CUDA_PATH/include:$CPATH\" && export LD_LIBRARY_PATH=\"$CUDA_PATH/lib64:$CUDA_PATH/lib:$LD_LIBRARY_PATH\" && export PATH=\"$CUDA_PATH/bin:$PATH\" && export LIBRARY_PATH=\"$CUDA_PATH/lib64:$CUDA_PATH/lib:$LIBRARY_PATH\" && gem install cumo"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "A23asCRRUTJg",
"colab_type": "code",
"colab": {}
},
"source": [
"!gem i bundler"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "KOEaJNfuUZde",
"colab_type": "code",
"colab": {}
},
"source": [
"! bundle install"
],
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "bVaqiTrkUh1s",
"colab_type": "code",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 8619
},
"outputId": "5a65f957-eb32-4620-9cf0-9a5c8955e8ff"
},
"source": [
"!bundle exec ruby examples/mnist/mnist.rb --gpu 0"
],
"execution_count": 7,
"outputs": [
{
"output_type": "stream",
"text": [
"GPU: 0\n",
"# unit: 1000\n",
"# Minibatch-size: 100\n",
"# epoch: 20\n",
"\n",
"epoch main/loss validation/main/loss main/accuracy validation/main/accuracy elapsed_time\n",
"\u001b[J total [..................................................] 0.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 100 iter, 0 epoch / 20 epochs\n",
" Inf iters/sec. Estimated time to finish: 00:01:00.\n",
"\u001b[4A\u001b[J total [..................................................] 1.67%\n",
"this epoch [################..................................] 33.33%\n",
" 200 iter, 0 epoch / 20 epochs\n",
" 130.23 iters/sec. Estimated time to finish: 00:01:30.\n",
"\u001b[4A\u001b[J total [#.................................................] 2.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 300 iter, 0 epoch / 20 epochs\n",
" 130.63 iters/sec. Estimated time to finish: 00:01:29.\n",
"\u001b[4A\u001b[J total [#.................................................] 3.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 400 iter, 0 epoch / 20 epochs\n",
" 130.95 iters/sec. Estimated time to finish: 00:01:28.\n",
"\u001b[4A\u001b[J total [##................................................] 4.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 500 iter, 0 epoch / 20 epochs\n",
" 130 iters/sec. Estimated time to finish: 00:01:28.\n",
"\u001b[4A\u001b[J1 0.193049 0.094693 0.941383 0.9701 6.29609 \n",
"\u001b[J total [##................................................] 5.00%\n",
"this epoch [..................................................] 0.00%\n",
" 600 iter, 1 epoch / 20 epochs\n",
" 119.53 iters/sec. Estimated time to finish: 00:01:35.\n",
"\u001b[4A\u001b[J total [##................................................] 5.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 700 iter, 1 epoch / 20 epochs\n",
" 120.42 iters/sec. Estimated time to finish: 00:01:33.\n",
"\u001b[4A\u001b[J total [###...............................................] 6.67%\n",
"this epoch [################..................................] 33.33%\n",
" 800 iter, 1 epoch / 20 epochs\n",
" 120.72 iters/sec. Estimated time to finish: 00:01:32.\n",
"\u001b[4A\u001b[J total [###...............................................] 7.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 900 iter, 1 epoch / 20 epochs\n",
" 121.24 iters/sec. Estimated time to finish: 00:01:31.\n",
"\u001b[4A\u001b[J total [####..............................................] 8.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 1000 iter, 1 epoch / 20 epochs\n",
" 121.84 iters/sec. Estimated time to finish: 00:01:30.\n",
"\u001b[4A\u001b[J total [####..............................................] 9.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 1100 iter, 1 epoch / 20 epochs\n",
" 121.61 iters/sec. Estimated time to finish: 00:01:29.\n",
"\u001b[4A\u001b[J2 0.0733756 0.0756968 0.976866 0.9745 11.4647 \n",
"\u001b[J total [#####.............................................] 10.00%\n",
"this epoch [..................................................] 0.00%\n",
" 1200 iter, 2 epoch / 20 epochs\n",
" 117.63 iters/sec. Estimated time to finish: 00:01:31.\n",
"\u001b[4A\u001b[J total [#####.............................................] 10.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 1300 iter, 2 epoch / 20 epochs\n",
" 118.19 iters/sec. Estimated time to finish: 00:01:30.\n",
"\u001b[4A\u001b[J total [#####.............................................] 11.67%\n",
"this epoch [################..................................] 33.33%\n",
" 1400 iter, 2 epoch / 20 epochs\n",
" 118.19 iters/sec. Estimated time to finish: 00:01:29.\n",
"\u001b[4A\u001b[J total [######............................................] 12.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 1500 iter, 2 epoch / 20 epochs\n",
" 118.5 iters/sec. Estimated time to finish: 00:01:28.\n",
"\u001b[4A\u001b[J total [######............................................] 13.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 1600 iter, 2 epoch / 20 epochs\n",
" 118.67 iters/sec. Estimated time to finish: 00:01:27.\n",
"\u001b[4A\u001b[J total [#######...........................................] 14.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 1700 iter, 2 epoch / 20 epochs\n",
" 118.59 iters/sec. Estimated time to finish: 00:01:26.\n",
"\u001b[4A\u001b[J3 0.0497053 0.0972714 0.983715 0.97 16.7422 \n",
"\u001b[J total [#######...........................................] 15.00%\n",
"this epoch [..................................................] 0.00%\n",
" 1800 iter, 3 epoch / 20 epochs\n",
" 116.21 iters/sec. Estimated time to finish: 00:01:27.\n",
"\u001b[4A\u001b[J total [#######...........................................] 15.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 1900 iter, 3 epoch / 20 epochs\n",
" 116.2 iters/sec. Estimated time to finish: 00:01:26.\n",
"\u001b[4A\u001b[J total [########..........................................] 16.67%\n",
"this epoch [################..................................] 33.33%\n",
" 2000 iter, 3 epoch / 20 epochs\n",
" 116.44 iters/sec. Estimated time to finish: 00:01:25.\n",
"\u001b[4A\u001b[J total [########..........................................] 17.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 2100 iter, 3 epoch / 20 epochs\n",
" 116.34 iters/sec. Estimated time to finish: 00:01:25.\n",
"\u001b[4A\u001b[J total [#########.........................................] 18.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 2200 iter, 3 epoch / 20 epochs\n",
" 116.45 iters/sec. Estimated time to finish: 00:01:24.\n",
"\u001b[4A\u001b[J total [#########.........................................] 19.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 2300 iter, 3 epoch / 20 epochs\n",
" 116.29 iters/sec. Estimated time to finish: 00:01:23.\n",
"\u001b[4A\u001b[J4 0.0355764 0.0817103 0.988299 0.9769 22.2113 \n",
"\u001b[J total [##########........................................] 20.00%\n",
"this epoch [..................................................] 0.00%\n",
" 2400 iter, 4 epoch / 20 epochs\n",
" 114.44 iters/sec. Estimated time to finish: 00:01:23.\n",
"\u001b[4A\u001b[J total [##########........................................] 20.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 2500 iter, 4 epoch / 20 epochs\n",
" 114.27 iters/sec. Estimated time to finish: 00:01:23.\n",
"\u001b[4A\u001b[J total [##########........................................] 21.67%\n",
"this epoch [################..................................] 33.33%\n",
" 2600 iter, 4 epoch / 20 epochs\n",
" 114.09 iters/sec. Estimated time to finish: 00:01:22.\n",
"\u001b[4A\u001b[J total [###########.......................................] 22.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 2700 iter, 4 epoch / 20 epochs\n",
" 114.57 iters/sec. Estimated time to finish: 00:01:21.\n",
"\u001b[4A\u001b[J total [###########.......................................] 23.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 2800 iter, 4 epoch / 20 epochs\n",
" 115.03 iters/sec. Estimated time to finish: 00:01:19.\n",
"\u001b[4A\u001b[J total [############......................................] 24.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 2900 iter, 4 epoch / 20 epochs\n",
" 115.43 iters/sec. Estimated time to finish: 00:01:18.\n",
"\u001b[4A\u001b[J5 0.0281248 0.0721978 0.990981 0.9802 27.4601 \n",
"\u001b[J total [############......................................] 25.00%\n",
"this epoch [..................................................] 0.00%\n",
" 3000 iter, 5 epoch / 20 epochs\n",
" 114.41 iters/sec. Estimated time to finish: 00:01:18.\n",
"\u001b[4A\u001b[J total [############......................................] 25.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 3100 iter, 5 epoch / 20 epochs\n",
" 114.77 iters/sec. Estimated time to finish: 00:01:17.\n",
"\u001b[4A\u001b[J total [#############.....................................] 26.67%\n",
"this epoch [################..................................] 33.33%\n",
" 3200 iter, 5 epoch / 20 epochs\n",
" 115.1 iters/sec. Estimated time to finish: 00:01:16.\n",
"\u001b[4A\u001b[J total [#############.....................................] 27.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 3300 iter, 5 epoch / 20 epochs\n",
" 115.45 iters/sec. Estimated time to finish: 00:01:15.\n",
"\u001b[4A\u001b[J total [##############....................................] 28.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 3400 iter, 5 epoch / 20 epochs\n",
" 115.75 iters/sec. Estimated time to finish: 00:01:14.\n",
"\u001b[4A\u001b[J total [##############....................................] 29.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 3500 iter, 5 epoch / 20 epochs\n",
" 115.98 iters/sec. Estimated time to finish: 00:01:13.\n",
"\u001b[4A\u001b[J6 0.0239683 0.104877 0.991732 0.9724 32.6266 \n",
"\u001b[J total [###############...................................] 30.00%\n",
"this epoch [..................................................] 0.00%\n",
" 3600 iter, 6 epoch / 20 epochs\n",
" 114.7 iters/sec. Estimated time to finish: 00:01:13.\n",
"\u001b[4A\u001b[J total [###############...................................] 30.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 3700 iter, 6 epoch / 20 epochs\n",
" 114.7 iters/sec. Estimated time to finish: 00:01:12.\n",
"\u001b[4A\u001b[J total [###############...................................] 31.67%\n",
"this epoch [################..................................] 33.33%\n",
" 3800 iter, 6 epoch / 20 epochs\n",
" 114.66 iters/sec. Estimated time to finish: 00:01:11.\n",
"\u001b[4A\u001b[J total [################..................................] 32.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 3900 iter, 6 epoch / 20 epochs\n",
" 114.6 iters/sec. Estimated time to finish: 00:01:10.\n",
"\u001b[4A\u001b[J total [################..................................] 33.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 4000 iter, 6 epoch / 20 epochs\n",
" 114.58 iters/sec. Estimated time to finish: 00:01:09.\n",
"\u001b[4A\u001b[J total [#################.................................] 34.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 4100 iter, 6 epoch / 20 epochs\n",
" 114.51 iters/sec. Estimated time to finish: 00:01:08.\n",
"\u001b[4A\u001b[J7 0.0210478 0.0799515 0.993398 0.9803 38.3403 \n",
"\u001b[J total [#################.................................] 35.00%\n",
"this epoch [..................................................] 0.00%\n",
" 4200 iter, 7 epoch / 20 epochs\n",
" 113.17 iters/sec. Estimated time to finish: 00:01:08.\n",
"\u001b[4A\u001b[J total [#################.................................] 35.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 4300 iter, 7 epoch / 20 epochs\n",
" 113.1 iters/sec. Estimated time to finish: 00:01:08.\n",
"\u001b[4A\u001b[J total [##################................................] 36.67%\n",
"this epoch [################..................................] 33.33%\n",
" 4400 iter, 7 epoch / 20 epochs\n",
" 113 iters/sec. Estimated time to finish: 00:01:07.\n",
"\u001b[4A\u001b[J total [##################................................] 37.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 4500 iter, 7 epoch / 20 epochs\n",
" 112.81 iters/sec. Estimated time to finish: 00:01:06.\n",
"\u001b[4A\u001b[J total [###################...............................] 38.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 4600 iter, 7 epoch / 20 epochs\n",
" 112.68 iters/sec. Estimated time to finish: 00:01:05.\n",
"\u001b[4A\u001b[J total [###################...............................] 39.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 4700 iter, 7 epoch / 20 epochs\n",
" 112.95 iters/sec. Estimated time to finish: 00:01:04.\n",
"\u001b[4A\u001b[J8 0.0154423 0.0880902 0.994698 0.9792 43.9345 \n",
"\u001b[J total [####################..............................] 40.00%\n",
"this epoch [..................................................] 0.00%\n",
" 4800 iter, 8 epoch / 20 epochs\n",
" 112.38 iters/sec. Estimated time to finish: 00:01:04.\n",
"\u001b[4A\u001b[J total [####################..............................] 40.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 4900 iter, 8 epoch / 20 epochs\n",
" 112.66 iters/sec. Estimated time to finish: 00:01:03.\n",
"\u001b[4A\u001b[J total [####################..............................] 41.67%\n",
"this epoch [################..................................] 33.33%\n",
" 5000 iter, 8 epoch / 20 epochs\n",
" 112.91 iters/sec. Estimated time to finish: 00:01:01.\n",
"\u001b[4A\u001b[J total [#####################.............................] 42.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 5100 iter, 8 epoch / 20 epochs\n",
" 113.18 iters/sec. Estimated time to finish: 00:01:00.\n",
"\u001b[4A\u001b[J total [#####################.............................] 43.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 5200 iter, 8 epoch / 20 epochs\n",
" 113.4 iters/sec. Estimated time to finish: 00:01:59.\n",
"\u001b[4A\u001b[J total [######################............................] 44.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 5300 iter, 8 epoch / 20 epochs\n",
" 113.61 iters/sec. Estimated time to finish: 00:01:58.\n",
"\u001b[4A\u001b[J9 0.0189653 0.0769699 0.993865 0.9821 48.9886 \n",
"\u001b[J total [######################............................] 45.00%\n",
"this epoch [..................................................] 0.00%\n",
" 5400 iter, 9 epoch / 20 epochs\n",
" 113.07 iters/sec. Estimated time to finish: 00:01:58.\n",
"\u001b[4A\u001b[J total [######################............................] 45.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 5500 iter, 9 epoch / 20 epochs\n",
" 113.25 iters/sec. Estimated time to finish: 00:01:57.\n",
"\u001b[4A\u001b[J total [#######################...........................] 46.67%\n",
"this epoch [################..................................] 33.33%\n",
" 5600 iter, 9 epoch / 20 epochs\n",
" 113.44 iters/sec. Estimated time to finish: 00:01:56.\n",
"\u001b[4A\u001b[J total [#######################...........................] 47.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 5700 iter, 9 epoch / 20 epochs\n",
" 113.62 iters/sec. Estimated time to finish: 00:01:55.\n",
"\u001b[4A\u001b[J total [########################..........................] 48.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 5800 iter, 9 epoch / 20 epochs\n",
" 113.78 iters/sec. Estimated time to finish: 00:01:54.\n",
"\u001b[4A\u001b[J total [########################..........................] 49.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 5900 iter, 9 epoch / 20 epochs\n",
" 113.91 iters/sec. Estimated time to finish: 00:01:53.\n",
"\u001b[4A\u001b[J10 0.0144819 0.0896225 0.995332 0.9805 54.1937 \n",
"\u001b[J total [#########################.........................] 50.00%\n",
"this epoch [..................................................] 0.00%\n",
" 6000 iter, 10 epoch / 20 epochs\n",
" 113.29 iters/sec. Estimated time to finish: 00:01:52.\n",
"\u001b[4A\u001b[J total [#########################.........................] 50.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 6100 iter, 10 epoch / 20 epochs\n",
" 113.4 iters/sec. Estimated time to finish: 00:01:52.\n",
"\u001b[4A\u001b[J total [#########################.........................] 51.67%\n",
"this epoch [################..................................] 33.33%\n",
" 6200 iter, 10 epoch / 20 epochs\n",
" 113.5 iters/sec. Estimated time to finish: 00:01:51.\n",
"\u001b[4A\u001b[J total [##########################........................] 52.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 6300 iter, 10 epoch / 20 epochs\n",
" 113.57 iters/sec. Estimated time to finish: 00:01:50.\n",
"\u001b[4A\u001b[J total [##########################........................] 53.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 6400 iter, 10 epoch / 20 epochs\n",
" 113.62 iters/sec. Estimated time to finish: 00:01:49.\n",
"\u001b[4A\u001b[J total [###########################.......................] 54.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 6500 iter, 10 epoch / 20 epochs\n",
" 113.58 iters/sec. Estimated time to finish: 00:01:48.\n",
"\u001b[4A\u001b[J11 0.0143576 0.100867 0.995532 0.9799 59.5528 \n",
"\u001b[J total [###########################.......................] 55.00%\n",
"this epoch [..................................................] 0.00%\n",
" 6600 iter, 11 epoch / 20 epochs\n",
" 113.16 iters/sec. Estimated time to finish: 00:01:47.\n",
"\u001b[4A\u001b[J total [###########################.......................] 55.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 6700 iter, 11 epoch / 20 epochs\n",
" 113.36 iters/sec. Estimated time to finish: 00:01:46.\n",
"\u001b[4A\u001b[J total [############################......................] 56.67%\n",
"this epoch [################..................................] 33.33%\n",
" 6800 iter, 11 epoch / 20 epochs\n",
" 113.56 iters/sec. Estimated time to finish: 00:01:45.\n",
"\u001b[4A\u001b[J total [############################......................] 57.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 6900 iter, 11 epoch / 20 epochs\n",
" 113.71 iters/sec. Estimated time to finish: 00:01:44.\n",
"\u001b[4A\u001b[J total [#############################.....................] 58.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 7000 iter, 11 epoch / 20 epochs\n",
" 113.91 iters/sec. Estimated time to finish: 00:01:43.\n",
"\u001b[4A\u001b[J total [#############################.....................] 59.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 7100 iter, 11 epoch / 20 epochs\n",
" 114.07 iters/sec. Estimated time to finish: 00:01:42.\n",
"\u001b[4A\u001b[J12 0.0136235 0.0704278 0.995799 0.9846 64.5934 \n",
"\u001b[J total [##############################....................] 60.00%\n",
"this epoch [..................................................] 0.00%\n",
" 7200 iter, 12 epoch / 20 epochs\n",
" 113.64 iters/sec. Estimated time to finish: 00:01:42.\n",
"\u001b[4A\u001b[J total [##############################....................] 60.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 7300 iter, 12 epoch / 20 epochs\n",
" 113.78 iters/sec. Estimated time to finish: 00:01:41.\n",
"\u001b[4A\u001b[J total [##############################....................] 61.67%\n",
"this epoch [################..................................] 33.33%\n",
" 7400 iter, 12 epoch / 20 epochs\n",
" 113.93 iters/sec. Estimated time to finish: 00:01:40.\n",
"\u001b[4A\u001b[J total [###############################...................] 62.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 7500 iter, 12 epoch / 20 epochs\n",
" 114.06 iters/sec. Estimated time to finish: 00:01:39.\n",
"\u001b[4A\u001b[J total [###############################...................] 63.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 7600 iter, 12 epoch / 20 epochs\n",
" 114.2 iters/sec. Estimated time to finish: 00:01:38.\n",
"\u001b[4A\u001b[J total [################################..................] 64.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 7700 iter, 12 epoch / 20 epochs\n",
" 114.32 iters/sec. Estimated time to finish: 00:01:37.\n",
"\u001b[4A\u001b[J13 0.0119138 0.0880336 0.996599 0.982 69.725 \n",
"\u001b[J total [################################..................] 65.00%\n",
"this epoch [..................................................] 0.00%\n",
" 7800 iter, 13 epoch / 20 epochs\n",
" 113.89 iters/sec. Estimated time to finish: 00:01:36.\n",
"\u001b[4A\u001b[J total [################################..................] 65.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 7900 iter, 13 epoch / 20 epochs\n",
" 113.98 iters/sec. Estimated time to finish: 00:01:35.\n",
"\u001b[4A\u001b[J total [#################################.................] 66.67%\n",
"this epoch [################..................................] 33.33%\n",
" 8000 iter, 13 epoch / 20 epochs\n",
" 114.07 iters/sec. Estimated time to finish: 00:01:35.\n",
"\u001b[4A\u001b[J total [#################################.................] 67.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 8100 iter, 13 epoch / 20 epochs\n",
" 114.15 iters/sec. Estimated time to finish: 00:01:34.\n",
"\u001b[4A\u001b[J total [##################################................] 68.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 8200 iter, 13 epoch / 20 epochs\n",
" 114.21 iters/sec. Estimated time to finish: 00:01:33.\n",
"\u001b[4A\u001b[J total [##################################................] 69.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 8300 iter, 13 epoch / 20 epochs\n",
" 114.27 iters/sec. Estimated time to finish: 00:01:32.\n",
"\u001b[4A\u001b[J14 0.00913159 0.0833124 0.997299 0.9837 75.1136 \n",
"\u001b[J total [###################################...............] 70.00%\n",
"this epoch [..................................................] 0.00%\n",
" 8400 iter, 14 epoch / 20 epochs\n",
" 113.7 iters/sec. Estimated time to finish: 00:01:31.\n",
"\u001b[4A\u001b[J total [###################################...............] 70.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 8500 iter, 14 epoch / 20 epochs\n",
" 113.74 iters/sec. Estimated time to finish: 00:01:30.\n",
"\u001b[4A\u001b[J total [###################################...............] 71.67%\n",
"this epoch [################..................................] 33.33%\n",
" 8600 iter, 14 epoch / 20 epochs\n",
" 113.89 iters/sec. Estimated time to finish: 00:01:29.\n",
"\u001b[4A\u001b[J total [####################################..............] 72.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 8700 iter, 14 epoch / 20 epochs\n",
" 114.02 iters/sec. Estimated time to finish: 00:01:28.\n",
"\u001b[4A\u001b[J total [####################################..............] 73.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 8800 iter, 14 epoch / 20 epochs\n",
" 114.14 iters/sec. Estimated time to finish: 00:01:28.\n",
"\u001b[4A\u001b[J total [#####################################.............] 74.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 8900 iter, 14 epoch / 20 epochs\n",
" 114.28 iters/sec. Estimated time to finish: 00:01:27.\n",
"\u001b[4A\u001b[J15 0.0105315 0.122169 0.996782 0.978 80.2209 \n",
"\u001b[J total [#####################################.............] 75.00%\n",
"this epoch [..................................................] 0.00%\n",
" 9000 iter, 15 epoch / 20 epochs\n",
" 113.94 iters/sec. Estimated time to finish: 00:01:26.\n",
"\u001b[4A\u001b[J total [#####################################.............] 75.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 9100 iter, 15 epoch / 20 epochs\n",
" 114.07 iters/sec. Estimated time to finish: 00:01:25.\n",
"\u001b[4A\u001b[J total [######################################............] 76.67%\n",
"this epoch [################..................................] 33.33%\n",
" 9200 iter, 15 epoch / 20 epochs\n",
" 114.19 iters/sec. Estimated time to finish: 00:01:24.\n",
"\u001b[4A\u001b[J total [######################################............] 77.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 9300 iter, 15 epoch / 20 epochs\n",
" 114.31 iters/sec. Estimated time to finish: 00:01:23.\n",
"\u001b[4A\u001b[J total [#######################################...........] 78.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 9400 iter, 15 epoch / 20 epochs\n",
" 114.41 iters/sec. Estimated time to finish: 00:01:22.\n",
"\u001b[4A\u001b[J total [#######################################...........] 79.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 9500 iter, 15 epoch / 20 epochs\n",
" 114.52 iters/sec. Estimated time to finish: 00:01:21.\n",
"\u001b[4A\u001b[J16 0.00900445 0.103141 0.997366 0.9811 85.3308 \n",
"\u001b[J total [########################################..........] 80.00%\n",
"this epoch [..................................................] 0.00%\n",
" 9600 iter, 16 epoch / 20 epochs\n",
" 114.16 iters/sec. Estimated time to finish: 00:01:21.\n",
"\u001b[4A\u001b[J total [########################################..........] 80.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 9700 iter, 16 epoch / 20 epochs\n",
" 114.26 iters/sec. Estimated time to finish: 00:01:20.\n",
"\u001b[4A\u001b[J total [########################################..........] 81.67%\n",
"this epoch [################..................................] 33.33%\n",
" 9800 iter, 16 epoch / 20 epochs\n",
" 114.34 iters/sec. Estimated time to finish: 00:01:19.\n",
"\u001b[4A\u001b[J total [#########################################.........] 82.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 9900 iter, 16 epoch / 20 epochs\n",
" 114.4 iters/sec. Estimated time to finish: 00:01:18.\n",
"\u001b[4A\u001b[J total [#########################################.........] 83.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 10000 iter, 16 epoch / 20 epochs\n",
" 114.47 iters/sec. Estimated time to finish: 00:01:17.\n",
"\u001b[4A\u001b[J total [##########################################........] 84.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 10100 iter, 16 epoch / 20 epochs\n",
" 114.53 iters/sec. Estimated time to finish: 00:01:16.\n",
"\u001b[4A\u001b[J17 0.0138738 0.105596 0.996132 0.9802 90.6236 \n",
"\u001b[J total [##########################################........] 85.00%\n",
"this epoch [..................................................] 0.00%\n",
" 10200 iter, 17 epoch / 20 epochs\n",
" 113.97 iters/sec. Estimated time to finish: 00:01:15.\n",
"\u001b[4A\u001b[J total [##########################################........] 85.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 10300 iter, 17 epoch / 20 epochs\n",
" 113.85 iters/sec. Estimated time to finish: 00:01:14.\n",
"\u001b[4A\u001b[J total [###########################################.......] 86.67%\n",
"this epoch [################..................................] 33.33%\n",
" 10400 iter, 17 epoch / 20 epochs\n",
" 113.67 iters/sec. Estimated time to finish: 00:01:14.\n",
"\u001b[4A\u001b[J total [###########################################.......] 87.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 10500 iter, 17 epoch / 20 epochs\n",
" 113.66 iters/sec. Estimated time to finish: 00:01:13.\n",
"\u001b[4A\u001b[J total [############################################......] 88.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 10600 iter, 17 epoch / 20 epochs\n",
" 114.07 iters/sec. Estimated time to finish: 00:01:12.\n",
"\u001b[4A\u001b[J total [############################################......] 89.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 10700 iter, 17 epoch / 20 epochs\n",
" 114.1 iters/sec. Estimated time to finish: 00:01:11.\n",
"\u001b[4A\u001b[J18 0.00920044 0.0914139 0.997216 0.9833 95.8405 \n",
"\u001b[J total [#############################################.....] 90.00%\n",
"this epoch [..................................................] 0.00%\n",
" 10800 iter, 18 epoch / 20 epochs\n",
" 113.73 iters/sec. Estimated time to finish: 00:01:10.\n",
"\u001b[4A\u001b[J total [#############################################.....] 90.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 10900 iter, 18 epoch / 20 epochs\n",
" 113.74 iters/sec. Estimated time to finish: 00:01:09.\n",
"\u001b[4A\u001b[J total [#############################################.....] 91.67%\n",
"this epoch [################..................................] 33.33%\n",
" 11000 iter, 18 epoch / 20 epochs\n",
" 113.74 iters/sec. Estimated time to finish: 00:01:08.\n",
"\u001b[4A\u001b[J total [##############################################....] 92.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 11100 iter, 18 epoch / 20 epochs\n",
" 113.8 iters/sec. Estimated time to finish: 00:01:07.\n",
"\u001b[4A\u001b[J total [##############################################....] 93.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 11200 iter, 18 epoch / 20 epochs\n",
" 114.24 iters/sec. Estimated time to finish: 00:01:07.\n",
"\u001b[4A\u001b[J total [###############################################...] 94.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 11300 iter, 18 epoch / 20 epochs\n",
" 114.21 iters/sec. Estimated time to finish: 00:01:06.\n",
"\u001b[4A\u001b[J19 0.00796835 0.100784 0.997782 0.9835 101.091 \n",
"\u001b[J total [###############################################...] 95.00%\n",
"this epoch [..................................................] 0.00%\n",
" 11400 iter, 19 epoch / 20 epochs\n",
" 113.66 iters/sec. Estimated time to finish: 00:01:05.\n",
"\u001b[4A\u001b[J total [###############################################...] 95.83%\n",
"this epoch [########..........................................] 16.67%\n",
" 11500 iter, 19 epoch / 20 epochs\n",
" 113.55 iters/sec. Estimated time to finish: 00:01:04.\n",
"\u001b[4A\u001b[J total [################################################..] 96.67%\n",
"this epoch [################..................................] 33.33%\n",
" 11600 iter, 19 epoch / 20 epochs\n",
" 113.46 iters/sec. Estimated time to finish: 00:01:03.\n",
"\u001b[4A\u001b[J total [################################################..] 97.50%\n",
"this epoch [#########################.........................] 50.00%\n",
" 11700 iter, 19 epoch / 20 epochs\n",
" 113.4 iters/sec. Estimated time to finish: 00:01:02.\n",
"\u001b[4A\u001b[J total [#################################################.] 98.33%\n",
"this epoch [#################################.................] 66.67%\n",
" 11800 iter, 19 epoch / 20 epochs\n",
" 113.71 iters/sec. Estimated time to finish: 00:01:01.\n",
"\u001b[4A\u001b[J total [#################################################.] 99.17%\n",
"this epoch [#########################################.........] 83.33%\n",
" 11900 iter, 19 epoch / 20 epochs\n",
" 113.64 iters/sec. Estimated time to finish: 00:01:00.\n",
"\u001b[4A\u001b[J20 0.00734165 0.104732 0.997799 0.9828 106.91 \n",
"\u001b[J total [##################################################] 100.00%\n",
"this epoch [..................................................] 0.00%\n",
" 12000 iter, 20 epoch / 20 epochs\n",
" 113.02 iters/sec. Estimated time to finish: 00:01:00.\n",
"\u001b[4A\u001b[J"
],
"name": "stdout"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment