zhangst431 / TPRO

13 stars 1 forks source link

some question about the pseudo label #8

Open Beliefzp opened 7 months ago

Beliefzp commented 7 months ago

Hello, I am very sorry to bother you again and again. I see a sentence in your paper which is "CAM and Grad-CAM were evaluated using the same ResNet38", so I have a question there: ResNet38 has many layers, such as 'bn7', 'bn6', 'bn5_2' and so on. I want to know which layer you use to extract the CAM and Grad-CAM.

Besides, I see the mIoU score of CAM based pseudo label is 70.44, and the mIoU score of Grad-CAM based pseudo label is 67.76. I am very confused that why the pseudo labels generated based on CAM and Grad-CAM are different. They use the same ResNet38 network so I guess the pseudo labels generated should be the same.

These are my two questions. There may be some unreasonable points. Please forgive me. Thank you very much.

zhangst431 commented 6 months ago

We use the bn7 layer of ResNet38 to extract GradCAM. Additionally, CAM and GradCAM are two completely different methods, and naturally, the results they produce are not the same. You can read the papers of them, and you will find that the formulas used to calculate CAM and GradCAM are not the same.

Beliefzp commented 6 months ago

I understand. Thank you very much for your reply.