ValueError: Expect x to not have duplicates

File "D:\software\miniconda\envs\gan\lib\site-packages\scipy\interpolate\_interpolate.py", line 616, in init

self._spline = make_interp_spline(xx, yy, k=order,

File "D:\software\miniconda\envs\gan\lib\site-packages\scipy\interpolate\_bsplines.py", line 1293, in make_interp_spline

raise ValueError("Expect x to not have duplicates")

报错原因:scipy版本问题,将1.10.1版本降为1.7.1就可以解决了。

相关推荐
想要打 Acm 的小周同学呀5 分钟前
实现mnist手写数字识别
深度学习·tensorflow·实现mnist手写数字识别
我算是程序猿32 分钟前
用AI做电子萌宠,快速涨粉变现
人工智能·stable diffusion·aigc
萱仔学习自我记录34 分钟前
微调大语言模型——超详细步骤
人工智能·深度学习·机器学习
湘大小菜鸡1 小时前
NLP进阶(一)
人工智能·自然语言处理
XiaoLiuLB1 小时前
最佳语音识别 Whisper-large-v3-turbo 上线,速度更快(本地安装 )
人工智能·whisper·语音识别
哪 吒1 小时前
吊打ChatGPT4o!大学生如何用上原版O1辅助论文写作(附论文教程)
人工智能·ai·自然语言处理·chatgpt·aigc
Eric.Lee20211 小时前
音频文件重采样 - python 实现
人工智能·python·深度学习·算法·audio·音频重采样
大神薯条老师1 小时前
Python从入门到高手5.1节-Python简单数据类型
爬虫·python·深度学习·机器学习·数据分析
爱喝白开水a1 小时前
关于大模型在企业生产环境中的独立部署问题
人工智能·深度学习·llm·大语言模型·ai大模型·计算机技术·本地部署大模型
可惜已不在2 小时前
AI 搜索引擎工具集合
人工智能·ai