From 0a28df3e61e9a8af7184a6e8c5e7404d276dcaad Mon Sep 17 00:00:00 2001 From: Merrin Macleod <merrin.macleod@gmail.com> Date: Tue, 28 Feb 2017 17:34:47 +1300 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8cf9eb7..04334e8 100644 --- a/README.md +++ b/README.md @@ -168,17 +168,6 @@ python pix2pix.py \ In this mode, image A is the black and white image (lightness only), and image B contains the color channels of that image (no lightness information). -### Exporting the model - -You can export the model to be served or uploaded: - -```sh -python pix2pix.py \ - --mode export \ - --output_dir facades_export \ - --checkpoint facades_train -``` - ### Tips You can look at the loss and computation graph using tensorboard: @@ -208,6 +197,17 @@ The test run will output an HTML file at `facades_test/index.html` that shows in <img src="docs/test-html.png" width="300px"/> +## Exporting + +You can export the model to be served or uploaded with `--mode export`. As with testing, you should specify the checkpoint to use with `--checkpoint`. + +```sh +python pix2pix.py \ + --mode export \ + --output_dir facades_export \ + --checkpoint facades_train +``` + ## Code Validation Validation of the code was performed on a Linux machine with a ~1.3 TFLOPS Nvidia GTX 750 Ti GPU and an Azure NC6 instance with a K80 GPU. -- GitLab