First of all install update and upgrade your system:
$ sudo apt update
$ sudo apt upgradeThen, install required libraries:
| """ | |
| Based on https://raw.githubusercontent.com/jkjung-avt/yolov4_crowdhuman/master/data/gen_txts.py | |
| Inputs: | |
| * nothing | |
| * or folder with CrowdHuman_train01.zip, CrowdHuman_train02.zip, CrowdHuman_train03.zip, CrowdHuman_val.zip, annotation_train.odgt, annotation_val.odgt | |
| python crowdhuman_to_yolo.py --dataset_path foo/bar/ | |
| Outputs: |
| """Demo performing parallel tasks with a queue for logging progress.""" | |
| import datetime | |
| import multiprocessing as mp | |
| import time | |
| from collections import namedtuple | |
| from xml.dom import minidom | |
| import psutil | |
| from lxml import etree |