SC-CAM icon indicating copy to clipboard operation
SC-CAM copied to clipboard

SC-CAM + RW

Open pierrefournier752 opened this issue 4 years ago • 6 comments

Hi, thanks a lot for sharing your very interesting work.

I am running the code to try to reproduce the results in the paper (still running the second round). If I understood correctly, the results that I should get after this are the ones shown in the Table (~50.9), which corresponds to the model without the RW in AffinityNet. I was wondering how I should proceed to run this model (SC-CAM + RW) to get the 63.4 mIOU reported in the paper.

Thanks!

Pierre

pierrefournier752 avatar Sep 22 '20 12:09 pierrefournier752

Hi @pierrefournier752, Yes, your understanding is correct. I used the source code of AffinityNet to apply the random walk (RW). Please find it at their repo: https://github.com/jiwoon-ahn/psa.

Juliachang avatar Sep 22 '20 19:09 Juliachang

Thanks for your quick answer.

So, to be on the same page:

  • first, I train with the train_cls.py function on this repo.
  • And after that I use the infer_aff.py on their repository?

Otherwise, which is the sequence of functions that I should use?

Thanks again. Best

pierrefournier752 avatar Sep 25 '20 10:09 pierrefournier752

Hi @pierrefournier752, Yes, your understanding is correct. I used the source code of AffinityNet to apply the random walk (RW). Please find it at their repo: https://github.com/jiwoon-ahn/psa.

Do your use your infer cam to perform Train AffinityNet with the labels procedure?? Or how your perform random walk without training a AffinityNet?? Could you provide more details? Thanks

TyroneLi avatar Oct 03 '20 07:10 TyroneLi

Hi @TyroneLi,

You can use the provided model from the AffinityNet to perform random walk and you should already obtain good results.

Juliachang avatar Oct 26 '20 19:10 Juliachang

@TyroneLi Do you solve the problem inferring cam with random walk? I do not know how should I get the weight file.

Alice-Shen avatar Dec 08 '20 10:12 Alice-Shen

Hi. I got all black image when I run infer_aff.py file. Does anyone have the same problem as me?please help me,thank you!

OpencvW avatar Dec 30 '20 02:12 OpencvW