- 博客(7)
- 收藏
- 关注
原创 解决VSCode中.net无法找到路径问题(mac版本)
需要关注的是其中的第二项“dotnetAcquisitionExtension.existingDotnetPath", 写了两项,两项对应VSCode Extensions中的C#和Unity,path是相同的,是.net在mac上的路径。在VSCode中,打开左侧Extensions栏,点击.NET Install Tool的设置图标,选择Extension Settings。路径是/usr/local/share/dotnet/dotnet,是executable文件。此路径是在mac上的隐藏路径。
2024-01-06 22:13:07
3498
2
原创 完美解决KLatexFormula Can‘t query version of ghostscript located at ‘‘
1. KLatexFormula - Settings中,latex和dvips我用的是texlive,从Latex网站下载。2. ghostscript路径如果填写的是gswin32.exe,会出现以下错误。klatexformula找不到ghostscript路径。下载了klatexformula后,打开D:\KLatexFormula-4.1.0\bin\。ghostscript的路径在gs框内,选择browse浏览填入路径。在步骤1中,下载了ghostscript,打开文件夹。不能运行,提示错误。
2023-09-08 17:45:33
387
1
原创 IndexError: too many indices for tensor of dimension 1 框架中复杂代码环境
1. 尝试 print(wire_post_side),注意:不要 print(wire_post_side[:, :4]),是 取二维tensor的前四列 会报错。当tensor为空时,其dimension小于2,出现了同样的错误:IndexError: too many indices for tensor of dimension 1。表明变量wire_post_side的dimension小于2。在代码环境中,该行反复运行,输入变量wire_post_side的值不断变化。运行代码中出现如下错误。
2023-08-18 11:23:06
3388
1
原创 Could not load library libcudnn_ops_train.so.8 虚拟环境
我所用的虚拟环境是/home/hwy/.conda。运行代码在虚拟环境中找cudnn,而该虚拟环境中没有。用虚拟环境torch,激活虚拟环境torch。顺利训练,不再报错。
2023-07-25 17:49:38
366
原创 cuDNN version incompatibility 查看cuDNN版本 version路径变化
cuDNN版本为(8, 0, 5)。跟cuDNN version incompatibility错误:PyTorch was compiled against (8, 5, 0) but found runtime version (8, 2, 2) 中,提到的版本号一致。显示错误为cuDNN version incompatibility: PyTorch was compiled against (8, 5, 0) but found runtime version (8, 2, 2)。
2023-06-21 16:17:32
1666
2
原创 vscode远程开发 git clone错误 间接解决方法
优快云 AI写作助手上线了!此文对git clone问题提供另一种间接的解决方法。
2023-05-30 16:15:37
1235
1
原创 vscode远程连接 server.sh is being replaced by ‘bin/code-server‘;更改vscode remote ssh版本
在左侧目录Extensions -> 搜索remote ssh -> 设置标签右键Install Another Version...点击左侧目录Remote Explorer,SSH目录下选择ip连接。成功连接后出现以下页面。下载好新版本后,重新加载。选择版本0.102.0。
2023-05-29 16:28:34
537
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人