当前位置:   article > 正文

Neurokit2 警告VisibleDeprecationWarning_neurokit2没反应

neurokit2没反应
  1. 在使用neurokit2时候,会出现如下warning:
 miniconda3/envs/py38/lib/python3.7/site-packages/neurokit2/eda/eda_findpeaks.py:289: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
  scrs = np.array(scrs)
  • 1
  • 2
  1. 解决方案:打开这个package的 eda_findpeaks.py文件,将
 scrs = np.array
    声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/611122
    推荐阅读
    相关标签
      

    闽ICP备14008679号