AdamKortylewski / CompositionalNets

Official implementation of CVPR2020 paper: "Compositional Convolutional Neural Networks: A Deep Architecture with Innate Robustness to Partial Occlusion" https://arxiv.org/abs/2003.04490
113 stars 24 forks source link

About the code in model.py #6

Closed StetchPlane closed 3 years ago

StetchPlane commented 3 years ago

Thanks for your excellent work. https://github.com/AdamKortylewski/CompositionalNets/blob/9affa4d89fbb2debbe723d9c8e5956000aa6f719/Code/model.py#L146 Why is there no normalization in the calculation of 'general'? https://github.com/AdamKortylewski/CompositionalNets/blob/9affa4d89fbb2debbe723d9c8e5956000aa6f719/Code/model.py#L122 But the former 'noise' and 'white' are normalized.

AdamKortylewski commented 3 years ago

This is a bug, all vectors should be normalized.

Best Adam