提交 7af1ad28 编写于 作者: Z zhangxuefei

update location of log_file.txt

上级 5adf6157
......@@ -63,7 +63,7 @@ class BaseTuningStrategy(object):
self._output_dir = "output_" + time_str
else:
self._output_dir = output_dir
self.writer = SummaryWriter(logdir=self._output_dir + '/tb_paddle')
self.writer = SummaryWriter(logdir=self._output_dir + '/visualization')
@property
def thread(self):
......
......@@ -184,7 +184,7 @@ class AutoFineTuneCommand(BaseCommand):
run_round_cnt = run_round_cnt + 1
print("PaddleHub Autofinetune ends.")
with open("./log_file.txt", "w") as f:
with open(autoft._output_dir + "/log_file.txt", "w") as f:
best_hparams = evaluator.convert_params(autoft.get_best_hparams())
print("The final best hyperparameters:")
f.write("The final best hyperparameters:\n")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册