排坑
TFATS-AI
NLP大模型从业者,AGI忠实信奉者。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux环境中替换window换行符为linux换行符
一,错误报文:bash: $'\r': command not foundbash: $'\r': command not foundbash: $'\r': command not found/etc/bash.bashrc: line 1: $'return\r': command not found/etc/bash.bashrc: line 2: $'\r': command not found/etc/bash.bashrc: line 7: $'\r': command not fo原创 2021-09-04 14:10:25 · 5189 阅读 · 0 评论 -
排坑:tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This
一,问题描述在使用tensorflow-gpu时,出现下面的错误:tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.[[node seq原创 2021-02-23 11:24:50 · 3729 阅读 · 1 评论 -
排坑:TypeError: handle_get_file_code() got an unexpected keyword argument ‘save_all‘
一,报错现象在安装或更新好spyder后,在运行之前的代码时,可能会出现如下报错信息:This command failed to be executed because an error occurred while trying to get the file code from Spyder's editor. The error was:An exception has occurred, use %tb to see the full traceback.TypeError: handle原创 2020-12-01 10:44:19 · 3008 阅读 · 2 评论 -
排坑:调用python包nltk执行报错:raise LookupError(resource_not_found)
一,使用pip安装NLTKsudo pip install nltk>>> import nltk#没有报错即安装成功二,解决报错使用过程中,报错;错误代码为: raise LookupError(resource_not_found)LookupError: 解决报错:nltk.download()三,解决下载过程中出现“[ERRNO 61] CONNECTION REFUSED”问题1,下载nltk_data1)下载链接如下:http://ww原创 2020-09-11 11:52:12 · 1739 阅读 · 0 评论
分享