深度学习踩坑笔记:载入内存,数据分配与重启问题,安装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
先安装
sudo apt-get install libmariadb-client-lgpl-dev
- 1
不光是R的依赖,还顺便解决其他所有依赖 用apt-get
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()
- 1
- 2
文章来源: blog.csdn.net,作者:irrationality,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/weixin_54227557/article/details/126290608
- 点赞
- 收藏
- 关注作者
评论(0)