我用的别人的代码是TensorFlow1.4.0版本的,安装TensorFlow1.4.0版本后,代码跑到restore报错 At least two variables have the same name。
解决方案:
参照:https://github.com/tensorforce/tensorforce/issues/262的解决方案,我用conda search tensorflow-gpu,找出所有版本,没有1.4.0-rc1。
尝试安装TensorFlow1.6.0和1.4.1后,当将TensorFlow版本换到1.4.1后,可以成功启动。