spyder报错 Another metric with the same name already exists.

AlreadyExistsError:Another metric with the same name already exists.
怎么解决 求指教

Tensorflow 在导入过程中构建单例作为副作用。导入两次会导致再次创建单例,这是不受支持的。请不要导入两次

请问解决了吗 怎么做的呀

请问解决了吗?我也是这个问题

出现这个错误的原因是你可能使用了新版的tensorflow,新版的 tensorflow里已经包含了keras,和你现在已安装的keras重复了,要么卸载keras,要么安装低版本的tensorflow与keras配合使用.