python date 发表于 2018-06-Mon | 阅读次数: 123456from datetime import datetimenow = datetime.now()logdir = now.strftime("%Y%m%d-%H%M%S") + "/"self.file_writer = tf.summary.FileWriter(self.config.dir_output + "train-" + logdir, self.sess.graph)self.file_epoch_writer = tf.summary.FileWriter(self.config.dir_output + "test-" + logdir)请作者喝一杯咖啡☕️打赏微信支付