Skip to content

Instantly share code, notes, and snippets.

View hayunjong83's full-sized avatar

hayunjong83

  • Seoul National University
  • Seoul
View GitHub Profile
@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active July 21, 2024 08:16
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',
@dongbum
dongbum / SimplePerformanceCheck.cpp
Last active January 2, 2024 14:28
함수의 실행시간을 측정할 수 있는 간단 코드
#include <iostream>
#include <chrono>
void Test(void)
{
// Test Source
}
int main(void)
{
@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: