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就可以解决了。

相关推荐
vibecoding775 小时前
一文搞懂企业级 API 网关选型:12 个维度、4 类企业、7 步落地
人工智能·大模型·ai编程
Rocktech_ruixun5 小时前
机器人本地跑LLM大模型对主板硬件有什么要求?瑞迅科技RK3588/3568方案选型解析
人工智能·科技·嵌入式硬件·机器人·边缘计算
yxlalm5 小时前
Spring AI+RAG 01-项目背景与技术选型
java·人工智能·spring
tedcloud1235 小时前
Wand-Enhancer 怎么搭建?开源 Wand 客户端增强与远程控制工具介绍
大数据·服务器·人工智能·开源·音视频
科技苑5 小时前
如何用Python编程实现一个简单的Web爬虫?
人工智能·python
迅利科技6 小时前
新能源汽车零部件研发,SIMULIA一站式仿真解决方案如何缩短研发周期
人工智能·汽车
Databuff6 小时前
AI SSH工具,集齐SSH、SFTP、知识库RAG、AI助手
网络·人工智能·ssh
Blockchina6 小时前
从一篇文章到一条完整视频:用 Codex 搭建可复用的 AI 视频生产线
人工智能
Proaiapi7 小时前
一张图介绍gpt-image-2.5
人工智能·gpt
czxxxc7 小时前
当AI开始“动手”:一场从“会说”到“会做”的静默转折
人工智能