Xiaoqi-Zhao-DLUT / GateNet-RGB-Saliency

(IJCV 2024&ECCV 2020 Oral) Suppress and Balance: A Simple Gated Network for Salient Object Detection
MIT License
162 stars 15 forks source link

Problem in your generate_visfeamaps.py #13

Closed wanghaitong-q closed 2 years ago

wanghaitong-q commented 2 years ago

Thanks for your sharing.

When I test the model, I have a problem in the second step, which is "run the generate_visfeamaps.py". The code that is "net = RGB_sal().cuda()", what is the "RGB_sal"? If it is your "GateNet", however, there should be 4 outputs while your GateNet only have one output. Could you please tell you how to deal with it?

Xiaoqi-Zhao-DLUT commented 2 years ago

@wanghaitong-q The generate_visfeamaps.py is only used to visualize the features, not the final saliency map. For those specific features that you want to visualize, you can set the return xx... in the model_GateNet_XX.py