深度学习踩坑笔记:载入内存,数据分配与重启问题,安装R

1、InternalError: Failed copying input tensor from /job:localhost/replica:0/task:0/device:CPU:0 to /job:localhost/replica:0/task:0/device:GPU:0 in order to run _EagerConst: Dst tensor is not initialized.

同事都载入内存了,内存爆了。

2、‘Rectangle’ object has no property ‘normed’
把代码中 normed这个属性换成density,再加一个属性stacked=True

3、ValueError: If using all scalar values, you must pass an index
解决:sns.kdeplot(data=data,x=‘x’,y=‘y’)
4、No module named ‘mpl_toolkits.basemap’
pip install basemap

5、NameError: name ‘datetime’ is not defined
解决 from datetime import datetime

6、FutureWarning: The feature names should match those that were passed during fit. Starting version 1.2, an error will be raised.
Feature names seen at fit time, yet now missing:

  • weather_4
    注意是否匹配,看下数据集搞错没

7、pip老是出现url的问题
如果是配置好了镜像源,那么重启电脑即可解决

8、iris_train.csv下载链接
http://download.tensorflow.org/data/iris_training.csv

9、‘DataFrame’ object has no attribute ‘ix’

R语言
linux
深度学习踩坑笔记:载入内存,数据分配与重启问题,安装R_第1张图片
深度学习踩坑笔记:载入内存,数据分配与重启问题,安装R_第2张图片
先安装

sudo apt-get install libmariadb-client-lgpl-dev

不光是R的依赖,还顺便解决其他所有依赖 用apt-get

devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()

深度学习踩坑笔记:载入内存,数据分配与重启问题,安装R_第3张图片

你可能感兴趣的:(机器学习,r语言,深度学习,python)