File size: 341 Bytes
3894c45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import munch


def TrainOptions():
    to = munch.Munch()
    # Iterations
    to.total_iterations = 30000000

    # Save checkpoint every x iters
    to.save_latest_freq = 35000

    # Save checkpoint every x epochs
    to.save_epoch_freq = 5

    # Adam settings
    to.beta1 = 0.5

    # gan type
    to.gan_mode = 'lsgan'

    return to