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