cliffordlayers icon indicating copy to clipboard operation
cliffordlayers copied to clipboard

Summing dimension mismatch

Open simonandreashuber opened this issue 11 months ago • 0 comments

In cliffordlayers/nn/functional/groupnorm.py on line 211:

running_cov_orig.copy_(running_cov.view(I, I, B, int(C / num_groups)).mean(1, keepdim=False))

I get a tensor size mismatch error. I think the dimension 1 is wrong and it should be 2:

running_cov_orig.copy_(running_cov.view(I, I, B, int(C / num_groups)).mean(2, keepdim=False))

simonandreashuber avatar Apr 28 '25 10:04 simonandreashuber