Hello Dear Author:
Thank you for sharing your great projects and contributing your valuable creative points. I am a student of medical image classification, and I want to learn from your innovations and apply them to the densenet network. After adding CA attention, I got this error: TypeError: init() missing 1 required positional argument: ' oup'; so I changed the two parameters inp, oup of your code, as shown in the following code. Not sure if such a change has made a change in implementing your original functionality? Or, do you have any experimental cases of applying CA attention to other networks such as ResNet networks?
Sincerely look forward to your reply and wish you a happy life!
Hello Dear Author: Thank you for sharing your great projects and contributing your valuable creative points. I am a student of medical image classification, and I want to learn from your innovations and apply them to the densenet network. After adding CA attention, I got this error: TypeError: init() missing 1 required positional argument: ' oup'; so I changed the two parameters inp, oup of your code, as shown in the following code. Not sure if such a change has made a change in implementing your original functionality? Or, do you have any experimental cases of applying CA attention to other networks such as ResNet networks? Sincerely look forward to your reply and wish you a happy life!
def init(self, inp, oup, reduction=32):