复现LGCN代码时遇到的各种问题总结1

1. tf 版本过高,通过加上compat.v1得到修改

2.AttributeError: module 'tensorflow' has no attribute 'placeholder'

        把所有用:

        import tensorflow as tf

        改成:

        import tensorflow.compat.v1 as tf

        tf.disable_v2_behavior()

        继续报错。。。

3.很烦躁,觉得没有找到问题的实质,现在打算连接远程服务器用docker里面的tf1.几的版本尝试    一下。

        连不上了。。。试图打开管道不存在。。。

        解决VS code报错,过程试图写入的管道不存在(Bad owner or permissions on C:\\Users\\Administrator/.ssh/config)_IT_Holmes的博客-CSDN博客

        照着来了一遍还是不行

4.尝试一种很不想的办法,卸载2.6版本的Tf,重新装一个1.15版本的。。。

        (实际上可以用本地docker,但是docker打不开,错误也很神奇,晕死。)

        服了,卸载了装不了旧的

RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.

·        额,大概意思是官方把pip search这个功能关了,因为用的人太多了。。。

5.Tensorflow 1.15 doesn't exists within pip install · Issue #34302 · tensorflow/tensorflow · GitHub

    找到了一个官方github 的issue,看了一圈也没能解决问题。(心态要崩了)

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值