不是路径的问题,是load_model导入失败了。改成from keras.models import load_model试试
有帮助的话,请点采纳该答案~
y = f(x) = a3*x^3 + a2*x^2 + a0
另a3 = 1, a2=-1, a0=-1;得到: