Git Product home page Git Product logo

5k-compliance's Introduction

Zalo AI challenge 2021 5K-Compliance

Prepare data: Dữ liệu của ban tổ chức cung cấp nằm trong folder dataset/train. Kết quả sau khi chia chính xác như các file txt

  • Clone yolov5 và mô hình yolov5x6 và thay thế file detect.py
git clone https://github.com/ultralytics/yolov5
scp detect.py yolov5
cd yolov5
wget https://github.com/ultralytics/yolov5/releases/download/v6.0/yolov5x6.pt
python detect.py --weights yolov5x6.pt --source /dataset/train/images --img 1536 --conf-thres 0.1 --iou-thres 0.7 --nosave --classes 0 --augment
cd ..
  • Chia dữ liệu 5-fold
python3 prepare_mask_dataset.py
python3 prepare_distance_dataset.py

train mask model

bash script_train_mask/runtrain1.sh
bash script_train_mask/runtrain2.sh
bash script_train_mask/runtrain3.sh
bash script_train_mask/runtrain4.sh
bash script_train_mask/runtrain5.sh

train distance model

bash script_train_distance/runtrain1.sh
bash script_train_distance/runtrain2.sh
bash script_train_distance/runtrain3.sh
bash script_train_distance/runtrain4.sh
bash script_train_distance/runtrain5.sh

inference

bash predict.sh

5k-compliance's People

Contributors

nhathoang0110 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.