summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--options/base_options.py2
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index cd79db9..8af6cc0 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,11 @@ In CVPR 2017.
## Getting Started
### Installation
- Install PyTorch and dependencies from http://pytorch.org/
-- Install python libraries [dominate](https://github.com/Knio/dominate) and [visdom](https://github.com/facebookresearch/visdom) (optional).
+- Install python libraries [visdom](https://github.com/facebookresearch/visdom) and [dominate](https://github.com/Knio/dominate).
+```bash
+pip install visdom
+pip install dominate
+```
- Clone this repo:
```bash
git clone https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix
diff --git a/options/base_options.py b/options/base_options.py
index b241639..ec0f439 100644
--- a/options/base_options.py
+++ b/options/base_options.py
@@ -32,7 +32,7 @@ class BaseOptions():
self.parser.add_argument('--norm', type=str, default='batch', help='batch normalization or instance normalization')
self.parser.add_argument('--serial_batches', action='store_true', help='if true, takes images in order to make batches, otherwise takes them randomly')
self.parser.add_argument('--display_winsize', type=int, default=256, help='display window size')
- self.parser.add_argument('--display_id', type=int, default=0, help='window id of the web display')
+ self.parser.add_argument('--display_id', type=int, default=1, help='window id of the web display')
self.parser.add_argument('--identity', type=float, default=0.0, help='use identity mapping. Setting identity other than 1 has an effect of scaling the weight of the identity mapping loss. For example, if the weight of the identity loss should be 10 times smaller than the weight of the reconstruction loss, please set optidentity = 0.1')
self.initialized = True