Closed miaomaomiaomaoda closed 1 year ago
Thanks for pointing this out! We tested on 2.3.2 and didn't find the error with 2.4+.
After changing target
to loss
, is it working now? Would you mind proposing a PR to fix this issue?
yeah. After the change, it works very well. I will propose a PR later.
Thanks!
location: https://github.com/PaddlePaddle/InterpretDL/blob/master/tutorials/GradCAM_Segmentation.ipynb
🐛 Bug
in funciton GradCAMSegInterpreter._build_predict_fn( ).predict_fn( ) :
error: target is not defined,it should be loss