提交 7901e0b3 编写于 作者: T tangwei12

add trainer.py for examples

上级 4ece6cc5
import yaml
from .. trainer.factory import TrainerFactory
if __name__ == "__main__":
with open('ctr-dnn_train.yaml', 'r') as rb:
global_config = yaml.load(rb.read())
trainer = TrainerFactory.craete(global_config)
trainer.run()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册