Giter Club home page Giter Club logo

mosquito-alert-2023-ai-prime's Introduction

Train Guide for Mosquito 2023 by AI-PRIME

1. Dataset

1.1 Download dataset from following link

Object detection dataset:

https://www.kaggle.com/datasets/eashenyang/mosquito-alert-2023-detection

Image classification dataset:

https://www.kaggle.com/datasets/eashenyang/mosquito-alert-2023-classification

1.2 Place dataset to correct directory

Object detection dataset: train/detection/dataset

dataset
├── aegypti
├── albopictus
└── yolo_f0_raw

Image classification dataset: train/classification/dataset

dataset
├── origin_dataset
└── inaturalist

2. Object Detection Model

2.1 Train

cd train/detection
sh train.sh

get your best model under train/detection/runs/train directory

3. Image Classification Model

3.1 Pretrain Model Prepare

Download pretrain model from following link

https://drive.google.com/file/d/17sUNST7ivQhonBAfZEiTOLAgtaHa4F3e/view?usp=sharing

Place metafg_2_inat21_384.pth at train/classification

3.2 Train

Using following commands, you will get 10 models from 10 train/val splits

cd train/classification
sh batch_train.sh

3.3 Model Soup

Using following commands, you will get uniform soup model from 10 models

cd train/classification
python avg_ckpt.py {your_args}

4. Dataset Introduction

Object Detection

The original dataset underwent the removal of images containing multiple mosquitoes, and bounding boxes were manually refined. Additionally, an additional dataset was compiled from iNaturalist, featuring Aedes aegypti and Aedes albopictus species, with mosquito bounding boxes also being manually labeled.

Image Classification

In the original dataset, images with noisy labels were eliminated. An additional dataset was acquired from iNaturalist, and the mosquito class for each entry was meticulously verified through manual inspection.

mosquito-alert-2023-ai-prime's People

Contributors

eashenyang avatar

Watchers

 avatar

Forkers

nikaxx

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.