python
Fengyutianqing
这个作者很懒,什么都没留下…
展开
-
CV2.imread()函数问题
昨天要处理一批图片,以前一直用matlab,昨天就想,反正在学python,就用python练练手,不练不知道,一练吓一跳!要从指定文件夹批量读取图片,然后进行开运算,代码如下import cv2import osimport numpy as npkernel = np.ones((6,6),np.uint8)path="D:/Data/ship_data/223"file_...原创 2019-01-11 11:42:11 · 9460 阅读 · 0 评论 -
那些年的坑坑洼洼
脱坑指南:系统:ubantu16.04anaconda3.5.2pycharm2018.3pytorchAttributeError: module 'torch' has no attribute 'Module'系统:ubantu16.04anaconda3.5.2pycharm2018.3)pytorchAttributeError: module ‘torch’ has n...原创 2019-02-21 13:22:59 · 886 阅读 · 0 评论