logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

linux-Ubuntu系统下,tf无法使用gpu加速,如Could not load dynamic library ‘libcudart.so.10.1‘等问题

如何解决tensorflow2版本无法使用cuda-gpu加速的情况,如Could not load dynamic library 'libcudart.so.10.1' 等问题场景描述版本环境:测试脚本返回错误报告尝试解决方法:1. 重新安装 cuda 和 cuda驱动2. 不重装解决策略- step1. 找到报错提示:并且发现之前安装cuda的默认路径,进入该路径内,在界面中输入:- ste

#linux#ubuntu#tensorflow
数据类型报错 : ValueError: Failed to find data adapter that can handle input

数据类型报错 : ValueError: Failed to find data adapter that can handle input 错误展示报错解决错误展示ValueError: Failed to find data adapter that can handle input: (<class ‘list’> containing values of types {"&lt

#python#keras#代码规范
linux-Ubuntu系统下,tf无法使用gpu加速,如Could not load dynamic library ‘libcudart.so.10.1‘等问题

如何解决tensorflow2版本无法使用cuda-gpu加速的情况,如Could not load dynamic library 'libcudart.so.10.1' 等问题场景描述版本环境:测试脚本返回错误报告尝试解决方法:1. 重新安装 cuda 和 cuda驱动2. 不重装解决策略- step1. 找到报错提示:并且发现之前安装cuda的默认路径,进入该路径内,在界面中输入:- ste

#linux#ubuntu#tensorflow
matlab 中的 yalmip安装方法

matlab 中的 yalmip安装方法

#matlab#开发语言
代码错误记录:TypeError: dropout(): argument ‘input‘ (position 1) must be Tensor, not str

TypeError: dropout(): argument 'input' (position 1) must be Tensor, not str 背景解决方法整体代码参考链接背景使用 hugging face 中的 预训练模型 完成文本分类任务的过程中。出现了这个问题。问题排查的过程中,发现这里定义的 cls_layer() 出现问题。问题是数据类型错误,因此需要检查pooler_outpu

#python#nlp#语言模型 +2
pandas中的concat()函数的使用方法

concat函数 作用使用方法pd.concat() 参数的探索作用解决两个表或者多个表按照纵向或者横向拼接。使用方法pd.concat( [df数据1, df数据2, …… ], axis = 0或1, join = 连接方式, keys = 表明数据来源 )pd.concat() 参数的探索axis 参数axis = 0 (默认) -->表示纵向拼接多个表, 记忆方法:0 代表长长的圈,

#python#pandas#数据分析
pandas文件读取和写入

pandas文件读取pandas文件写入

#python#pandas#大数据
kaggle download api 下载数据集

kaggle download api 下载数据集 步骤步骤安装 kagglepip install kaggle找到 kaggle 上的账户,点击头像,找到 account ,找到 API 选项点击 Create New API Token ,生成了 kaggle.json 文件将 kaggle.json 文件放入到 .kaggle 文件夹中;注意,.kaggle 文件夹可以通过 everyth

#机器学习#深度学习#人工智能
    共 17 条
  • 1
  • 2
  • 请选择