自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 webui forge报错:AssertionError: Torch is not able to use GPU;跳过GPU检测

webui forge报错:AssertionError: Torch is not able to use GPU。因为自己的torch安装在自己的conda环境里,实在不想用一个整合包又下一个torch,所以直接跳过检测。./webui/modules/launch_utils.py 中 432行。

2024-05-20 20:18:10 359

原创 解决iDEA中不自动补全insert命令

在使用@select()命令时候能正常补全命令。但是@Insert()命令时死活没有

2024-04-18 16:55:40 254

原创 在LDA分析时出现AttributeError: ... object has no attribute ‘get_feature_names‘解决方法

【代码】在LDA分析时出现AttributeError: ... object has no attribute ‘get_feature_names‘解决方法。

2023-11-08 18:22:44 365 2

原创 Overleaf中将Index terms改为keywords

【代码】Overleaf中将Index terms改为keywords。

2023-10-26 15:12:23 287

原创 [解决]one of the variables needed for gradient computation has been modified by an inplace operation:

排查下来是.unsqueeze_导致的,因为想将model输出的每次结果都记录下来所以进行了升维,结果他会直接保存升维后的形状,导致后面出错。实现一样的功能, 区别在于unsqueeze_解决办法:将unsqueeze_()在使用LSTM进行学习时出现。和unsqueeze()

2023-03-30 19:26:24 262

原创 走运解决:Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False.

为了使用Visdom做可视化,所以得用cmd运行.py文件,在Pycharm中CUDA正常。但是我的CUDA是肯定能用的。百般排除无果后,在主函数第一句加上。尝试打印一下它是否可用,结果。Visdom也运行正常了。

2023-03-02 18:23:06 214

原创 visdom 打不开2023新方法

visdom 首次打不开2023新方法

2023-03-02 16:26:26 244

原创 stack expects each tensor to be equal size, but got [3, x, x] at entry 0 and [3, 224, 224] at

transforms 的 Resize不起作用

2022-11-19 21:50:06 591

原创 机器学习时出现 could not convert string to float:‘xxx‘解决方法

新手进行机器学习时出现 could not convert string to float:'xxx'解决方法

2022-10-09 18:37:04 20361 4

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除