问答交流

报错

由bq30zy4n创建,最终由bq30zy4n 被浏览 25 用户

  • /home/aiuser/.ipython/profile_default/startup/000-aistudio.py:234: DeprecationWarning: This module is deprecated. Please use `from bigdatasource.api import D`.

  • return original_import(name, globals, locals, fromlist, level)

  • /home/aiuser/.ipython/profile_default/startup/000-aistudio.py:234: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working

  • return original_import(name, globals, locals, fromlist, level)

  • /home/aiuser/.ipython/profile_default/startup/000-aistudio.py:234: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

  • return original_import(name, globals, locals, fromlist, level)

  • [2024-06-12 10:36:49.320889] INFO: moduleinvoker:3968328878.py:29:<module> input_features_dai.v6 开始运行..

  • [2024-06-12 10:36:49.610785] INFO: moduleinvoker:3968328878.py:29:<module> 命中缓存

  • [2024-06-12 10:36:49.615464] INFO: moduleinvoker:3968328878.py:29:<module> input_features_dai.v6 运行完成[0.294628s].

  • [2024-06-12 10:36:49.635331] INFO: moduleinvoker:3968328878.py:74:<module> input_features_dai.v6 开始运行..

  • [2024-06-12 10:36:49.666381] INFO: moduleinvoker:3968328878.py:74:<module> 命中缓存

  • [2024-06-12 10:36:49.699354] INFO: moduleinvoker:3968328878.py:74:<module> input_features_dai.v6 运行完成[0.064022s].

  • [2024-06-12 10:36:49.726296] INFO: moduleinvoker:3968328878.py:162:<module> sql_join_2.v1 开始运行..

  • [2024-06-12 10:36:49.752054] INFO: moduleinvoker:3968328878.py:162:<module> 命中缓存

  • [2024-06-12 10:36:49.756318] INFO: moduleinvoker:3968328878.py:162:<module> sql_join_2.v1 运行完成[0.030058s].

  • [2024-06-12 10:36:49.915012] INFO: moduleinvoker:3968328878.py:179:<module> extract_data_dai.v7 开始运行..

  • [2024-06-12 10:36:49.947824] INFO: moduleinvoker:3968328878.py:179:<module> 命中缓存

  • [2024-06-12 10:36:49.952155] INFO: moduleinvoker:3968328878.py:179:<module> extract_data_dai.v7 运行完成[0.037166s].

  • [2024-06-12 10:36:55.435198] INFO: moduleinvoker:3968328878.py:190:<module> stock_ranker_dai_train.v2 开始运行..

  • 2024-06-12 10:36:56 [info ] data loaded: train=(926451, 9), validation=(926451, 9)

  • 2024-06-12 10:36:56 [info ] 数据预处理 ..

  • 2024-06-12 10:36:58 [info ] 特征预处理 ..

  • 2024-06-12 10:36:59 [info ] prepare data: training ..

  • 2024-06-12 10:37:39 [info ] prepare data: validation ..

  • 2024-06-12 10:38:10 [info ] 训练集预处理完成 rows=926451, cols=9

  • 2024-06-12 10:38:10 [info ] 验证集预处理完成 rows=926451, cols=9

  • 2024-06-12 10:38:10 [info ] 预处理特征

  • 2024-06-12 10:38:10 [info ] 开始训练 4d3593c60603491b87b86029e71a5dcc

  • Exception in thread background thread for pid 4435:

  • Traceback (most recent call last):

  • File "/usr/local/python3/lib/python3.8/threading.py", line 932, in _bootstrap_inner

  • self.run()

  • File "/usr/local/python3/lib/python3.8/threading.py", line 870, in run

  • self._target(*self._args, **self._kwargs)

  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 1639, in wrap

  • fn(*rgs, **kwargs)

  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 2641, in background_thread

  • handle_exit_code(exit_code)

  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 2332, in fn

  • return self.command.handle_command_exit_code(exit_code)

  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 826, in handle_command_exit_code

  • raise exc

  • sh.ErrorReturnCode_131:

  • RAN: /bin/wine StockRanker.exe /ini /tmp/4d3593c60603491b87b86029e71a5dcc/features.ini /tr /tmp/4d3593c60603491b87b86029e71a5dcc/training.bin /te /tmp/4d3593c60603491b87b86029e71a5dcc/validation.bin /h /tmp/4d3593c60603491b87b86029e71a5dcc/ranker.ini /l 80 /d 100000 /w 60 /c 1 /r2 123 /ps 80 /t 1 /ap lambdarank /topn 10 /bdp 0.2 /ms 'C:\stockranker\MetaStreamDefinitionList.ini' /shiftedNDCG /cf w /dw /nl /ff 0.6 /sf 1 /vfrac 0 /mb 1025 /gcfe 1 /fcomp 1 /ndcgdiscountbase 1 /ExperimentID 4d3593c60603491b87b86029e71a5dcc /Owner null /graph /graphtv /fg /gains 0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:22:23:24:25:26:27:28:29:30:31:32:33:34:35:36:37:38:39 /sfrac 0.0

  • STDOUT:

  • STDERR:

  • You must install .NET to run this application.

  • App: C:\stockranker\StockRanker.exe

  • Architecture: x64

  • App host version: 8.0.4

  • .NET location: Not found

  • Learn more:

  • https://aka.ms/dotnet/app-launch-failed

  • Download the .NET runtime:

  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win8&apphost_version=8.0.4

  • 0034:err:eventlog:ReportEventW L"Description: A .NET application failed.\nApplication: StockRanker.exe\nPath: C:\\stockranker\\StockRanker.exe\nMessage: You must install .NET to run this application.\n\nApp: C:\\stockranker\\StockRanker.exe\nArchitecture: x64\nApp host version: 8.0.4\n.NET location: Not found\n\nLearn more:\nhttps:/"...

  • [2024-06-12 10:38:17.316628] ERROR: moduleinvoker:3968328878.py:190:<module> module name: stock_ranker_dai_train, module version: v2, trackeback: sh.ErrorReturnCode_131:

  • RAN: /bin/wine StockRanker.exe /ini /tmp/4d3593c60603491b87b86029e71a5dcc/features.ini /tr /tmp/4d3593c60603491b87b86029e71a5dcc/training.bin /te /tmp/4d3593c60603491b87b86029e71a5dcc/validation.bin /h /tmp/4d3593c60603491b87b86029e71a5dcc/ranker.ini /l 80 /d 100000 /w 60 /c 1 /r2 123 /ps 80 /t 1 /ap lambdarank /topn 10 /bdp 0.2 /ms 'C:\stockranker\MetaStreamDefinitionList.ini' /shiftedNDCG /cf w /dw /nl /ff 0.6 /sf 1 /vfrac 0 /mb 1025 /gcfe 1 /fcomp 1 /ndcgdiscountbase 1 /ExperimentID 4d3593c60603491b87b86029e71a5dcc /Owner null /graph /graphtv /fg /gains 0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:22:23:24:25:26:27:28:29:30:31:32:33:34:35:36:37:38:39 /sfrac 0.0

  • STDOUT:

  • STDERR:

  • You must install .NET to run this application.

  • App: C:\stockranker\StockRanker.exe

  • Architecture: x64

  • App host version: 8.0.4

  • .NET location: Not found

  • Learn more:

  • https://aka.ms/dotnet/app-launch-failed

  • Download the .NET runtime:

  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win8&apphost_version=8.0.4

  • 0034:err:eventlog:ReportEventW L"Description: A .NET application failed.\nApplication: StockRanker.exe\nPath: C:\\stockranker\\StockRanker.exe\nMessage: You must install .NET to run this application.\n\nApp: C:\\stockranker\\StockRanker.exe\nArchitecture: x64\nApp host version: 8.0.4\n.NET location: Not found\n\nLearn more:\nhttps:/"...

  • Output exceeds the size limit. Open the full output data in a text editor

    --------------------------------------------------------------------------- ErrorReturnCode_131 Traceback (most recent call last) Cell In[1], line 190 179 m4 = M.extract_data_dai.v7( 180 sql=m3.data, 181 start_date='2013-01-01', (...) 186 debug=False 187 ) 189 # @module(position="-452,21", comment='', comment_collapsed=True) --> 190 m11 = M.stock_ranker_dai_train.v2( 191 data=m4.data, 192 validation_ds=m4.data, 193 learning_algorithm='排序', 194 number_of_leaves=80, 195 min_docs_per_leaf=100000, 196 number_of_trees=60, 197 learning_rate=1, 198 max_bins=1023, 199 feature_fraction=0.6, 200 data_row_fraction=1, 201 plot_charts=True, 202 ndcg_discount_base=1 203 ) 204 # </aistudiograph> File module2/common/modulemanagerv2.py:88, in biglearning.module2.common.modulemanagerv2.BigQuantModuleVersion.call() File module2/common/moduleinvoker.py:370, in biglearning.module2.common.moduleinvoker.module_invoke() File module2/common/moduleinvoker.py:292, in biglearning.module2.common.moduleinvoker._invoke_with_cache() File module2/common/moduleinvoker.py:253, in biglearning.module2.common.moduleinvoker._invoke_with_cache() File module2/common/moduleinvoker.py:210, in biglearning.module2.common.moduleinvoker._module_run() File /var/app/data/custom_module/publicmodules/stock_ranker_dai_train/v2/init.py:958, in run(data, validation_ds, learning_algorithm, number_of_leaves, min_docs_per_leaf, number_of_trees, learning_rate, max_bins, feature_fraction, data_row_fraction, plot_charts, ndcg_discount_base, base_model) 956 validation_data = validation_ds.read() if validation_ds is not None else None 957 logger.info(f"data loaded: train={data.shape}, validation={validation_data.shape if validation_data is not None else None}") --> 958 result = train( 959 features=None, 960 data=data, 961 validation_data=validation_data, 962 learning_algorithm=learning_algorithm, 963 learning_rate=learning_rate, 964 max_bins=max_bins,

    ...

    You must install .NET to run this application. App: [C:\stockranker\StockRanker.exe](file:///C:/stockranker/StockRanker.exe) Architecture: x64 App host version: 8.0.4 .NET location: Not found Learn more: https://aka.ms/dotnet/app-launch-failed Download the .NET runtime: https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win8&apphost_version=8.0.4 0034:err:eventlog:ReportEventW L"Description: A .NET application failed.\nApplication: StockRanker.exe\nPath: [C:\\stockranker\\StockRanker.exe\nMessage](file:///C://stockranker//StockRanker.exe/nMessage): You must install .NET to run this application.\n\nApp: [C:\\stockranker\\StockRanker.exe\nArchitecture](file:///C://stockranker//StockRanker.exe/nArchitecture): x64\nApp host version: 8.0.4\n.NET location: Not found\n\nLearn mor[e:\nhttps](file:///E:/nhttps):/"...

\

标签

Python
评论
  • 没有用啊
  • undefined
  • 重启试一下呢
  • 如果还没解决的话,方便把你链接发我们一下呢,我们排查下
{link}