original_docstring: Add new dataset-specific options, and rewrite default values for existing options.
  
          Parameters:
              parser          -- original option parser
              is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options.
  
          Returns:
              the modified parser.
          
docstring: Add new dataset-specific options, and rewrite default values for existing options.
  Parameters:
  parser          -- original option parser
  is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options.
  
  the modified parser.
docstring_tokens: Add new dataset - specific options and rewrite default values for existing options . Parameters : parser -- original option parser is_train ( bool ) -- whether training phase or test phase . You can use this flag to add training - specific or test - specific options . the modified parser .
code: def modify_commandline_options(parser, is_train=True):
          """Add new dataset-specific options, and rewrite default values for existing options.
  
          Parameters:
              parser          -- original option parser
              is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options.
  
          Returns:
              the modified parser.
          """
          # changing the default values to match our design.
          parser.set_defaults(norm='batch', dataset_mode='aligned')
          if is_train:
              parser.set_defaults(pool_size=0, gan_mode='vanilla')
              parser.add_argument('--lambda_L1', type=float, default=100.0, help='weight for L1 loss')
          return parser
code_tokens: def modify_commandline_options ( parser , is_train = True ) : parser . set_defaults ( norm = 'batch' , dataset_mode = 'aligned' ) if is_train : parser . set_defaults ( pool_size = 0 , gan_mode = 'vanilla' ) parser . add_argument ( '--lambda_L1' , type = float , default = 100.0 , help = 'weight for L1 loss' ) return parser
short_docstring: Add new dataset-specific options, and rewrite default values for existing options.
short_docstring_tokens: Add new dataset - specific options and rewrite default values for existing options .
comment: """Add new dataset-specific options, and rewrite default values for existing options.
  
          Parameters:
              parser          -- original option parser
              is_train (bool) -- whether training phase or test phase. You can use this flag to add training-specific or test-specific options.
  
          Returns:
              the modified parser.
          """$SEP$# changing the default values to match our design.
  