- 博客(74)
- 收藏
- 关注
原创 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
187
原创 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
238
原创 用命令行统计一个文件夹里的所有文件数量(可能有文件位于子文件夹)linux
用命令行统计一个文件夹里的所有文件数量(可能有文件位于子文件夹)linux
2024-05-18 15:35:39
217
原创 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
178
原创 把一个文件夹里的图片按照比例切分成train和test数据,分别放入两个文件夹
把一个文件夹里的图片按照比例切分成train和test数据,分别放入两个文件夹
2024-04-29 12:21:43
152
1
原创 数据构建-把所有文件夹切分成train,val,test
训练数据是文件夹数据(比如3DMRI医学图像),一个文件夹视为一个训练数据,需要把所有文件夹(而非文件)切分成train,val,test
2024-04-22 11:01:14
319
原创 vscode在python-Debug种使用conda虚拟环境的解释器,以及args的配置。
Vscode在python-Debug种使用conda虚拟环境的解释器,以及args的配置。
2024-03-26 15:37:47
554
原创 使用hfd工具快速下载huggingface模型权重-应该是目前最快的
之前的文章讲过,因为某些原因下载huggingface模型权重太慢。之前提到过三种方法,这里介绍第四种。
2024-03-26 15:28:28
1043
2
原创 torch.distributed.DistNetworkError: The server socket has failed to listen on any local network...
pytorch-lightning DDP端口报错。
2024-03-26 15:09:34
1138
原创 大模型下载报错: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
1487
原创 服务器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
567
原创 解决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
165
原创 解决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
804
原创 解决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
2796
原创 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
167
原创 报错解决:RuntimeError: expected scalar type Long but found Float
报错解决:RuntimeError: expected scalar type Long but found Float.发现是数据类型不匹配导致的。
2023-09-07 21:42:55
414
原创 matlab几种求解器的选择fsolve-sole-vpasolve
关于matlab求解器的选择-fsolve等。发现求数值解方面fsolve似乎更好。
2023-09-07 21:33:37
1076
原创 BUG解决:ValueError: ffplay from ffmpeg not found, necessary to play audio.
解决了ffmpeg找不到或无法安装的bug
2023-07-21 17:16:58
237
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人