Giter VIP home page Giter VIP logo

Comments (8)

mengjingyouling avatar mengjingyouling commented on June 24, 2024 1

from yolov5-gradcam.

pooya-mohammadi avatar pooya-mohammadi commented on June 24, 2024

Hi @mengjingyouling
Unfortunately, I don't have the answer as well. I checked the code several times and tested it on several images, but mysteriously it does not return a visual heatmap for the truck!

from yolov5-gradcam.

mengjingyouling avatar mengjingyouling commented on June 24, 2024

@pooya-mohammadi Tried some other truck images, which can display the heatmap normally. The truck occupies a larger size in these pictures. Is it related to the size of the object that needs to be identified?

from yolov5-gradcam.

mengjingyouling avatar mengjingyouling commented on June 24, 2024

@pooya-mohammadi I did some experiments to further verify my point . The car / truck in the upper right corner of the dog.jpg image is cropped out and used as a new image dog_new alone. Then to run the code to do heatmap visualization. As a result, you can see that the visual code is running normally.
But, it seems that the corresponding position of the heatmap is not perfect.

from yolov5-gradcam.

pooya-mohammadi avatar pooya-mohammadi commented on June 24, 2024

@mengjingyouling
Tnx for your interest in the project. Let me check your hypothesis. I will let you know once it's done.

from yolov5-gradcam.

mengjingyouling avatar mengjingyouling commented on June 24, 2024

@pooya-mohammadi Is it the function Box.fill_ outer_box caused the problem?

Since the original image will be scaled to 640, it leads to inaccurate position correspondence.

from yolov5-gradcam.

mengjingyouling avatar mengjingyouling commented on June 24, 2024

@pooya-mohammadi
I did some experiments. Useing model_23 layer parameter,the truck in dog.jpg show no heat map. But in shallow layers, such as model_ 3 there are some heat maps.
Can it be understood that the recognition of trucks is determined by shallow features?THX.

from yolov5-gradcam.

pooya-mohammadi avatar pooya-mohammadi commented on June 24, 2024

@mengjingyouling
I don't think so because in the images you emailed me the truck had a clear heatmap like the others which means that layer is capable of generating visible gradients and heatmaps for trucks

from yolov5-gradcam.

Related Issues (20)

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.