Janne Hellsten commited on
Commit
7a7a294
1 Parent(s): 7bd6159

Do not require a --seeds argument with --projected_w (#5)

Browse files
Files changed (1) hide show
  1. generate.py +1 -1
generate.py CHANGED
@@ -37,7 +37,7 @@ def num_range(s: str) -> List[int]:
37
  @click.command()
38
  @click.pass_context
39
  @click.option('--network', 'network_pkl', help='Network pickle filename', required=True)
40
- @click.option('--seeds', type=num_range, help='List of random seeds', required=True)
41
  @click.option('--trunc', 'truncation_psi', type=float, help='Truncation psi', default=1, show_default=True)
42
  @click.option('--class', 'class_idx', type=int, help='Class label (unconditional if not specified)')
43
  @click.option('--noise-mode', help='Noise mode', type=click.Choice(['const', 'random', 'none']), default='const', show_default=True)
 
37
  @click.command()
38
  @click.pass_context
39
  @click.option('--network', 'network_pkl', help='Network pickle filename', required=True)
40
+ @click.option('--seeds', type=num_range, help='List of random seeds')
41
  @click.option('--trunc', 'truncation_psi', type=float, help='Truncation psi', default=1, show_default=True)
42
  @click.option('--class', 'class_idx', type=int, help='Class label (unconditional if not specified)')
43
  @click.option('--noise-mode', help='Noise mode', type=click.Choice(['const', 'random', 'none']), default='const', show_default=True)