Open pmj110119 opened 2 years ago
Hi,
Thanks for your attention. The goal of this constraint is to modify the parameters of conv layer.
Hello, I also want to ask this line of code.
Why just modify the parameters of conv layers instead of other layers?
If I use an new multimodal model and I have other layers (instead of conv) before the fusion layer, do I need to modify the parameters of this layer?
+1 What if my model does not have conv layers. Should I update all the parameters ? or all except pooling ones ? Thank you ! Theo
Hi, in our framework, the backbone is composed of conv layer, and the fc layer is the classifier. In our case, we modulate the gradient of the backbone, i.e., conv layers. If there are fc layers in your backbone, it needs to do modulation for these fc layers.
Thanks for your amazing work!
When weighting gradients, I noticed that
grad
will be filtered by its size.I wonder what is the point of this step?