zhoubolei / CAM

Class Activation Mapping
http://cnnlocalization.csail.mit.edu/
MIT License
1.84k stars 466 forks source link

python code that generate the bbox according to the heatmap? #31

Open FzuLJ opened 5 years ago

FzuLJ commented 5 years ago

Could you please share the python code that generate the bounding box according to the heatmap?

Originally posted by @liu666666 in https://github.com/metalbubble/CAM/issues/18#issuecomment-410275672

Rahul-Venugopal commented 5 years ago

@FzuLJ @metalbubble Is there any python code to generate bounding box available ?

ajschumacher commented 5 years ago

@Rahul-Venugopal why am I tagged?

Rahul-Venugopal commented 5 years ago

@ajschumacher....sorry it was a mistake from my side.

ajschumacher commented 5 years ago

@Rahul-Venugopal no worries! Thanks for clarifying! 👍

gcucurull commented 5 years ago

Hi @FzuLJ @Rahul-Venugopal I implemented demo.m and generate_bbox.m in Python a while ago, you could try if it works for you: https://github.com/gcucurull/CAM-Python

alberthuhu commented 4 years ago

How do I use a pre-training model to train model on my dataset?