![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
Toky丶
在读博士生,主要研究方向为医疗机器人的视觉引导,其他例如三维计算机视觉,SLAM,深度学习啥都略懂。
展开
-
解决TensorFlow2.0与1.0版本不兼容的问题,如slim库,contrib,placeholder等。
报错AttributeError: module 'tensorflow' has no attribute 'assign'AttributeError: module 'tensorflow' has no attribute 'variable_scope'等等..走的弯路很多说2.0版本弃用contrib,叫重装低版本tf.slim包不能用还下载了tf-slim 包,链接如下:https://github.com/google-research/...原创 2020-05-17 17:12:40 · 3594 阅读 · 0 评论 -
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
安装tensorflow报这个错,因为未指定tensorflow的版本。解决方案:pip install tensorflow==1.9为了下载的快一点可以加上国内镜像的链接,加在上面这句命令后面。-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com最后成功安装解决下述代码的keras找不到...原创 2019-06-17 21:33:32 · 25479 阅读 · 1 评论