Code Monkey home page Code Monkey logo

master-sau's Introduction

master-sau

This is a repository for the altered YOLOv5 codebase and scripts used in the Master Thesis - Improved Sheep Detection, written in the spring of 2022. The altered YOLOv5 model found in this repository makes it possible to run YOLOv5 with a fourth channel of information, in our case this was Infrared Radiation (IR) imagery.

The branch master only contains the standard model to process RGB images.

The branch four-input contains the model which combines RGB images and IR images as 4 channels before processing the image.

The branch generic-fusion contains the model which processes RGB images and IR images separetly in the backbone, and combines the results in a fusion module before the neck/head.

The data folder is ignored, but should look like this:

  • data/
    • train/
      • images/*.jpg
      • ir/*.jpg
      • labels/*.txt
    • validation/
      • images/*.jpg
      • ir/*.jpg
      • labels/*.txt
    • test/
      • images/*.jpg
      • ir/*.jpg
      • labels/*.txt

master-sau's People

Contributors

ingin97 avatar sebastianvitterso avatar

Stargazers

 avatar Juyeong avatar  avatar  avatar Filipe Marinho avatar 王芙蓉 avatar

Watchers

 avatar

master-sau's Issues

What is the structure of Yolo V5 Generic Fusion?

First of all, thank you for this great program.

I am a beginner and have some questions.

Regarding the network structure of generic fusion, is it correct that the RGB and Ir processes are fused just before the head?

Also, I was looking at the Tensorboard graph and I am a little confused. Is the output from SPPF being input to the first layer simply because the same processing that is used for SPPF is used for the output from SPPF as for the first input?

4 channel data

Hi, I'm wondering how to train your yolo_four_input model while preparing RGB data and another infrared data. Could you please give me some hints?

how about val.py file!

How to use val.py the same way you introduced train.py?

What I mean can that be used for val.py? or just the same way as the official yolov5 after training you use val.py for validation ?
please help me out.

Problem with val.py. missing argument in val.py

Hi there!

I have been trying to run val.py which imports yolo_four_input

in the function _forward_augment

yi = self._forward_once(xi)[0] # forward
just one argument is passed to forward_once where it expects at least two. Why is x_ir missing? I think you don't want to augment IR images which is understood.

but how to resolve this.
Thank you!

image

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.