Skip to content

Commit

Permalink
🐛 fix: 修复了数据集处理脚本的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
henryzhuhr committed Jun 7, 2024
1 parent 3dea50d commit fba3ca2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions utils/dataset/dataset_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ def parse(label_file: str) -> ImageLabel:
with open(label_file, "r") as f:
tree = ET.parse(label_file)
root = tree.getroot()
folder = root.find("folder").text
filename = root.find("filename").text
path = root.find("path").text
size = root.find("size")
width = int(size.find("width").text)
height = int(size.find("height").text)
Expand Down

0 comments on commit fba3ca2

Please sign in to comment.