环境调试和BUG解决
解决linux和conda等环境配置问题。包含部分BUG的调试方法
yscript
这个作者很懒,什么都没留下…
展开
-
BUG解决:RuntimeError: CUDA error: device-side assert triggered
BUG解决:RuntimeError: CUDA error: device-side assert triggered. 可能是类别不对等造成。原创 2024-07-10 08:38:27 · 352 阅读 · 0 评论 -
BUG解决:ImportError: cannot import name ‘_LinearWithBias‘ from ‘torch.nn.modules.linear‘
BUG解决:ImportError: cannot import name '_LinearWithBias' from 'torch.nn.modules.linear'原创 2024-06-05 11:26:45 · 218 阅读 · 0 评论 -
BUG:self._fh.write(image, **kwargs) TypeError: write() got an unexpected keyword argument ‘fps‘
解决TypeError: write() got an unexpected keyword argument 'fps'的BUG原创 2024-05-29 09:02:25 · 272 阅读 · 0 评论 -
BUG解决:Couldn‘t install vscode server on remote server, install script returned non-zero exit status
BUG解决:Couldn't install vscode server on remote server, install script returned non-zero exit status原创 2024-05-09 16:07:29 · 209 阅读 · 0 评论 -
BUG:conda: command not found解决方法
conda: command not found解决方法原创 2024-05-09 15:53:13 · 294 阅读 · 0 评论 -
diffusion-Med生成所需环境配置记录
diffusion-Med容易出问题的是pytorch-lightning等的包的配置。原创 2024-04-22 11:10:09 · 134 阅读 · 0 评论 -
vscode在python-Debug种使用conda虚拟环境的解释器,以及args的配置。
Vscode在python-Debug种使用conda虚拟环境的解释器,以及args的配置。原创 2024-03-26 15:37:47 · 612 阅读 · 0 评论 -
使用hfd工具快速下载huggingface模型权重-应该是目前最快的
之前的文章讲过,因为某些原因下载huggingface模型权重太慢。之前提到过三种方法,这里介绍第四种。原创 2024-03-26 15:28:28 · 1415 阅读 · 2 评论 -
torch.distributed.DistNetworkError: The server socket has failed to listen on any local network...
pytorch-lightning DDP端口报错。原创 2024-03-26 15:09:34 · 1337 阅读 · 0 评论 -
大模型下载报错:aria2c/git-lfs is not installed, Please install it first.
大模型下载报错:aria2c/git-lfs is not installed, Please install it first.原创 2024-03-19 11:15:38 · 1905 阅读 · 0 评论 -
服务器SSH连不上并报错:Error connecting to agent: No such file or directory
服务器SSH连不上并报错:Error connecting to agent: No such file or directory原创 2024-03-13 17:56:04 · 614 阅读 · 0 评论 -
取消默认进入conda的base环境
取消默认进入conda的base环境原创 2024-01-23 23:58:09 · 692 阅读 · 0 评论 -
命令行终端查看当前目录下子文件和子文件夹数量
命令行查看当前目录下子文件和子文件夹数量原创 2023-12-29 13:41:29 · 527 阅读 · 0 评论 -
解决BUG:return yaml.load(stream) TypeError: load() missing 1 required positional argument: ‘Loader‘
解决了yaml的一个BUG:yaml.load(stream)TypeError: load() missing 1 required positional argument: 'Loader'原创 2023-12-16 20:52:58 · 174 阅读 · 0 评论 -
解决BUG:ModuleNotFoundError: No module named ‘hydra.utils‘; ‘hydra‘ is not a package
解决BUG:ModuleNotFoundError: No module named 'hydra.utils'; 'hydra' is not a package原创 2023-12-16 20:33:09 · 920 阅读 · 0 评论 -
linux系统解决huggingface下载缓存不够的问题
在linux系统解决huggingface下载缓存不够的问题原创 2023-12-16 20:06:33 · 506 阅读 · 0 评论 -
解决huggingface模型权重无法下载的问题
解决下载huggingface模型权重无法下载的问题原创 2023-12-15 22:19:25 · 2406 阅读 · 1 评论 -
解决windows11下SSH不能连接远端服务器-Permission denied (publickey)-Permissions for ‘xxx‘ are too open-管道不存在等问题
使用VScode时,解决windows11下SSH不能连接远端服务器-Permission denied (publickey)-Permissions for 'xxx' are too open-管道不存在等问题。原创 2023-10-18 13:08:22 · 3152 阅读 · 0 评论 -
PiCO调BUG记录:偏标记学习-PiCO: Contrastive Label Disambiguation for Partial Label Learning
PiCO调BUG记录,文章为偏标记学习领域(PiCO: Contrastive Label Disambiguation for Partial Label Learning)原创 2023-10-16 10:32:55 · 174 阅读 · 0 评论 -
在较新版pycharm中使用conda虚拟环境的两种方法-保姆级教程
详细介绍在较新版pycharm中使用conda虚拟环境的两种方法。原创 2023-07-13 11:14:12 · 15692 阅读 · 5 评论 -
论文代码复现-较早版本环境配置:CUDA10.0-Pytorch1.2.0-Tensorflow-gpu==1.13.2
复现GAN领域多篇论文代码时,由于服务器较为老旧,在低配置下,分别成功配置了Pytorch和Tensorflow-gpu环境。原创 2023-04-22 19:34:44 · 355 阅读 · 0 评论 -
解决BUG:from einops import pack ImportError: cannot import name ‘pack‘
成功解决BUG:from einops import pack ImportError: cannot import name 'pack'。原因为python版本或einops 版本不匹配。原创 2023-05-03 19:22:50 · 2034 阅读 · 0 评论 -
解决vgg模型无法使用:RuntimeError: unexpected EOF, expected xxx more bytes. The file might be corrupted.
因为网络或磁盘问题导致vgg模型错误,解决的方法就是删除重装。原创 2023-03-18 14:35:27 · 1526 阅读 · 0 评论