summaryrefslogtreecommitdiff
path: root/options/base_options.py
diff options
context:
space:
mode:
authorjunyanz <junyanz@berkeley.edu>2017-11-04 02:27:18 -0700
committerjunyanz <junyanz@berkeley.edu>2017-11-04 02:27:18 -0700
commit6b8e96c4bbd73a1e1d4e126d795a26fd0dae983c (patch)
tree67072a0442b705b5d5b29840f4b41e13af1d4597 /options/base_options.py
parent5f858eb70a3c110238f74a592bad0e7be601c539 (diff)
add update_html_freq flag
Diffstat (limited to 'options/base_options.py')
-rw-r--r--options/base_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/base_options.py b/options/base_options.py
index b2d5360..28ca673 100644
--- a/options/base_options.py
+++ b/options/base_options.py
@@ -3,6 +3,7 @@ import os
from util import util
import torch
+
class BaseOptions():
def __init__(self):
self.parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
@@ -33,7 +34,6 @@ class BaseOptions():
self.parser.add_argument('--display_winsize', type=int, default=256, help='display window size')
self.parser.add_argument('--display_id', type=int, default=1, help='window id of the web display')
self.parser.add_argument('--display_port', type=int, default=8097, help='visdom port of the web display')
- self.parser.add_argument('--display_single_pane_ncols', type=int, default=0, help='if positive, display all images in a single visdom web panel with certain number of images per row.')
self.parser.add_argument('--no_dropout', action='store_true', help='no dropout for the generator')
self.parser.add_argument('--max_dataset_size', type=int, default=float("inf"), help='Maximum number of samples allowed per dataset. If the dataset directory contains more than max_dataset_size, only a subset is loaded.')
self.parser.add_argument('--resize_or_crop', type=str, default='resize_and_crop', help='scaling and cropping of images at load time [resize_and_crop|crop|scale_width|scale_width_and_crop]')