Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG #19

Open
yaoslivy opened this issue Jan 13, 2022 · 5 comments
Open

BUG #19

yaoslivy opened this issue Jan 13, 2022 · 5 comments

Comments

@yaoslivy
Copy link

File "/media/yaoshuilin/common/run/LSTNet-master/models/LSTNet.py", line 53, in forward
s = s.view(batch_size, self.hidC, self.pt, self.skip);
TypeError: view(): argument 'size' must be tuple of ints, but found element of type float at pos 3

@ypwang61
Copy link

I meet the same problem as yours

@shuqincao
Copy link

我也遇到了同样的问题,请问你们解决了吗

@Merisse
Copy link

Merisse commented Apr 15, 2022

这个是说pt应该为int 而不是float 我的处理方式是float转化为int类型 ,但不知道这样处理对不对

@tianyuzelin
Copy link

you can see #16

@RiekeZoe
Copy link

you can see #16
Great, that solves it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants