提交模拟出错,什么回事?
由xq2019创建,最终由xq2019 被浏览 1 用户
2025-03-03 21:25:42 任务运行开始调度 state=trigger event= e4260c5e-5658-40cc-9fe4-36e2c55468c2 ..
2
2025-03-03 21:25:46 任务运行状态更新 state=scheduled event=20250303 e4260c5e-5658-40cc-9fe4-36e2c55468c2
3
2025-03-03 21:25:50 任务运行状态更新 state=running event=20250303 e4260c5e-5658-40cc-9fe4-36e2c55468c2
4
2025-03-03 21:25:50 [info ] run task_id='e4260c5e-5658-40cc-9fe4-36e2c55468c2' ..
5
2025-03-03 21:25:50 [info ] fetch task e4260c5e-5658-40cc-9fe4-36e2c55468c2 ..
6
2025-03-03 21:25:50 [info ] start e4260c5e-5658-40cc-9fe4-36e2c55468c2.ipynb ..
7
0.00s - Debugger warning: It seems that frozen modules are being used, which may
8
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
9
0.00s - to python to disable frozen modules.
10
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
11
0.00s - Debugger warning: It seems that frozen modules are being used, which may
12
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
13
0.00s - to python to disable frozen modules.
14
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
15
[2025-03-03 21:25:51] [info ] cn_stock_basic_selector.v8 开始运行 ..
16
[2025-03-03 21:25:52] [info ] cn_stock_basic_selector.v8 运行完成 [0.933s].
17
[2025-03-03 21:25:52] [info ] input_features_dai.v30 开始运行 ..
18
[2025-03-03 21:25:52] [info ] expr mode
19
[2025-03-03 21:25:52] [info ] input_features_dai.v30 运行完成 [0.073s].
20
[2025-03-03 21:25:52] [info ] input_features_dai.v30 开始运行 ..
21
[2025-03-03 21:25:52] [info ] expr mode
22
[2025-03-03 21:25:52] [info ] input_features_dai.v30 运行完成 [0.061s].
23
[2025-03-03 21:25:52] [info ] extract_data_dai.v18 开始运行 ..
24
[2025-03-03 21:25:53] [warning ] start_date='2025-03-03', end_date='2025-03-03', query_start_date='2024-12-03 00:00:00' (支持加速 [url="command:switch-quota"]升级资源[/url]) ..
25
[2025-03-03 21:25:55] [info ] data extracted: (0, 11)
26
[2025-03-03 21:25:55] [warning ] data extracted: 0 rows
27
[2025-03-03 21:25:55] [info ] extract_data_dai.v18 运行完成 [2.699s].
28
[2025-03-03 21:25:55] [info ] stock_ranker_dai_train.v9 开始运行 ..
29
[2025-03-03 21:25:55] [info ] data loaded: train=(0, 11), validation=None
30
[2025-03-03 21:25:55] [info ] 数据预处理 ..
31
[2025-03-03 21:25:55] [info ] 特征预处理 ..
32
2025-03-03 21:25:56 任务运行状态更新 state=failed event=20250303 e4260c5e-5658-40cc-9fe4-36e2c55468c2
33
Traceback (most recent call last):
34
File "/var/app/enabled/aiflowtaskrun.py", line 199, in <module>
35
run(run_id=sys.argv[1], task_id=sys.argv[2], event_name=sys.argv[3], dry_run=sys.argv[4])
36
File "/var/app/enabled/aiflowtaskrun.py", line 194, in run
37
raise ex from ex
38
File "/var/app/enabled/aiflowtaskrun.py", line 181, in run
39
do_run(task_id, event_name)
40
File "/var/app/enabled/aiflowtaskrun.py", line 146, in do_run
41
pm.execute_notebook(
42
File "/opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/papermill/execute.py", line 134, in execute_notebook
43
raise_for_execution_errors(nb, output_path)
44
File "/opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/papermill/execute.py", line 241, in raise_for_execution_errors
45
raise error
46
papermill.exceptions.PapermillExecutionError:
47
---------------------------------------------------------------------------
48
Exception encountered at "In [1]":
49
---------------------------------------------------------------------------
50
Exception Traceback (most recent call last)
51
Cell In[1], line 191
52
177 m3 = M.extract_data_dai.v18(
53
178 sql=m1.data,
54
179 start_date="""2010-01-01""",
55
(...)
56
187 m_name="""m3"""
57
188 )
58
190 # @module(position="-386,-549", comment="""""", comment_collapsed=True)
59
--> 191 m5 = M.stock_ranker_dai_train.v9(
60
192 data=m3.data,
61
193 learning_algorithm="""排序""",
62
194 number_of_leaves=20,
63
195 min_docs_per_leaf=1224,
64
196 number_of_trees=30,
65
197 learning_rate=0.5,
66
198 max_bins=1200,
67
199 feature_fraction=1,
68
200 data_row_fraction=1,
69
201 plot_charts=True,
70
202 ndcg_discount_base=1,
71
203 m_cached=False,
72
204 m_name="""m5"""
73
205 )
74
207 # @module(position="-209,-689", comment="""抽取预测数据""")
75
208 m4 = M.extract_data_dai.v18(
76
209 sql=m2.data,
77
210 start_date="""2020-01-01""",
78
(...)
79
218 m_name="""m4"""
80
219 )
81
82
File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/modules.py:28, in call(self, **kwargs)
83
84
File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:203, in module_invoke(name, version, kwargs)
85
86
File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:169, in _module_invoke(name, version, kwargs)
87
88
File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:41, in _module_run(module, kwargs)
89
90
File dist/build/stock_ranker_dai_train/v9/init.py:66, in v9.run()
91
92
File dist/build/stock_ranker_dai_train/v9/utils.py:939, in v9.utils.train()
93
94
File dist/build/stock_ranker_dai_train/v9/utils.py:748, in v9.utils.train._train()
95
96
File dist/build/stock_ranker_dai_train/v9/utils.py:586, in v9.utils.train.df_to_bin()
97
98
Exception: 数据 training 为空,请检查输入数据
99
\n