xray icon indicating copy to clipboard operation
xray copied to clipboard

Error when training encoders

Open rafael-alencar29 opened this issue 3 years ago • 3 comments

I get this error whenever I try to train the encoders (BottleneckAutoencoder, BaselineAutoencoder...) "RuntimeError: Function 'PowBackward0' returned nan values in its 0th output" I believe all the setting are right, I'm running on Colab.

Am I missing something?

rafael-alencar29 avatar Aug 03 '21 13:08 rafael-alencar29

Can you please post the whole error message? And does the error occur in the first epoch or later?

viettr avatar Aug 03 '21 17:08 viettr

I'm sharing the whole file link.

The error happens in the first epoch. The the others models ran just fine, just the encoders I'm having problems.

https://colab.research.google.com/drive/1bWydVwUPWTncH9gGEt5Bm3s2K_XE8Wmo?usp=sharing

rafael-alencar29 avatar Aug 03 '21 19:08 rafael-alencar29

Screenshot 2021-08-11 at 13-15-08 Google Colaboratory Here is the error screenshot in case the link above doesn't work.

rafael-alencar29 avatar Aug 11 '21 16:08 rafael-alencar29