当前位置:网站首页>tensorflow和numpy对应的版本,报FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecate
tensorflow和numpy对应的版本,报FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecate
2022-08-09 10:42:00 【模糊包】
Tensorflow
与numpy
的版本兼容性
大家可以留言使用正常的
version
,我可以加进表格目前我摸索、网友提供的有如下:
tensorflow | numpy | cuda | cudnn |
---|---|---|---|
2.6.0 | 1.19.5 | - | - |
2.0.0 | 1.16.4 | - | - |
1.3.0 | 1.16.2 | - | - |
1.14.0 | 1.16.0 | 10.0 | 7.6.5 |
1.13.1 | 1.16.0 | - | - |
1.12.0 | 1.15.4 | - | - |
1.8.0 | 1.14.5 | - | - |
- 更改
numpy
版本方法:
pip install -U -i https://pypi.tuna.tsinghua.edu.cn/simple numpy==版本
# -U 是重装
# -i https://pypi.tuna.tsinghua.edu.cn/simple 是使用清华镜像
- 一般
numpy
版本和tensorflow
版本不对应反应的报错主要是FutureWarning
,如下报错例子:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy,xxxxx....... -------(后面都省略,都是类似的报错,还很长)-------
边栏推荐
猜你喜欢
随机推荐
【原创】VMware Workstation实现Openwrt软路由功能,非ESXI,内容非常详细!
面试官:MySQL 中 update 更新,数据与原数据相同时会执行吗?大部分人答不上来!
判断一段文字的width
unix环境编程 第十五章 15.3 函数popen和pclose
Qt 国际化翻译
15.8 the semaphore Unix environment programming chapter 15
1002 写出这个数 (20 分)
编解码(seq2seq)+注意机制(attention) 详细讲解
相伴成长,彼此成就 用友U9 cloud做好制造业数智化升级的同路人
学习NET-SNMP之二-----------VisualStudio编译Net-SNMP
hover内部指定子类的样式
实测办公场景下,国产远程控制软件的表现力如何?(技术解析)
使用.NET简单实现一个Redis的高性能克隆版(四、五)
2022强网杯WP
深度学习--自编码器(AutoEncoder)
UNIX Environment Programming Chapter 15 15.6 XSI IPC
非科班毕业生,五面阿里:四轮技术面+HR一面已拿offer
Unix Environment Programming Chapter 15 15.9 Shared Storage
想了解API接口,这一篇就够了
壁纸