pvae icon indicating copy to clipboard operation
pvae copied to clipboard

Error when trying to train mnist poincare experiment

Open saniazahan opened this issue 4 years ago • 1 comments

I got the following error while testing the mnist poincare experiment. If I train for 79 epoch the error doesn't occur. Could you please suggest what is the problem

image

saniazahan avatar Jul 26 '21 07:07 saniazahan

Try to replace 'input = input.unsqueeze(-2).expand(*input.shape[:-(len(input.shape) - 2)], self.out_features, self.in_features)' by 'input = input.unsqueeze(-2).expand(*input.shape[:-1], self.out_features, self.in_features)'.

It worked for me.

Ingmar-Bergman avatar Aug 03 '24 09:08 Ingmar-Bergman