GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Results for unet · flury/DeepLearningTutorials@86d6e16

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • code/unet
    • train_unet.py
  • doc
    • unet.txt
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎code/unet/train_unet.py‎

Copy file name to clipboardExpand all lines: code/unet/train_unet.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def main():
386386
parser.add_argument('-batch_size',
387387
type=int,
388388
nargs='+',
389-
default=[5, 1, 1],
389+
default=[5, 5, 1],
390390
help='Batch size [train, val, test]')
391391
parser.add_argument('-data_augmentation',
392392
type=dict,
Collapse file

‎doc/unet.txt‎

Copy file name to clipboardExpand all lines: doc/unet.txt
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ And finally the output path (to obtain *number of classes* feature maps):
156156
:start-after: start-snippet-output
157157
:end-before: end-snippet-output
158158

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+
159167

160168
References
161169
++++++++++

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.