嗨,任何人都可以帮我解决这个错误 [英] Hi, can anyone help me to solve this error
问题描述
错误0085:脚本评估期间发生以下错误,请查看输出日志以获取更多信息:
---------- Python解释器启动错误消息 - --------
$
执行函数时遇到异常:Traceback(最近一次调用最后一次):
文件"C:\\\ t \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\   odfs = mod.azureml_main(* idfs)
文件"C:\ temp \d460b6ef683642a5acb60f3eea992330.py",第23行,在azureml_main中$
  pred = model.predict_proba(dataframe1)
文件"C:\pyhome \lib \site-packages \sklearn\utils\metaestimators.py",第37行,< lambda>
&NBSP; out = lambda * args,** kwargs:self.fn(obj,* args,** kwargs)
文件"C:\ pyhome \lib \site-packages \sklearn \ pipeline.py",第240行,在predict_proba中$
&NBSP; Xt = transform.transform(Xt)
文件"C:\ pyhome \lib \site-packages \sklearn\feature_extraction\text.py",第1037行,在转换中$
&NBSP; X = X * self._idf_diag
文件"C:\pyhome \lib \site-packages \scipy\sparse\base.py",第319行,在__mul__中
&NBSP; return self._mul_sparse_matrix(other)
文件"C:\pyhome \lib \site-packages \scipy\sparse\compressed.py",第478行,在_mul_sparse_matrix中
&NBSP; other = self .__ class __(other) #转换为此格式
文件"C:\pyhome \lib \site-packages \scipy\sparse\compressed.py",第28行,在__init__中
&NBSP;如果arg1.format == self.format并复制:
文件"C:\pyhome \lib \site-packages \scipy\sparse\base.py",第525行,在__getattr__中为
&NBSP;引发AttributeError(attr +"未找到")
AttributeError:找不到格式
返回非零退出代码1的进程
Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Caught exception while executing function: Traceback (most recent call last):
File "C:\server\invokepy.py", line 199, in batch
odfs = mod.azureml_main(*idfs)
File "C:\temp\d460b6ef683642a5acb60f3eea992330.py", line 23, in azureml_main
pred=model.predict_proba(dataframe1)
File "C:\pyhome\lib\site-packages\sklearn\utils\metaestimators.py", line 37, in <lambda>
out = lambda *args, **kwargs: self.fn(obj, *args, **kwargs)
File "C:\pyhome\lib\site-packages\sklearn\pipeline.py", line 240, in predict_proba
Xt = transform.transform(Xt)
File "C:\pyhome\lib\site-packages\sklearn\feature_extraction\text.py", line 1037, in transform
X = X * self._idf_diag
File "C:\pyhome\lib\site-packages\scipy\sparse\base.py", line 319, in __mul__
return self._mul_sparse_matrix(other)
File "C:\pyhome\lib\site-packages\scipy\sparse\compressed.py", line 478, in _mul_sparse_matrix
other = self.__class__(other) # convert to this format
File "C:\pyhome\lib\site-packages\scipy\sparse\compressed.py", line 28, in __init__
if arg1.format == self.format and copy:
File "C:\pyhome\lib\site-packages\scipy\sparse\base.py", line 525, in __getattr__
raise AttributeError(attr + " not found")
AttributeError: format not found
Process returned with non-zero exit code 1
推荐答案
错误0085表示它可能是您正在使用的自定义脚本中的语法错误。您是否还可以检查脚本中所需的所有必需库?
Error 0085 indicates it could be a syntax error in the custom script you are using. Could you also check all the required libraries are imported that are required in the script?
这篇关于嗨,任何人都可以帮我解决这个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!