This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################################################################################################################### | |
# | |
# 说明: | |
# 无论单机版本还是分布式版本,请使用本脚本启动您的程序。本脚本默认项目具有一个run.py的主入口。 | |
# 脚本通过用户输入的参数确认执行本地版还是AFO版本。脚本默认从conf文件夹内加载配置。 | |
# * 对于local(默认)模式,从local_settings中以及hyper_params文件夹中抽取程序运行参数,抽取后输送给run.py执行 | |
# * 对于afo模式,加载afo_settings.xml文件,并将hyper_params中指定的超参配置添加入afo_settings.xml,传递给 | |
# afo进行执行 |
OlderNewer