- 博客(80)
- 收藏
- 关注
原创 2024-pip install torch为CPU版本,GPU没有被使用的解决方法(windows和linux均适用)
2024-pip install torch为CPU版本,GPU没有被使用的解决方法
2024-09-03 17:36:31 405
原创 BUG解决:RuntimeError: CUDA error: device-side assert triggered
BUG解决:RuntimeError: CUDA error: device-side assert triggered. 可能是类别不对等造成。
2024-07-10 08:38:27 496
原创 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 284
原创 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 446
原创 linux下用命令行统计一个文件夹里的所有文件数量(包括子文件)或文件夹数量
linux下用命令行统计一个文件夹里的所有文件数量(包括子文件)或文件夹数量
2024-05-18 15:35:39 453
原创 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 254
原创 把一个文件夹里的图片按照比例切分成train和test数据,分别放入两个文件夹
把一个文件夹里的图片按照比例切分成train和test数据,分别放入两个文件夹
2024-04-29 12:21:43 170 1
原创 数据构建-把所有文件夹切分成train,val,test
训练数据是文件夹数据(比如3DMRI医学图像),一个文件夹视为一个训练数据,需要把所有文件夹(而非文件)切分成train,val,test
2024-04-22 11:01:14 354
原创 vscode在python-Debug种使用conda虚拟环境的解释器,以及args的配置。
Vscode在python-Debug种使用conda虚拟环境的解释器,以及args的配置。
2024-03-26 15:37:47 735
原创 使用hfd工具快速下载huggingface模型权重-应该是目前最快的
之前的文章讲过,因为某些原因下载huggingface模型权重太慢。之前提到过三种方法,这里介绍第四种。
2024-03-26 15:28:28 2493 2
原创 torch.distributed.DistNetworkError: The server socket has failed to listen on any local network...
pytorch-lightning DDP端口报错。
2024-03-26 15:09:34 1838
原创 大模型下载报错: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 2996
原创 服务器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 770
原创 解决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 199
原创 解决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 1329
原创 解决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 4080
原创 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 208
原创 报错解决:RuntimeError: expected scalar type Long but found Float
报错解决:RuntimeError: expected scalar type Long but found Float.发现是数据类型不匹配导致的。
2023-09-07 21:42:55 455
原创 matlab几种求解器的选择fsolve-sole-vpasolve
关于matlab求解器的选择-fsolve等。发现求数值解方面fsolve似乎更好。
2023-09-07 21:33:37 1210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人