GeezerVison is showing github.com — Results for unet · flury/DeepLearningTutorials@86d6e16
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: code/unet/train_unet.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -386,7 +386,7 @@ def main(): | 386 | 386 | parser.add_argument('-batch_size', | 387 | 387 | type=int, | 388 | 388 | nargs='+', | 389 | | - default=[5, 1, 1], | | 389 | + default=[5, 5, 1], | 390 | 390 | help='Batch size [train, val, test]') | 391 | 391 | parser.add_argument('-data_augmentation', | 392 | 392 | type=dict, | |
Collapse file Copy file name to clipboardExpand all lines: doc/unet.txt +8Lines changed: 8 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -156,6 +156,14 @@ And finally the output path (to obtain *number of classes* feature maps): | 156 | 156 | :start-after: start-snippet-output | 157 | 157 | :end-before: end-snippet-output | 158 | 158 |
| | 159 | +Running ``train_unet.py`` on a Titan X lasted for around 60 minutes, ending with the following: | | 160 | + | | 161 | +.. code-block:: text | | 162 | + | | 163 | + $ THEANO_FLAGS=device=cuda0,floatX=float32,dnn.conv.algo_fwd=time_once,dnn.conv.algo_bwd_data=time_once,dnn.conv.algo_bwd_filter=time_once,gpuarray.preallocate=1 python train_unet.py | | 164 | + [...] | | 165 | + EPOCH 364: Avg epoch training cost train 0.160667, cost val 0.265909, acc val 0.888796, jacc val class 0 0.636058, jacc val class 1 0.861970, jacc val 0.749014 took 4.379772 s | | 166 | + | 159 | 167 |
| 160 | 168 | References | 161 | 169 | ++++++++++ | |
|