Comments (8)
Hi @CBarrelet
Yolov5's model is modified every day. Maybe the model I have used is older and you are trying to test it with a newer model!
But still I can't say without testing the actual model
from yolov5-gradcam.
Hi, thanks for your answer.
I was actually using an old Yolov5 version, but I'm currently retraining a new model from the latest version.
I'll keep you in touch!
from yolov5-gradcam.
Hi @pooya-mohammadi
So I tried with the latest version of Yolov5 but it still doesn't show any heatmap.
Which version did you use?
Thanks again.
from yolov5-gradcam.
Hi, thank you for your great job!
I tried to use a custom model, and even though the object is detected, the heatmap is basically empty.
Do you know a workaround?
Thanks agin.
Hello, brother, have you solved this problem? I have the same problem. I would appreciate it if you could help me.
Looking forward to hearing from you.
from yolov5-gradcam.
Hi @chentingkai, I found a workaround by using Yolo's visualization option. I added every features layer from each module and then scaled them to the image size by interpolation. The result seems visually ok.
Hope it could help!
from yolov5-gradcam.
Hi @chentingkai, I found a workaround by using Yolo's visualization option. I added every features layer from each module and then scaled them to the image size by interpolation. The result seems visually ok. Hope it could help!
Thank you very much for your timely reply! I'm a novice in deep learning. Can you send me a copy of your executable code? My email address is [email protected] . Thank you again for your selfless help.
from yolov5-gradcam.
Sorry, I don't have the time to make a clean version of my code, but fortunately, you don't have to do much.
python detection.py --visu
You could then see every feature map for each module in runs/detect/exp/.
All features maps are in NumPy format, so it's easy to play around.
Good luck!
from yolov5-gradcam.
so it's easy to play around
Thank you very much for your timely reply!
from yolov5-gradcam.
Related Issues (20)
- Label problem HOT 3
- RuntimeError: don't know how to restore data location of torch.HalfStorage (tagged with ) HOT 2
- 可以指定使用某一层的特征图吗?
- get error "google/protobuf/pyext/descriptor.cc:358: bad argument to internal function" HOT 3
- Is it possible to plot the gradcam heatmaps of all prediction results on the same image? HOT 4
- it did not work multiple object of same class.how can I use it for multiple object in the image (same class i.e person )
- what about yolov5l,yolov5x,yolov5s?
- Can't get attribute 'DetectionModel' on <module 'models.yolo' from....> HOT 14
- Error when trying with custom model and dataset
- Attempt to free invalid pointer 0x7f8c95a71d98 HOT 1
- IndexError: list index out of range
- using CUDA, crashes script. HOT 1
- Tensor not match HOT 1
- When I use the weight of the adam optimizer, the heatmap cannot be displayed
- self.model(img, augment=False) does not work HOT 2
- Unable to import name 'Box' from 'deep_utils' HOT 3
- ValueError: not enough values to unpack (expected 3, got 2)
- Can't check recent custom best.pt model for the compatibility issues of pytorch
- When I cycled through multiple images, and for each image, I cycled through multiple layers of the model, I saw an abnormal increase in memory. HOT 1
- RuntimeError: The size of tensor a (80) must match the size of tensor b (1280) at non-singleton dimension 1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov5-gradcam.