Refine lib -> xautodl

This commit is contained in:
D-X-Y
2021-05-19 08:20:44 +00:00
parent 1c6c3e7166
commit 129c9e5251
8 changed files with 60 additions and 59 deletions

View File

@@ -6,16 +6,11 @@
# - https://github.com/microsoft/qlib/blob/main/examples/workflow_by_code.py
# python exps/trading/workflow_tt.py --gpu 1 --market csi300
#####################################################
import sys, argparse
from pathlib import Path
import argparse
lib_dir = (Path(__file__).parent / ".." / ".." / "lib").resolve()
if str(lib_dir) not in sys.path:
sys.path.insert(0, str(lib_dir))
from procedures.q_exps import update_gpu
from procedures.q_exps import update_market
from procedures.q_exps import run_exp
from xautodl.procedures.q_exps import update_gpu
from xautodl.procedures.q_exps import update_market
from xautodl.procedures.q_exps import run_exp
import qlib
from qlib.config import C