博客
关于我
NotImplementedError: Cannot convert a symbolic Tensor报错与解决
阅读量:363 次
发布时间:2019-03-04

本文共 361 字,大约阅读时间需要 1 分钟。

问题

TensorFlow2.4.1(Macbook m1 conda-forge)报错:

NotImplementedError: Cannot convert a symbolic Tensor (sequential/simple_rnn/strided_slice:0) to a numpy array. This error may indicate that you’re trying to pass a Tensor to a NumPy call, which is not supported

解决

numpy版本过高,conda安装指定版本的numpy,1.19.5即可解决问题

conda search numpyconda install numpy=1.19.5 -c conda-forge

转载地址:http://pazg.baihongyu.com/

你可能感兴趣的文章
nginx 1.24.0 安装nginx最新稳定版
查看>>
nginx 301 永久重定向
查看>>
nginx 301跳转
查看>>
nginx 403 forbidden
查看>>
nginx connect 模块安装以及配置
查看>>
nginx css,js合并插件,淘宝nginx合并js,css插件
查看>>
Nginx gateway集群和动态网关
查看>>
nginx http配置说明,逐渐完善。
查看>>
Nginx keepalived一主一从高可用,手把手带你一步一步配置!
查看>>
Nginx Location配置总结
查看>>
Nginx log文件写入失败?log文件权限设置问题
查看>>
Nginx Lua install
查看>>