- 博客(17)
- 收藏
- 关注
原创 报错 OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized
【代码】报错 OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized。
2023-04-11 15:46:57
216
原创 在使用YOLOv7进行训练时,出现 magic_number = pickle_module.load(f, **pickle_load_args) _pickle.Unpickling
在使用YOLOv7进行训练时,出现 magic_number = pickle_module.load(f, **pickle_load_args) _pickle.Unpickling
2023-04-11 15:43:23
1977
原创 pip和conda从指定源安装包
例:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas。pip 后加参数 -i https://pypi.tuna.tsinghua.edu.cn/simple。pip源有好几个,我一直用的清华的pip源,它5分钟同步一次。python模块安装,使用国内源可以提高下载速度。
2023-04-09 14:19:41
336
原创 SAM二创开始了,只有分割还不够,还要检测一切、生成一切
SAM二创开始了,只有分割还不够,还要检测一切、生成一切。项目链接:https://github.com/IDEA-Research/Grounded-Segment-Anything
2023-04-09 13:12:15
337
原创 SegmentAnything 模型 (SAM):万物可分割 AI 模型,11亿+掩码数据集可提取
提取.SAM Demo:https://segment-anything.com/开源地址:https://github.com/facebookresearch/segment-anything论文地址:https://ai.facebook.com/research/publications/segment-anything/SA-1B数据集:https://ai.faceboo
2023-04-07 17:15:37
3581
原创 Keras怎么将模型用GPU跑
总之,使用GPU来训练和预测Keras模型可以提高性能并缩短训练时间。在使用GPU时,需要确保环境正确配置,并正确设置Keras的后端引擎和模型参数。使用GPU来运行Keras模型可以加速模型的训练和预测,提高性能。在Keras中,可以通过配置运行环境来使用GPU来训练和预测模型。这将启用Keras的TensorFlow后端引擎,并将模型放在第一个GPU设备上。这将创建一个在第一个GPU设备上运行的Keras模型。4.在模型训练和预测时启用GPU支持。这将使用GPU来并行处理数据并加速训练。
2023-02-24 20:39:49
8481
原创 使用Model.fit_generator时收到弃用警告: Model.fit_generator is deprecated and will be removed
fit_generator时收到了此弃用警告,直接换成model.fit()Tensorflow2.1版本以后在使用。
2022-10-12 20:10:43
1104
原创 AttributeError: ‘Sequential‘ object has no attribute ‘predict_classes‘ 解决方法
TensorFlow版本问题,predict_classes函数被删除了。
2022-10-11 15:55:09
508
原创 POJ - 1979 Red and Black(java)
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles. But he can't move on red tiles, he can move only on black tiles.W.
2020-07-10 18:27:15
190
原创 POJ - 2013 Symmetric Order (java)
In your job at Albatross Circus Management (yes, it's run by a bunch of clowns), you have just finished writing a program whose output is a list of names in nondescending order by length (so that each name is at least as long as the one preceding it). Howe
2020-07-10 18:25:30
196
原创 POJ - 1011 Sticks (Java)
George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many sticks he had originally and how long they were originally. Please help hi
2020-07-10 18:16:57
381
原创 1166: 实数取整(指针专题)
1166: 实数取整(指针专题)#include<stdio.h>#include<string.h>#include<stdlib.h>char *rounding(char *p) { int i,j,k,l=0,s,t=0; char *p1; p1=(char*)malloc(100*sizeof(char)); ...
2018-12-16 13:29:19
916
原创 1164: 字符串加密
1164: 字符串加密#include<stdio.h>#include<string.h>int main(){ char a[100]; int k,c,i,s; gets(a); scanf("%d",&k); c=k%26; s=strlen(a); for(i=0;i<s;i++)...
2018-12-14 21:29:08
489
原创 1162: 循环移动(指针专题)
1162: 循环移动(指针专题)#include<stdio.h>#include<stdlib.h>void ringShift(int *a, int n, int k) { int i,t,j; for(i=0;i<k;i++) { t=*(a+n-1); for(j=n-1;j>=1;j-...
2018-12-14 19:50:18
969
原创 1161: 字符串长度(指针专题)
1161: 字符串长度(指针专题)#include<stdio.h>int len(char *sp) { int s=0; while(*sp!='\0') { if(*sp!=' ') s++; sp++; } return s;}int main(){ ...
2018-12-14 19:47:15
886
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人