摘要: 为了方便查询, import cv2import os import numpy as np root_path = ""dir = root_path+"images"+"/"count = 0for root,dir,files in os.walk(dir): for file in file 阅读全文
posted @ 2019-09-22 12:03 my_everything 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 安装依赖包,运行命令 sudo apt-get install curl openssh-server ca-certificates postfix 执行完成后,出现邮件配置,选择Internet那一项(不带Smarthost的) gitlab1.png 利用清华大学的镜像https://mirr 阅读全文
posted @ 2019-08-07 15:28 my_everything 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 多边形逼近 # 1.先找到轮廓 img = cv2.imread('unregular.jpg', 0) _, thresh = cv2.threshold(img, 0, 255, cv2.THRESH_BINARY + cv2.THRESH_OTSU) image, contours, hier 阅读全文
posted @ 2019-08-06 11:18 my_everything 阅读(978) 评论(0) 推荐(0) 编辑
摘要: RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means tha 阅读全文
posted @ 2019-07-17 13:48 my_everything 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 安装安装pytorch torchvision时候, 安装pytorch的支持库 torchvision。 pip install torchvision 报错, pip install torchvision 改为 pip3 install --no-deps torchvision 即可解决。 阅读全文
posted @ 2019-07-10 17:06 my_everything 阅读(225) 评论(0) 推荐(0) 编辑
摘要: void Attach(int c,int e,Polynomial *pRear){ Polynomial P; P=(Polynomial)malloc(sizeof(struct PolyNode)); P->coef=c; P->expon=e; P->link=NULL; (*pRear) 阅读全文
posted @ 2019-01-21 15:24 my_everything 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 数据结构之多项式 下面是对多项式的基本输入和输出 下面是多项式加法部分 阅读全文
posted @ 2019-01-19 10:43 my_everything 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 这段时间在学习机器学习所以想总结一下。 阅读全文
posted @ 2018-12-28 14:56 my_everything 阅读(173) 评论(0) 推荐(0) 编辑