自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 鸿蒙app开发:每天一个小bug:明明添加了animation,动画效果却没有

鸿蒙app开发:每天一个小bug:明明添加了animation,动画效果却没有

2024-02-22 18:09:22 623 1

原创 鸿蒙app开发:每天一个小bug:[Engine Log] can‘t find this page pages The uri of router is not exist

鸿蒙app开发中使用路由完成页面跳转时遇到路径问题

2024-02-07 20:07:33 1579 2

原创 鸿蒙app开发小问题:filter()过滤函数

filter()过滤函数

2024-02-06 21:02:08 811 2

原创 鸿蒙app开发小知识:开发工具的API显示设置

鸿蒙app开发工具中的API显示

2024-02-03 20:24:03 738 2

原创 鸿蒙小知识:Row()样式显示

Row()样式

2024-02-01 20:01:52 384 1

原创 鸿蒙开发:每天一个小bug the size of programs is expected to be 3, but is 2

the size of programs is expected to be 3, but is 2

2024-01-31 20:29:30 2652 1

原创 Only constant XPATH queries are supported

Only constant XPATH queries are supported

2022-11-21 12:55:21 813 1

原创 Pytorch:TypeError: pic should be PIL Image or ndarray. Got <class ‘torch.Tensor‘>

TypeError: pic should be PIL Image or ndarray. Got

2022-11-20 18:41:53 6804

原创 python安装wordcloud错误及解决办法

安装wordcloud错误及解决方法

2022-07-04 19:33:36 653

原创 springboot学习常见错误01

入门级错误

2022-04-04 12:29:55 365

原创 conv2d() received an invalid combination of arguments - got

实战错误:运行该代码无错con=nn.Conv2d(in_channels=3,out_channels=3,kernel_size=(3,3))运行下面出现错误con(img)TypeError: conv2d() received an invalid combination of arguments - got (torch.Size, Parameter, Parameter, tuple, tuple, tuple, int), but expected one of: * (Te

2022-03-12 15:14:07 9370 1

原创 python中大数相除出现精度丢失问题

在我的上一篇文章了,提到了大数相除,数据类型变为float,造成数据丢失,思考了一段时间使用乘法代替除法不出现float即可!但是使用范围不广,可以作为参考思路:n=377112609int(n*(n+1)/2)#结果为:71106960121949744因为除以2 相当于乘以5除以10因此使用乘以5,转换字符串,截取:n=377112609def get(n): sum=n*(n+1)*5 return int(str(sum)[0:-1])get(n)#711069

2022-03-02 14:24:09 1117

原创 Python中int()与浮点数的问题,求解

在使用python求解杨辉三角形时,查出这个问题!int(500000000500000000+2)#500000000500000002然后当使用变量number=1000000000int(number*(number+1)/2)#值为:500000000500000000不清楚为什么,有大神解答一下吗???...

2022-03-01 16:21:55 482

原创 python3.10安装matplotlib错误时

在Termux上,使用python3.10.2安装matplotlib时出现了一系列爆红,头疼找了很多都没有找到可以解决的方法,后来换个思路寻找别人如何安装的,得到解决方法来源链接: Termux安装Python及相关库.是版本问题#使用该命令解决问题pip install matplotlib==3.2.0 相关主要爆红BUILDING MATPLOTLIB python: yes [3.10.2 (main

2022-01-20 20:24:47 4817 1

原创 python字典、json与csv(简单入门)

python字典、json与csv(简单入门)

2022-01-13 17:34:42 207

原创 Python多版本环境切换及cmd快速打开

python多版本环境切换

2022-01-09 15:57:16 2142

空空如也

空空如也

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

TA关注的人

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