Browse Source

Add comments

master
wchen342 5 years ago
parent
commit
85d4ece789
  1. 10
      src_single/config.py

10
src_single/config.py

@ -3,12 +3,12 @@
class Config(object):
# global options
data_format = 'NCHW'
sn = False
proj_d = False
wgan = False
data_format = 'NCHW' # DO NOT CHANGE THIS
SPECTRAL_NORM_UPDATE_OPS = "spectral_norm_update_ops"
pre_calculated_dist_map = True
sn = False # Whether uses Spectral Normalization(https://arxiv.org/abs/1802.05957)
proj_d = False # Whether uses projection discriminator(https://arxiv.org/abs/1802.05637)
wgan = False # WGAN or DRAGAN(only effective if sn is False)
pre_calculated_dist_map = True # Whether calculate distance maps on the fly
@staticmethod
def set_from_dict(d):

Loading…
Cancel
Save