实验过程中的问题

1.报错:
MemoryError: Unable to allocate 1.77 GiB for an array with shape (90570, 2623) and data type float64
解决1

解决2: python–MemoryError: Unable to allocate array with shape
----> Process finished with exit code 137 (interrupted by signal 9: SIGKILL)


在这里插入图片描述


在这里插入图片描述

在这里插入图片描述

在这里插入图片描述


pip install tensorflow-gpu==1.13.1 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com


在这里插入图片描述

在这里插入图片描述


tf.keras.backend.reshape(x , shape)
将张量重塑为指定的shape。返回张量。

x:张量或变量。
shape:目标shape元组。


tf.keras.backend.shape(x)
返回张量或变量的符号shape。张量。

x:张量或变量。


在这里插入图片描述


版权声明:本文为lee__7原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。