Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update qrun to automaticly save the config to the artifacts uri
  • Loading branch information
wuzhe1234 authored Jul 19, 2021
commit 558737a06f6945606e44f809d1bdf7ff84dbb5d8
3 changes: 2 additions & 1 deletion qlib/workflow/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def workflow(config_path, experiment_name="workflow", uri_folder="mlruns"):
exp_manager["kwargs"]["uri"] = "file:" + str(Path(os.getcwd()).resolve() / uri_folder)
qlib.init(**config.get("qlib_init"), exp_manager=exp_manager)

task_train(config.get("task"), experiment_name=experiment_name)
recorder = task_train(config.get("task"), experiment_name=experiment_name)
recorder.save_objects(config=config)


# function to run worklflow by config
Expand Down