You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this line we add a check for 3 channels which results in skipping grayscale inputs to the conv layer
My current workaround:
I have a copy of the backprop class with the in_channels set to 1 for my grayscale image use case.
Possible Fix:
Would it make sense to remove the in_channels == 3 check since the first conv would be where the input image is supplied and should be good to register the hook at or am I missing something important here?
The text was updated successfully, but these errors were encountered:
Problem Faced:
Backprop visualize doesn't consider models with grayscale input.
Description:
Refer to this line:
flashtorch/flashtorch/saliency/backprop.py
Line 222 in ba5e3db
In this line we add a check for 3 channels which results in skipping grayscale inputs to the conv layer
My current workaround:
I have a copy of the backprop class with the in_channels set to 1 for my grayscale image use case.
Possible Fix:
Would it make sense to remove the in_channels == 3 check since the first conv would be where the input image is supplied and should be good to register the hook at or am I missing something important here?
The text was updated successfully, but these errors were encountered: