update
lzfxxx
6 years ago
| 0 | ================ Training Loss (Wed Sep 11 08:38:57 2019) ================ | |
| 1 | ================ Training Loss (Wed Sep 11 09:18:57 2019) ================ |
| 0 | ----------------- Options --------------- | |
| 1 | batch_size: 1 | |
| 2 | beta1: 0.5 | |
| 3 | checkpoints_dir: ./checkpoints | |
| 4 | continue_train: False | |
| 5 | crop_size: 256 | |
| 6 | dataroot: ./datasets/maps [default: None] | |
| 7 | dataset_mode: unaligned | |
| 8 | direction: AtoB | |
| 9 | display_env: main | |
| 10 | display_freq: 400 | |
| 11 | display_id: 1 | |
| 12 | display_ncols: 4 | |
| 13 | display_port: 8097 | |
| 14 | display_server: http://localhost | |
| 15 | display_winsize: 256 | |
| 16 | epoch: latest | |
| 17 | epoch_count: 1 | |
| 18 | gan_mode: lsgan | |
| 19 | gpu_ids: -1 [default: 0] | |
| 20 | init_gain: 0.02 | |
| 21 | init_type: normal | |
| 22 | input_nc: 3 | |
| 23 | isTrain: True [default: None] | |
| 24 | lambda_A: 10.0 | |
| 25 | lambda_B: 10.0 | |
| 26 | lambda_identity: 0.5 | |
| 27 | load_iter: 0 [default: 0] | |
| 28 | load_size: 286 | |
| 29 | lr: 0.0002 | |
| 30 | lr_decay_iters: 50 | |
| 31 | lr_policy: linear | |
| 32 | max_dataset_size: inf | |
| 33 | model: cycle_gan | |
| 34 | n_layers_D: 3 | |
| 35 | name: maps_cyclegan [default: experiment_name] | |
| 36 | ndf: 64 | |
| 37 | netD: basic | |
| 38 | netG: resnet_9blocks | |
| 39 | ngf: 64 | |
| 40 | niter: 100 | |
| 41 | niter_decay: 100 | |
| 42 | no_dropout: True | |
| 43 | no_flip: False | |
| 44 | no_html: False | |
| 45 | norm: instance | |
| 46 | num_threads: 4 | |
| 47 | output_nc: 3 | |
| 48 | phase: train | |
| 49 | pool_size: 50 | |
| 50 | preprocess: resize_and_crop | |
| 51 | print_freq: 100 | |
| 52 | save_by_iter: False | |
| 53 | save_epoch_freq: 5 | |
| 54 | save_latest_freq: 5000 | |
| 55 | serial_batches: False | |
| 56 | suffix: | |
| 57 | update_html_freq: 1000 | |
| 58 | verbose: False | |
| 59 | ----------------- End ------------------- |
| 0 | ||
| 1 | { | |
| 2 | "cells": [ | |
| 3 | { | |
| 4 | "cell_type": "code", | |
| 5 | "execution_count": null, | |
| 6 | "metadata": {}, | |
| 7 | "outputs": [], | |
| 8 | "source": [ | |
| 9 | "print('Hello Mo!')" | |
| 10 | ] | |
| 11 | } | |
| 12 | ], | |
| 13 | "metadata": { | |
| 14 | "kernelspec": { | |
| 15 | "display_name": "Python 3", | |
| 16 | "language": "python", | |
| 17 | "name": "python3" | |
| 18 | }, | |
| 19 | "language_info": { | |
| 20 | "codemirror_mode": { | |
| 21 | "name": "ipython", | |
| 22 | "version": 3 | |
| 23 | }, | |
| 24 | "file_extension": ".py", | |
| 25 | "mimetype": "text/x-python", | |
| 26 | "name": "python", | |
| 27 | "nbconvert_exporter": "python", | |
| 28 | "pygments_lexer": "ipython3", | |
| 29 | "version": "3.5.2" | |
| 30 | } | |
| 31 | }, | |
| 32 | "nbformat": 4, | |
| 33 | "nbformat_minor": 2 | |
| 34 | } | |
| 35 | ⏎ | |
| 0 | { | |
| 1 | "cells": [ | |
| 2 | { | |
| 3 | "cell_type": "code", | |
| 4 | "execution_count": 1, | |
| 5 | "metadata": {}, | |
| 6 | "outputs": [ | |
| 7 | { | |
| 8 | "name": "stdout", | |
| 9 | "output_type": "stream", | |
| 10 | "text": [ | |
| 11 | "Hello Mo!\n" | |
| 12 | ] | |
| 13 | } | |
| 14 | ], | |
| 15 | "source": [ | |
| 16 | "print('Hello Mo!')" | |
| 17 | ] | |
| 18 | }, | |
| 19 | { | |
| 20 | "cell_type": "code", | |
| 21 | "execution_count": 2, | |
| 22 | "metadata": {}, | |
| 23 | "outputs": [ | |
| 24 | { | |
| 25 | "name": "stdout", | |
| 26 | "output_type": "stream", | |
| 27 | "text": [ | |
| 28 | "\u001b[33mWARNING: The directory '/home/jovyan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n", | |
| 29 | "\u001b[33mWARNING: The directory '/home/jovyan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n", | |
| 30 | "Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple\n", | |
| 31 | "Collecting dominate\n", | |
| 32 | "\u001b[33m WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError(\"HTTPSConnectionPool(host='mirrors.ustc.edu.cn', port=443): Read timed out. (read timeout=15)\",)': /pypi/web/simple/dominate/\u001b[0m\n", | |
| 33 | " Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1d/64/593e829416c951eb35c2246430d59b86f640087e29e71f32632bcde5d0f7/dominate-2.4.0-py2.py3-none-any.whl\n", | |
| 34 | "Installing collected packages: dominate\n", | |
| 35 | "Successfully installed dominate-2.4.0\n" | |
| 36 | ] | |
| 37 | } | |
| 38 | ], | |
| 39 | "source": [ | |
| 40 | "!pip install dominate" | |
| 41 | ] | |
| 42 | }, | |
| 43 | { | |
| 44 | "cell_type": "code", | |
| 45 | "execution_count": 2, | |
| 46 | "metadata": {}, | |
| 47 | "outputs": [ | |
| 48 | { | |
| 49 | "name": "stdout", | |
| 50 | "output_type": "stream", | |
| 51 | "text": [ | |
| 52 | "\u001b[33mWARNING: The directory '/home/jovyan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n", | |
| 53 | "\u001b[33mWARNING: The directory '/home/jovyan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n", | |
| 54 | "Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple\n", | |
| 55 | "Collecting visdom\n", | |
| 56 | "\u001b[?25l Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/97/c4/5f5356fd57ae3c269e0e31601ea6487e0622fedc6756a591e4a5fd66cc7a/visdom-0.1.8.8.tar.gz (1.4MB)\n", | |
| 57 | "\u001b[K |████████████████████████████████| 1.4MB 1.6MB/s eta 0:00:01\n", | |
| 58 | "\u001b[?25hRequirement already satisfied: numpy>=1.8 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (1.16.0)\n", | |
| 59 | "Requirement already satisfied: scipy in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (1.3.1)\n", | |
| 60 | "Requirement already satisfied: requests in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (2.22.0)\n", | |
| 61 | "Requirement already satisfied: tornado in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (6.0.3)\n", | |
| 62 | "Requirement already satisfied: pyzmq in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (18.1.0)\n", | |
| 63 | "Requirement already satisfied: six in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (1.12.0)\n", | |
| 64 | "Collecting torchfile (from visdom)\n", | |
| 65 | " Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/91/af/5b305f86f2d218091af657ddb53f984ecbd9518ca9fe8ef4103a007252c9/torchfile-0.1.0.tar.gz\n", | |
| 66 | "Collecting websocket-client (from visdom)\n", | |
| 67 | "\u001b[?25l Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)\n", | |
| 68 | "\u001b[K |████████████████████████████████| 204kB 50.1MB/s eta 0:00:01\n", | |
| 69 | "\u001b[?25hRequirement already satisfied: pillow in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (6.1.0)\n", | |
| 70 | "Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (1.25.3)\n", | |
| 71 | "Requirement already satisfied: idna<2.9,>=2.5 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (2.8)\n", | |
| 72 | "Requirement already satisfied: certifi>=2017.4.17 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (2019.6.16)\n", | |
| 73 | "Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (3.0.4)\n", | |
| 74 | "Building wheels for collected packages: visdom, torchfile\n", | |
| 75 | "\u001b[33m WARNING: Building wheel for visdom failed: [Errno 13] Permission denied: '/home/jovyan/.cache/pip/wheels/65'\u001b[0m\n", | |
| 76 | "\u001b[33m WARNING: Building wheel for torchfile failed: [Errno 13] Permission denied: '/home/jovyan/.cache/pip/wheels/b7'\u001b[0m\n", | |
| 77 | "Failed to build visdom torchfile\n", | |
| 78 | "Installing collected packages: torchfile, websocket-client, visdom\n", | |
| 79 | " Running setup.py install for torchfile ... \u001b[?25ldone\n", | |
| 80 | "\u001b[?25h Running setup.py install for visdom ... \u001b[?25ldone\n", | |
| 81 | "\u001b[?25hSuccessfully installed torchfile-0.1.0 visdom-0.1.8.8 websocket-client-0.56.0\n" | |
| 82 | ] | |
| 83 | } | |
| 84 | ], | |
| 85 | "source": [ | |
| 86 | "!pip install visdom" | |
| 87 | ] | |
| 88 | }, | |
| 89 | { | |
| 90 | "cell_type": "code", | |
| 91 | "execution_count": null, | |
| 92 | "metadata": {}, | |
| 93 | "outputs": [ | |
| 94 | { | |
| 95 | "name": "stdout", | |
| 96 | "output_type": "stream", | |
| 97 | "text": [ | |
| 98 | "Checking for scripts.\n", | |
| 99 | "It's Alive!\n", | |
| 100 | "INFO:root:Application Started\n", | |
| 101 | "You can navigate to http://jupyter-4f4549ll415a47504b0lu4dc49ss44042a4ftm5f47h48h92da34a0x:8097\n" | |
| 102 | ] | |
| 103 | } | |
| 104 | ], | |
| 105 | "source": [ | |
| 106 | "!python -m visdom.server" | |
| 107 | ] | |
| 108 | }, | |
| 109 | { | |
| 110 | "cell_type": "code", | |
| 111 | "execution_count": 2, | |
| 112 | "metadata": {}, | |
| 113 | "outputs": [ | |
| 114 | { | |
| 115 | "data": { | |
| 116 | "text/plain": [ | |
| 117 | "'/home/jovyan/work'" | |
| 118 | ] | |
| 119 | }, | |
| 120 | "execution_count": 2, | |
| 121 | "metadata": {}, | |
| 122 | "output_type": "execute_result" | |
| 123 | } | |
| 124 | ], | |
| 125 | "source": [ | |
| 126 | "pwd" | |
| 127 | ] | |
| 128 | }, | |
| 129 | { | |
| 130 | "cell_type": "code", | |
| 131 | "execution_count": null, | |
| 132 | "metadata": {}, | |
| 133 | "outputs": [], | |
| 134 | "source": [] | |
| 135 | } | |
| 136 | ], | |
| 137 | "metadata": { | |
| 138 | "kernelspec": { | |
| 139 | "display_name": "Python 3", | |
| 140 | "language": "python", | |
| 141 | "name": "python3" | |
| 142 | }, | |
| 143 | "language_info": { | |
| 144 | "codemirror_mode": { | |
| 145 | "name": "ipython", | |
| 146 | "version": 3 | |
| 147 | }, | |
| 148 | "file_extension": ".py", | |
| 149 | "mimetype": "text/x-python", | |
| 150 | "name": "python", | |
| 151 | "nbconvert_exporter": "python", | |
| 152 | "pygments_lexer": "ipython3", | |
| 153 | "version": "3.5.2" | |
| 154 | } | |
| 155 | }, | |
| 156 | "nbformat": 4, | |
| 157 | "nbformat_minor": 2 | |
| 158 | } |
| 0 | 2019-09-10T07:39:38.898953428Z SYSTEM: Preparing env... | |
| 1 | 2019-09-10T07:39:54.86985243Z SYSTEM: Running... | |
| 2 | 2019-09-10T07:39:57.448889952Z Traceback (most recent call last): | |
| 3 | 2019-09-10T07:39:57.448949004Z File "train.py", line 25, in <module> | |
| 4 | 2019-09-10T07:39:57.448958677Z from util.visualizer import Visualizer | |
| 5 | 2019-09-10T07:39:57.448964742Z File "/home/jovyan/work/util/visualizer.py", line 6, in <module> | |
| 6 | 2019-09-10T07:39:57.448970487Z from . import util, html | |
| 7 | 2019-09-10T07:39:57.448975507Z File "/home/jovyan/work/util/html.py", line 1, in <module> | |
| 8 | 2019-09-10T07:39:57.448981153Z import dominate | |
| 9 | 2019-09-10T07:39:57.448986547Z ImportError: No module named 'dominate' | |
| 10 | 2019-09-10T07:39:57.959863152Z SYSTEM: Finishing... | |
| 11 | 2019-09-10T07:40:00.184160049Z SYSTEM: Error Exists! |
| 0 | 2019-09-10T09:00:28.731876001Z SYSTEM: Preparing env... | |
| 1 | 2019-09-10T09:00:44.875879336Z SYSTEM: Running... | |
| 2 | 2019-09-10T09:00:46.607916997Z Traceback (most recent call last): | |
| 3 | 2019-09-10T09:00:46.607965097Z File "train.py", line 22, in <module> | |
| 4 | 2019-09-10T09:00:46.607974098Z from options.train_options import TrainOptions | |
| 5 | 2019-09-10T09:00:46.607979539Z ImportError: No module named 'options' | |
| 6 | 2019-09-10T09:00:47.032044929Z SYSTEM: Finishing... | |
| 7 | 2019-09-10T09:00:49.371681661Z SYSTEM: Error Exists! |
| 0 | 2019-09-10T09:12:10.91632254Z SYSTEM: Preparing env... | |
| 1 | 2019-09-10T09:12:28.019481469Z SYSTEM: Running... | |
| 2 | 2019-09-10T09:12:30.527888832Z usage: train.py [-h] --dataroot DATAROOT [--name NAME] [--gpu_ids GPU_IDS] | |
| 3 | 2019-09-10T09:12:30.527937178Z [--checkpoints_dir CHECKPOINTS_DIR] [--model MODEL] | |
| 4 | 2019-09-10T09:12:30.527941755Z [--input_nc INPUT_NC] [--output_nc OUTPUT_NC] [--ngf NGF] | |
| 5 | 2019-09-10T09:12:30.527945098Z [--ndf NDF] [--netD NETD] [--netG NETG] | |
| 6 | 2019-09-10T09:12:30.527948321Z [--n_layers_D N_LAYERS_D] [--norm NORM] | |
| 7 | 2019-09-10T09:12:30.527951323Z [--init_type INIT_TYPE] [--init_gain INIT_GAIN] [--no_dropout] | |
| 8 | 2019-09-10T09:12:30.527954628Z [--dataset_mode DATASET_MODE] [--direction DIRECTION] | |
| 9 | 2019-09-10T09:12:30.527957506Z [--serial_batches] [--num_threads NUM_THREADS] | |
| 10 | 2019-09-10T09:12:30.527960398Z [--batch_size BATCH_SIZE] [--load_size LOAD_SIZE] | |
| 11 | 2019-09-10T09:12:30.527963108Z [--crop_size CROP_SIZE] [--max_dataset_size MAX_DATASET_SIZE] | |
| 12 | 2019-09-10T09:12:30.527965943Z [--preprocess PREPROCESS] [--no_flip] | |
| 13 | 2019-09-10T09:12:30.527968671Z [--display_winsize DISPLAY_WINSIZE] [--epoch EPOCH] | |
| 14 | 2019-09-10T09:12:30.527971593Z [--load_iter LOAD_ITER] [--verbose] [--suffix SUFFIX] | |
| 15 | 2019-09-10T09:12:30.527991563Z [--display_freq DISPLAY_FREQ] [--display_ncols DISPLAY_NCOLS] | |
| 16 | 2019-09-10T09:12:30.527995651Z [--display_id DISPLAY_ID] [--display_server DISPLAY_SERVER] | |
| 17 | 2019-09-10T09:12:30.527998428Z [--display_env DISPLAY_ENV] [--display_port DISPLAY_PORT] | |
| 18 | 2019-09-10T09:12:30.528001266Z [--update_html_freq UPDATE_HTML_FREQ] | |
| 19 | 2019-09-10T09:12:30.528003985Z [--print_freq PRINT_FREQ] [--no_html] | |
| 20 | 2019-09-10T09:12:30.528006728Z [--save_latest_freq SAVE_LATEST_FREQ] | |
| 21 | 2019-09-10T09:12:30.528009433Z [--save_epoch_freq SAVE_EPOCH_FREQ] [--save_by_iter] | |
| 22 | 2019-09-10T09:12:30.528012256Z [--continue_train] [--epoch_count EPOCH_COUNT] [--phase PHASE] | |
| 23 | 2019-09-10T09:12:30.528015402Z [--niter NITER] [--niter_decay NITER_DECAY] [--beta1 BETA1] | |
| 24 | 2019-09-10T09:12:30.528018125Z [--lr LR] [--gan_mode GAN_MODE] [--pool_size POOL_SIZE] | |
| 25 | 2019-09-10T09:12:30.52802086Z [--lr_policy LR_POLICY] [--lr_decay_iters LR_DECAY_ITERS] | |
| 26 | 2019-09-10T09:12:30.528023782Z train.py: error: the following arguments are required: --dataroot | |
| 27 | 2019-09-10T09:12:31.128608875Z SYSTEM: Finishing... | |
| 28 | 2019-09-10T09:12:33.299480947Z SYSTEM: Error Exists! |
| 0 | 2019-09-12T00:54:10.783943782Z SYSTEM: Preparing env... | |
| 1 | 2019-09-12T00:54:26.296868274Z SYSTEM: Running... | |
| 2 | 2019-09-12T00:54:28.692301823Z ----------------- Options --------------- | |
| 3 | 2019-09-12T00:54:28.692350383Z batch_size: 1 | |
| 4 | 2019-09-12T00:54:28.692357451Z beta1: 0.5 | |
| 5 | 2019-09-12T00:54:28.692362002Z checkpoints_dir: ./checkpoints | |
| 6 | 2019-09-12T00:54:28.692366242Z continue_train: False | |
| 7 | 2019-09-12T00:54:28.692370538Z crop_size: 256 | |
| 8 | 2019-09-12T00:54:28.692375113Z dataroot: ./datasets/maps [default: None] | |
| 9 | 2019-09-12T00:54:28.692379931Z dataset_mode: unaligned | |
| 10 | 2019-09-12T00:54:28.692384384Z direction: AtoB | |
| 11 | 2019-09-12T00:54:28.692388553Z display_env: main | |
| 12 | 2019-09-12T00:54:28.692393232Z display_freq: 400 | |
| 13 | 2019-09-12T00:54:28.692397656Z display_id: 1 | |
| 14 | 2019-09-12T00:54:28.692402638Z display_ncols: 4 | |
| 15 | 2019-09-12T00:54:28.692407228Z display_port: 8097 | |
| 16 | 2019-09-12T00:54:28.692414438Z display_server: http://localhost | |
| 17 | 2019-09-12T00:54:28.692419194Z display_winsize: 256 | |
| 18 | 2019-09-12T00:54:28.692423896Z epoch: latest | |
| 19 | 2019-09-12T00:54:28.692428602Z epoch_count: 1 | |
| 20 | 2019-09-12T00:54:28.692433783Z gan_mode: lsgan | |
| 21 | 2019-09-12T00:54:28.692444226Z gpu_ids: 0 | |
| 22 | 2019-09-12T00:54:28.692450324Z init_gain: 0.02 | |
| 23 | 2019-09-12T00:54:28.692455148Z init_type: normal | |
| 24 | 2019-09-12T00:54:28.692460124Z input_nc: 3 | |
| 25 | 2019-09-12T00:54:28.692464589Z isTrain: True [default: None] | |
| 26 | 2019-09-12T00:54:28.692470253Z lambda_A: 10.0 | |
| 27 | 2019-09-12T00:54:28.692474546Z lambda_B: 10.0 | |
| 28 | 2019-09-12T00:54:28.692478781Z lambda_identity: 0.5 | |
| 29 | 2019-09-12T00:54:28.692483278Z load_iter: 0 [default: 0] | |
| 30 | 2019-09-12T00:54:28.692487878Z load_size: 286 | |
| 31 | 2019-09-12T00:54:28.692492078Z lr: 0.0002 | |
| 32 | 2019-09-12T00:54:28.692510073Z lr_decay_iters: 50 | |
| 33 | 2019-09-12T00:54:28.692515409Z lr_policy: linear | |
| 34 | 2019-09-12T00:54:28.692520094Z max_dataset_size: inf | |
| 35 | 2019-09-12T00:54:28.692524482Z model: cycle_gan | |
| 36 | 2019-09-12T00:54:28.692530913Z n_layers_D: 3 | |
| 37 | 2019-09-12T00:54:28.692536403Z name: maps_cyclegan [default: experiment_name] | |
| 38 | 2019-09-12T00:54:28.692547718Z ndf: 64 | |
| 39 | 2019-09-12T00:54:28.692552981Z netD: basic | |
| 40 | 2019-09-12T00:54:28.692557297Z netG: resnet_9blocks | |
| 41 | 2019-09-12T00:54:28.692561881Z ngf: 64 | |
| 42 | 2019-09-12T00:54:28.692566484Z niter: 100 | |
| 43 | 2019-09-12T00:54:28.692570976Z niter_decay: 100 | |
| 44 | 2019-09-12T00:54:28.692575702Z no_dropout: True | |
| 45 | 2019-09-12T00:54:28.692580238Z no_flip: False | |
| 46 | 2019-09-12T00:54:28.692584889Z no_html: False | |
| 47 | 2019-09-12T00:54:28.692589411Z norm: instance | |
| 48 | 2019-09-12T00:54:28.692593738Z num_threads: 4 | |
| 49 | 2019-09-12T00:54:28.692598198Z output_nc: 3 | |
| 50 | 2019-09-12T00:54:28.692602978Z phase: train | |
| 51 | 2019-09-12T00:54:28.692656486Z pool_size: 50 | |
| 52 | 2019-09-12T00:54:28.692663331Z preprocess: resize_and_crop | |
| 53 | 2019-09-12T00:54:28.692667816Z print_freq: 100 | |
| 54 | 2019-09-12T00:54:28.692672514Z save_by_iter: False | |
| 55 | 2019-09-12T00:54:28.692676864Z save_epoch_freq: 5 | |
| 56 | 2019-09-12T00:54:28.692681618Z save_latest_freq: 5000 | |
| 57 | 2019-09-12T00:54:28.692686052Z serial_batches: False | |
| 58 | 2019-09-12T00:54:28.692690754Z suffix: | |
| 59 | 2019-09-12T00:54:28.692695374Z update_html_freq: 1000 | |
| 60 | 2019-09-12T00:54:28.692699819Z verbose: False | |
| 61 | 2019-09-12T00:54:28.692704509Z ----------------- End ------------------- | |
| 62 | 2019-09-12T00:54:28.718880422Z Traceback (most recent call last): | |
| 63 | 2019-09-12T00:54:28.718935886Z File "train.py", line 29, in <module> | |
| 64 | 2019-09-12T00:54:28.718960549Z dataset = create_dataset(opt) # create a dataset given opt.dataset_mode and other options | |
| 65 | 2019-09-12T00:54:28.718967164Z File "/home/jovyan/work/data/__init__.py", line 57, in create_dataset | |
| 66 | 2019-09-12T00:54:28.718972027Z data_loader = CustomDatasetDataLoader(opt) | |
| 67 | 2019-09-12T00:54:28.718976522Z File "/home/jovyan/work/data/__init__.py", line 73, in __init__ | |
| 68 | 2019-09-12T00:54:28.718981177Z self.dataset = dataset_class(opt) | |
| 69 | 2019-09-12T00:54:28.718985609Z File "/home/jovyan/work/data/unaligned_dataset.py", line 29, in __init__ | |
| 70 | 2019-09-12T00:54:28.718990197Z self.A_paths = sorted(make_dataset(self.dir_A, opt.max_dataset_size)) # load images from '/path/to/data/trainA' | |
| 71 | 2019-09-12T00:54:28.718995184Z File "/home/jovyan/work/data/image_folder.py", line 25, in make_dataset | |
| 72 | 2019-09-12T00:54:28.718999713Z assert os.path.isdir(dir), '%s is not a valid directory' % dir | |
| 73 | 2019-09-12T00:54:28.719004383Z AssertionError: ./datasets/maps/trainA is not a valid directory | |
| 74 | 2019-09-12T00:54:29.278736874Z SYSTEM: Finishing... | |
| 75 | 2019-09-12T00:54:31.419723258Z SYSTEM: Error Exists! |
| 0 | 2019-09-12T01:11:50.693071255Z SYSTEM: Preparing env... | |
| 1 | 2019-09-12T01:12:05.98712888Z SYSTEM: Running... | |
| 2 | 2019-09-12T01:12:08.405716515Z ----------------- Options --------------- | |
| 3 | 2019-09-12T01:12:08.405766128Z batch_size: 1 | |
| 4 | 2019-09-12T01:12:08.405773721Z beta1: 0.5 | |
| 5 | 2019-09-12T01:12:08.405779154Z checkpoints_dir: ./checkpoints | |
| 6 | 2019-09-12T01:12:08.405784106Z continue_train: False | |
| 7 | 2019-09-12T01:12:08.405801126Z crop_size: 256 | |
| 8 | 2019-09-12T01:12:08.405807384Z dataroot: /home/jovyan/work/datasets/maps [default: None] | |
| 9 | 2019-09-12T01:12:08.405812908Z dataset_mode: unaligned | |
| 10 | 2019-09-12T01:12:08.405817446Z direction: AtoB | |
| 11 | 2019-09-12T01:12:08.405823478Z display_env: main | |
| 12 | 2019-09-12T01:12:08.405828216Z display_freq: 400 | |
| 13 | 2019-09-12T01:12:08.405832881Z display_id: 1 | |
| 14 | 2019-09-12T01:12:08.405837492Z display_ncols: 4 | |
| 15 | 2019-09-12T01:12:08.405843096Z display_port: 8097 | |
| 16 | 2019-09-12T01:12:08.405848309Z display_server: http://localhost | |
| 17 | 2019-09-12T01:12:08.405853218Z display_winsize: 256 | |
| 18 | 2019-09-12T01:12:08.405858006Z epoch: latest | |
| 19 | 2019-09-12T01:12:08.405864748Z epoch_count: 1 | |
| 20 | 2019-09-12T01:12:08.405869608Z gan_mode: lsgan | |
| 21 | 2019-09-12T01:12:08.405874423Z gpu_ids: 0 | |
| 22 | 2019-09-12T01:12:08.405878782Z init_gain: 0.02 | |
| 23 | 2019-09-12T01:12:08.405883269Z init_type: normal | |
| 24 | 2019-09-12T01:12:08.405887619Z input_nc: 3 | |
| 25 | 2019-09-12T01:12:08.405892701Z isTrain: True [default: None] | |
| 26 | 2019-09-12T01:12:08.405898308Z lambda_A: 10.0 | |
| 27 | 2019-09-12T01:12:08.405903098Z lambda_B: 10.0 | |
| 28 | 2019-09-12T01:12:08.405907559Z lambda_identity: 0.5 | |
| 29 | 2019-09-12T01:12:08.405912198Z load_iter: 0 [default: 0] | |
| 30 | 2019-09-12T01:12:08.405915447Z load_size: 286 | |
| 31 | 2019-09-12T01:12:08.405918537Z lr: 0.0002 | |
| 32 | 2019-09-12T01:12:08.405934074Z lr_decay_iters: 50 | |
| 33 | 2019-09-12T01:12:08.405937708Z lr_policy: linear | |
| 34 | 2019-09-12T01:12:08.405940478Z max_dataset_size: inf | |
| 35 | 2019-09-12T01:12:08.405943151Z model: cycle_gan | |
| 36 | 2019-09-12T01:12:08.405947568Z n_layers_D: 3 | |
| 37 | 2019-09-12T01:12:08.405950439Z name: maps_cyclegan [default: experiment_name] | |
| 38 | 2019-09-12T01:12:08.405956744Z ndf: 64 | |
| 39 | 2019-09-12T01:12:08.405961294Z netD: basic | |
| 40 | 2019-09-12T01:12:08.405965941Z netG: resnet_9blocks | |
| 41 | 2019-09-12T01:12:08.405970624Z ngf: 64 | |
| 42 | 2019-09-12T01:12:08.405975328Z niter: 100 | |
| 43 | 2019-09-12T01:12:08.405980208Z niter_decay: 100 | |
| 44 | 2019-09-12T01:12:08.405984934Z no_dropout: True | |
| 45 | 2019-09-12T01:12:08.405988854Z no_flip: False | |
| 46 | 2019-09-12T01:12:08.405991571Z no_html: False | |
| 47 | 2019-09-12T01:12:08.405994644Z norm: instance | |
| 48 | 2019-09-12T01:12:08.405997364Z num_threads: 4 | |
| 49 | 2019-09-12T01:12:08.406000046Z output_nc: 3 | |
| 50 | 2019-09-12T01:12:08.406002718Z phase: train | |
| 51 | 2019-09-12T01:12:08.406005807Z pool_size: 50 | |
| 52 | 2019-09-12T01:12:08.406010241Z preprocess: resize_and_crop | |
| 53 | 2019-09-12T01:12:08.406013138Z print_freq: 100 | |
| 54 | 2019-09-12T01:12:08.406015844Z save_by_iter: False | |
| 55 | 2019-09-12T01:12:08.406018674Z save_epoch_freq: 5 | |
| 56 | 2019-09-12T01:12:08.406021409Z save_latest_freq: 5000 | |
| 57 | 2019-09-12T01:12:08.406024242Z serial_batches: False | |
| 58 | 2019-09-12T01:12:08.406027174Z suffix: | |
| 59 | 2019-09-12T01:12:08.406029867Z update_html_freq: 1000 | |
| 60 | 2019-09-12T01:12:08.406032874Z verbose: False | |
| 61 | 2019-09-12T01:12:08.406035635Z ----------------- End ------------------- | |
| 62 | 2019-09-12T01:12:08.438027548Z Traceback (most recent call last): | |
| 63 | 2019-09-12T01:12:08.438080971Z File "train.py", line 29, in <module> | |
| 64 | 2019-09-12T01:12:08.438109321Z dataset = create_dataset(opt) # create a dataset given opt.dataset_mode and other options | |
| 65 | 2019-09-12T01:12:08.438115571Z File "/home/jovyan/work/data/__init__.py", line 57, in create_dataset | |
| 66 | 2019-09-12T01:12:08.438120925Z data_loader = CustomDatasetDataLoader(opt) | |
| 67 | 2019-09-12T01:12:08.438125775Z File "/home/jovyan/work/data/__init__.py", line 73, in __init__ | |
| 68 | 2019-09-12T01:12:08.438130351Z self.dataset = dataset_class(opt) | |
| 69 | 2019-09-12T01:12:08.438135103Z File "/home/jovyan/work/data/unaligned_dataset.py", line 29, in __init__ | |
| 70 | 2019-09-12T01:12:08.438139751Z self.A_paths = sorted(make_dataset(self.dir_A, opt.max_dataset_size)) # load images from '/path/to/data/trainA' | |
| 71 | 2019-09-12T01:12:08.438144775Z File "/home/jovyan/work/data/image_folder.py", line 25, in make_dataset | |
| 72 | 2019-09-12T01:12:08.43815041Z assert os.path.isdir(dir), '%s is not a valid directory' % dir | |
| 73 | 2019-09-12T01:12:08.438155176Z AssertionError: /home/jovyan/work/datasets/maps/trainA is not a valid directory | |
| 74 | 2019-09-12T01:12:08.927649789Z SYSTEM: Finishing... | |
| 75 | 2019-09-12T01:12:11.160691584Z SYSTEM: Error Exists! |
| 0 | from .base_options import BaseOptions | |
| 1 | ||
| 2 | ||
| 3 | class TrainOptions(BaseOptions): | |
| 4 | """This class includes training options. | |
| 5 | ||
| 6 | It also includes shared options defined in BaseOptions. | |
| 7 | """ | |
| 8 | ||
| 9 | def initialize(self, parser): | |
| 10 | parser = BaseOptions.initialize(self, parser) | |
| 11 | # visdom and HTML visualization parameters | |
| 12 | parser.add_argument('--display_freq', type=int, default=400, help='frequency of showing training results on screen') | |
| 13 | parser.add_argument('--display_ncols', type=int, default=4, help='if positive, display all images in a single visdom web panel with certain number of images per row.') | |
| 14 | parser.add_argument('--display_id', type=int, default=1, help='window id of the web display') | |
| 15 | parser.add_argument('--display_server', type=str, default="http://localhost", help='visdom server of the web display') | |
| 16 | parser.add_argument('--display_env', type=str, default='main', help='visdom display environment name (default is "main")') | |
| 17 | parser.add_argument('--display_port', type=int, default=8097, help='visdom port of the web display') | |
| 18 | parser.add_argument('--update_html_freq', type=int, default=1000, help='frequency of saving training results to html') | |
| 19 | parser.add_argument('--print_freq', type=int, default=100, help='frequency of showing training results on console') | |
| 20 | parser.add_argument('--no_html', action='store_true', help='do not save intermediate training results to [opt.checkpoints_dir]/[opt.name]/web/') | |
| 21 | # network saving and loading parameters | |
| 22 | parser.add_argument('--save_latest_freq', type=int, default=5000, help='frequency of saving the latest results') | |
| 23 | parser.add_argument('--save_epoch_freq', type=int, default=5, help='frequency of saving checkpoints at the end of epochs') | |
| 24 | parser.add_argument('--save_by_iter', action='store_true', help='whether saves model by iteration') | |
| 25 | parser.add_argument('--continue_train', action='store_true', help='continue training: load the latest model') | |
| 26 | parser.add_argument('--epoch_count', type=int, default=1, help='the starting epoch count, we save the model by <epoch_count>, <epoch_count>+<save_latest_freq>, ...') | |
| 27 | parser.add_argument('--phase', type=str, default='train', help='train, val, test, etc') | |
| 28 | # training parameters | |
| 29 | parser.add_argument('--niter', type=int, default=100, help='# of iter at starting learning rate') | |
| 30 | parser.add_argument('--niter_decay', type=int, default=100, help='# of iter to linearly decay learning rate to zero') | |
| 31 | parser.add_argument('--beta1', type=float, default=0.5, help='momentum term of adam') | |
| 32 | parser.add_argument('--lr', type=float, default=0.0002, help='initial learning rate for adam') | |
| 33 | parser.add_argument('--gan_mode', type=str, default='lsgan', help='the type of GAN objective. [vanilla| lsgan | wgangp]. vanilla GAN loss is the cross-entropy objective used in the original GAN paper.') | |
| 34 | parser.add_argument('--pool_size', type=int, default=50, help='the size of image buffer that stores previously generated images') | |
| 35 | parser.add_argument('--lr_policy', type=str, default='linear', help='learning rate policy. [linear | step | plateau | cosine]') | |
| 36 | parser.add_argument('--lr_decay_iters', type=int, default=50, help='multiply by a gamma every lr_decay_iters iterations') | |
| 37 | ||
| 38 | self.isTrain = True | |
| 39 | return parser |