def _wait_running_commands(self):
for search_index, running_command in self.running_commands:
training_label = self.training_label(search_index)
logging('Waiting {} to finish..'.format(training_label))
try:
running_command.wait()
except sh.ErrorReturnCode as e:
logging('{} returned a non-zero code!'.format(training_label))
except:
traceback.print_exc(file=sys.stderr)
hyperparam_search.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录