- 博客(15)
- 收藏
- 关注
原创 图片饱和度、色调、明度的计算
计算单个图片文件夹下所有图片的饱和度、色相、明度并绘制三种属性的分布图单个图片文件夹下图片的色相、饱和度、明度分布图(https://imgblog.csdnimg.cn/c129240dbd7048f99daa19c565e68d59.png#pic_center)
2022-06-15 09:42:43 4556 3
原创 2021-06-29 解决Error: ModuleNotFoundError: No module named ‘pip‘
1. 报错详情2. 解决方法报错信息提示就是找不到 pip模块,我们先执行 python -m ensurepip,然后执行 python -m pip install --upgrade pip 即可更新完毕。备注:python -m ensurepip执行后会安装标准库提供的一个pip副本。然后,可以用这个版本安装pip的一个更新版本。当然也可以用命令 python -m ensurepip --upgrade直接安装pip的一个最新版本。3. 安装成功...
2021-06-29 22:00:12 187
原创 python os.walk()方法使用详解
os.walk方法是python中帮助我们高效管理文件、目录的工具,在深度学习中数据整理应用的很频繁,如数据集的名称格式化、将数据集的按一定比例划分训练集train_set、测试集test_set。1.导入文件(使用os.walk方法前需要导入以下包)import osimport random # 后续用来将数据随机打乱和生成确定随机种子,保证每次生成的随机数据一样便于测试模型精准度2.os.walk()参数解释os.walk(top, topdown=True, οnerrοr=None,
2021-06-15 11:01:06 14963 6
原创 Pytorch 多层感知机--TypeError
1. 错误提示Traceback (most recent call last): File "D:/Python_practice/CIRFAR-10/daily_test4.py", line 33, in <module> perception = Perception(3,4,1) File "D:/Python_practice/CIRFAR-10/daily_test4.py", line 27, in __init__ self.layer1 = Lin...
2021-04-25 13:45:54 163 2
原创 python OMP error
错误提示:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause
2021-04-01 19:12:01 2271
原创 POJ - 2502
SubwayTime Limit:1000MSMemory Limit:65536KTotal Submissions:10501Accepted:3429DescriptionYou have just moved from a quiet Waterloo neighbourhood to a big, n
2017-07-25 19:52:15 346
原创 POJ - 3259之时空穿梭(最短路之负权回路)
WormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 52515 Accepted: 19552DescriptionWhile exploring his many farms, Farmer John has discovered a nu
2017-07-25 19:25:09 514
原创 G - Five-In-a-Row
B. Five-In-a-Rowtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice and Bob play 5-in-a-row game. They ha
2017-07-21 14:00:01 261
原创 HDU - 1272 小希的迷宫之独木桥(并查集的简单应用)
小希的迷宫 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
2017-07-21 09:17:08 243
原创 HDU - 1598之为达目的不择手段(并查集的应用)
find the most comfortable road Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
2017-07-21 09:05:07 226
原创 POJ - 3669(自建迷宫)——广搜
Meteor ShowerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 20648 Accepted: 5373DescriptionBessie hears that an extraordinary meteor shower is coming;
2017-07-21 08:25:16 229
原创 POJ - 2395
Out of HayTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17494 Accepted: 6885DescriptionThe cows have run out of hay, a horrible event that must be rem
2017-07-20 20:03:09 200
原创 POJ----1426
Find The MultipleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32535 Accepted: 13604 Special JudgeDescriptionGiven a positive integer n, write a p
2017-07-20 18:37:00 213
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人