tf.app.flags.DEFINE_string('train_dir', '/tmp/dcgan_train',
"""Directory where to write event logs """
"""and checkpoint.""")
tf.app.flags.DEFINE_integer('max_steps', 100000,
"""Number of batches to run.""")
tf.app.flags.DEFINE_boolean('log_device_placement', False,
"""Whether to log device placement.""")
tf.app.flags.DEFINE_string("working_directory", "working_dir", "")
tf.app.flags.DEFINE_string("checkpoint_dir", "checkpoints", ""
我遇到了上面的代码,我想使用,但是我不明白应该用什么代替“'train_dir','/ tmp / dcgan_train” 是文件,命令还是其他?