- 博客(3)
- 收藏
- 关注
原创 SODA数据集coco处理
import osimport xml.etree.ElementTree as ETfrom PIL import Imageimport numpy as npimg_path = r'D:\sodad\Images\\' #原图.jpg文件的路径labels_path = r'D:\sodad\label\val\\' #labels中.txt文件的路径annotations_path = r'D:\sodad\
2023-12-10 19:46:37
1021
1
原创 AttributeError: ‘numpy.ndarray‘ object has no attribute ‘mode‘
然后突然反应过来,PIL和CV读取的内容格式不同,所以修改为。
2023-03-21 18:19:02
820
原创 错误:timeit ^SyntaxError: invalid syntax
发现在pycharm 里console运行会报错。但是换成jupyter发现就可以运行了。
2023-03-12 13:34:00
405
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人