You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python fourier_1d.py
Traceback (most recent call last):
File "fourier_1d.py", line 161, in <module>
x_train = torch.cat([x_train.reshape(ntrain,s,1), grid.repeat(ntrain,1,1)], dim=2)
RuntimeError: shape '[1000, 1024, 1]' is invalid for input of size 8192000
This statement is generating the exception:
x_train.reshape(ntrain,s,1)
From the documentation of view() method, 'The returned tensor shares the same data and must have the same number of elements, but may have a different size.'
Ideas?
The text was updated successfully, but these errors were encountered:
I tried running the file fourier_1d.py:
This statement is generating the exception:
Ideas?
The text was updated successfully, but these errors were encountered: