\Python37-32\lib\site-packages\numpy\ma\core.py", line 2366, in masked_invalidTypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely
我正在使用statsmodels.api应用向后消除,代码给出了这个错误:‘`TypeError: ufunc 'isfinite’不支持输入类型,并且根据强制转换规则''safe'‘,输入不能被安全地强制为任何支持的类型Python\Python37\lib\site-packages\statsmodels\base\data.py", line 125, in _handle_constant
但是,它向我显示了一个typeError。TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coercedLocal\Continuum\anaconda3\lib\site-packages\numpy\core\numeric.py", line 2521, in isclose<
我需要帮助来运行我的代码,它显示错误:- "TypeError: ufunc 'isfinite‘不支持输入类型,并且根据转换规则’‘safe’‘,输入不能被安全地强制为任何支持的类型。“ 我找到的解决方案很少(statsmodels raises TypeError: ufunc 'isfinite' not supported for the input
我正在尝试一个TF模型,其中输入是字符串张量作为输入,我的模型包含一个用于文本处理的TextVectorization层,该层在TF2.2中可用。W&B回调训练失败,错误如下 TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not323 else:
324 first_edge, last_edge = a.min(), a.m