博客
关于我
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/

你可能感兴趣的文章
MySQL主从失败 错误Got fatal error 1236解决方法
查看>>
MySQL主从架构与读写分离实战
查看>>
MySQL主从篇:死磕主从复制中数据同步原理与优化
查看>>
mysql主从配置
查看>>
MySQL之2003-Can‘t connect to MySQL server on ‘localhost‘(10038)的解决办法
查看>>
MySQL之CRUD
查看>>
MySQL之DML
查看>>
Mysql之IN 和 Exists 用法
查看>>
MYSQL之REPLACE INTO和INSERT … ON DUPLICATE KEY UPDATE用法
查看>>
MySQL之SQL语句优化步骤
查看>>
MYSQL之union和order by分析([Err] 1221 - Incorrect usage of UNION and ORDER BY)
查看>>
Mysql之主从复制
查看>>