本文共 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 supportednumpy版本过高,conda安装指定版本的numpy,1.19.5即可解决问题
conda search numpyconda install numpy=1.19.5 -c conda-forge
转载地址:http://pazg.baihongyu.com/