![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 56
qq_43448134
这个作者很懒,什么都没留下…
展开
-
Python-面向对象
Python学习原创 2022-08-01 09:52:23 · 71 阅读 · 0 评论 -
Python实现将数据集分割成测试集(test)和训练集(training)
利用程序将数据集自动分为测试集(test datasets)和训练集(training datasets)# Split data into training and validation datasetsindices = np.random.permutation(train.shape[0])valid_cnt = int(train.shape[0] * 0.1)#可自行修改比例t...原创 2019-03-14 21:09:16 · 8999 阅读 · 2 评论 -
眼底图像预处理
眼底图像预处理方案:def load_ben_color(path, sigmaX=10 ):image = cv2.imread(path)image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)image = crop_image_from_gray(image)image = cv2.resize(image, (IMG_SIZE, IMG_SI...原创 2019-07-19 14:55:45 · 1705 阅读 · 1 评论