Coder Social home page Coder Social logo

2021-object-detection-competition's Introduction

2021 μžμœ¨μ£Όν–‰μ˜μƒ 객체 κ²€μΆœ κ²½μ§„λŒ€νšŒ

  • πŸ₯‡ κΈˆμƒ (1λ“±) μˆ˜μƒ πŸ₯‡
  • μžμœ¨μ£Όν–‰ 인지 ν•™μŠ΅μš© 데이터 AI λͺ¨λΈ 및 μ•Œκ³ λ¦¬μ¦˜ μ„±λŠ₯ 평가, 동적 객체 및 정적 객체에 λŒ€ν•œ 객체 κ²€μΆœ 정확도 ν…ŒμŠ€νŠΈ
  • 2021.12.06 ~ 2021.12.23
  • μ£Όκ΄€ : μ‚°μ—…ν†΅μƒμžμ›λΆ€, ν•œκ΅­μžλ™μ°¨μ—°κ΅¬μ›
  • Facts and Figures, Click it!

Our Team

  • μ‹ μ’…μœ€ (νŒ€μž₯)
  • λͺ…μž¬μš©
  • νƒœκ΄€ν˜Έ
  • μ˜€ν•΄μΈ

Requirements

  • Python >= 3.7.0
  • Pytorch >= 1.7.0

Detection Example

pred1

Train custom data

data = 40000, epochs = 19

Download best.pt in Release and move to /yolov5

cd yolov5 
python train.py --img 1280 --batch 4 --epochs 19 --data 'data/dataset_train.yaml' --cfg 'models/yolov5m.yaml' --weights best.pt --device 0

Running the model

Evaluating the model

python3 detect2.py --weights best.pt --img 1280 --iou-thres 0.6 --source ~/2021_Object_Detection_Foscar/yolov5/data/test --save-txt --exist-ok --save-conf --view-img # source = test data

MAP

cd yolov5/data/test # ground truth ν•΄λ‹Ή κ²½λ‘œμ— test img, λ³€ν™˜λœ txt μΆ”κ°€
cd yolov5
python inference.py --data 'data/dataset.yaml' --weights best.pt --verbose --imgsz 1280 --task test --conf-thres 0.25 --device 0
#/yolov5/runs/val/exp/R_curve.png

Precision Recall Curve

PR_curve

Result data to XML

change path in inference.sh (~/*.jpg)

cd yolov5 
bash inference.sh

Yolo_txt to XML(v_001_1.xml)

python yolo2voc2.py 'yolo txt path'

1st prize

s

2021-object-detection-competition's People

Contributors

jjongyn avatar haeino avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.