You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I 'm running 1min data ,the script as below, swap mem is 128G, It will be killed by OOM, why?
start time:2020-09-14
end_time: 2021-06-21
and all.txt contains 4067 stocks. I attached all.txt at the end.
I downloaded these 1min data from yahoo by:
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min
I used 8 kernels
how should I configure?
`#! /usr/bin/env python
import os
import qlib
import pandas as pd
from qlib.contrib.data.handler import Alpha158
from qlib.data.dataset import TSDatasetH
from qlib.contrib.model.pytorch_alstm_ts import ALSTM
from qlib.tests.data import GetData
from qlib.constant import REG_CN
from qlib.data import D
from qlib.contrib.report import analysis_model, analysis_position
import multiprocessing
from qlib.utils import exists_qlib_data, init_instance_by_config
from qlib.workflow import R
from qlib.workflow.record_temp import SignalRecord, PortAnaRecord
from qlib.utils import flatten_dict
if name == "main":
multiprocessing.freeze_support()
We think it may be caused by the machine having too little memory, we tried using your code but did not reproduce the problem. You can try it by shortening the training data, or you can try a different machine with more memory.
I 'm running 1min data ,the script as below, swap mem is 128G, It will be killed by OOM, why?
start time:2020-09-14
end_time: 2021-06-21
and all.txt contains 4067 stocks. I attached all.txt at the end.
I downloaded these 1min data from yahoo by:
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min
I used 8 kernels
how should I configure?
`#! /usr/bin/env python
import os
import qlib
import pandas as pd
from qlib.contrib.data.handler import Alpha158
from qlib.data.dataset import TSDatasetH
from qlib.contrib.model.pytorch_alstm_ts import ALSTM
from qlib.tests.data import GetData
from qlib.constant import REG_CN
from qlib.data import D
from qlib.contrib.report import analysis_model, analysis_position
import multiprocessing
from qlib.utils import exists_qlib_data, init_instance_by_config
from qlib.workflow import R
from qlib.workflow.record_temp import SignalRecord, PortAnaRecord
from qlib.utils import flatten_dict
if name == "main":
multiprocessing.freeze_support()
'''
recorder = R.get_recorder(recorder_id=ba_rid, experiment_name="backtest_analysis")
''' `
all.txt
The text was updated successfully, but these errors were encountered: