- 博客(3)
- 收藏
- 关注
原创 SODA数据集coco处理
import os import xml.etree.ElementTree as ET from PIL import Image import numpy as np img_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
1353
1
原创 AttributeError: ‘numpy.ndarray‘ object has no attribute ‘mode‘
然后突然反应过来,PIL和CV读取的内容格式不同,所以修改为。
2023-03-21 18:19:02
891
原创 错误:timeit ^SyntaxError: invalid syntax
发现在pycharm 里console运行会报错。但是换成jupyter发现就可以运行了。
2023-03-12 13:34:00
480
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅