Git Product home page Git Product logo

tp-yolo's Introduction

TP-YOLO: A Lightweight Attention-based Architecture for Tiny Pest Detection

By Y. Di, S. L. Phung, J. Berg, J. Clissold and A. Bouzerdoum.

This repository is an official PyTorch implementation of TP-YOLO, published by ICIP 2023.

Dependencies

pip install .

Inference

yolo task=detect mode=predict model=weights/tp-yolo_kb.pt source=input/images save=True

Training

Hyperparameters:

  • Epochs: 450
  • Batch size: 4
  • Pre-train: None

Dataset:

Dataset Paper Class # Image # Instance #
Khapra beetle ICIP2023 3 1,600 4,885
Pest24 CEA2020 24 25,378 192,422

Command:

yolo task=detect mode=train model=cfg/tp-yolo.yaml data=datasets/pestdata.yaml epochs=450 batch=4

Evaluation

yolo task=detect mode=val model=weights/tp-yolo_kb.pt data=datasets/pestdata_val.yaml
Class P R AP50 AP
Khapra beetle (larvae) 98.2 90.4 98.2 73.4
Khapra beetle (adult) 99.4 99.5 99.5 85.0
Khapra beetle (skin) 99.0 97.2 99.2 75.7
All 98.8 95.7 98.9 78.0

Citation

@inproceedings{tpyolo,
    title={TP-YOLO: A Lightweight Attention-based Architecture for Tiny Pest Detection},
    author={Yang Di and Son Lam Phung and Julian van den Berg and Jason Clissold and Abdesselam Bouzerdoum},
    booktitle={IEEE International Conference on Image Processing (ICIP)},
    pages={3394-3398},
    year={2023}
}

tp-yolo's People

Contributors

yangdi-cv avatar

Stargazers

 avatar  avatar  avatar  avatar xiaolin avatar  avatar zpy0-0 avatar  avatar  avatar  avatar Ly Bui avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

science000

tp-yolo's Issues

Looking for Pest24 dataset

Hello, can you please tell me where is your Pest24 dataset come from? I've seen the Pest24 paper before, but the shared link for the dataset in that paper is no longer available. I wonder if you can share the dataset with me, or give me another source to get the Pest24 dataset.
Thank you!

No module named 'ultralytics.nn.exp'

Hi,

I get this error when I try to run inference: ModuleNotFoundError: No module named 'ultralytics.nn.exp'

Which version of yolov8 are you running? From what I gathered it's 8.0.109 but I still get the same error when I downgrade to that. I also tried with the latest 8.0.184 version with the same luck.

Edit: it works with 8.0.109 but now I get FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\user1\AppData\Local\Programs\Python\Python310\Lib\site-packages\ultralytics\yolo\cfg\default.yaml'

Edit2: Just copy that file from the repo to that dir..

thanks

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.