I get this as well when I run the normalizing code on my data
  0%|          | 10/63100 [00:00<10:32, 99.74it/s]<ipython-input-17-a47b51071277>:4: RuntimeWarning: invalid value encountered in double_scalars
  temp = float(2.0*(j-np.amin(data))/(np.amax(data)-np.amin(data)) - 1.0)

However, it ends normalizing the data though.
And you pointed to something here. Some of the output for



 ptrblck:

torch.isfinite(input).all()?


are false. What am I doing wrong in norm?