Skip to content

Instantly share code, notes, and snippets.

View devarshi16's full-sized avatar
💭
Curiosity, always there

Devarshi Aggarwal devarshi16

💭
Curiosity, always there
View GitHub Profile
@adujardin
adujardin / crowdhuman_to_yolo.py
Last active July 22, 2024 09:21
Convert CrowdHuman dataset to Yolo (v5) annotations
"""
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:
@StevenCHowell
StevenCHowell / pool_update_xml_queue.py
Last active July 18, 2022 16:09
Demo performing parallel tasks with a queue for logging progress.
"""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
@raulqf
raulqf / Install_OpenCV4_CUDA12.6_CUDNN8.9.md
Last active September 10, 2024 08:07
How to install OpenCV 4.10 with CUDA 12 in Ubuntu 24.04

Install OpenCV 4.10 with CUDA 12.6 and CUDNN 8.9 in Ubuntu 24.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries: