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

Is there a matlab version? #1

Open
hzhd001 opened this issue Mar 15, 2022 · 4 comments
Open

Is there a matlab version? #1

hzhd001 opened this issue Mar 15, 2022 · 4 comments

Comments

@hzhd001
Copy link

hzhd001 commented Mar 15, 2022

No description provided.

@jiaxiang-cheng
Copy link
Owner

Hi, I'm sorry that currently there's no implementation with Matlab.

@WUTmouse
Copy link

WUTmouse commented May 7, 2022

When I run your code,”RuntimeError: expected scalar type Long but found Int ”
Please teach me how to fix this problem

@jiaxiang-cheng
Copy link
Owner

When I run your code,”RuntimeError: expected scalar type Long but found Int ” Please teach me how to fix this problem

It's quite a common issue. Please just Google it. Or next time, please attach the entire log so it can be possible for others to check where this issue comes from.

@mashugungnir
Copy link

I add " y_train = y_train.to(torch.long)" in line 27 in main.py and I can run . I think RuntimeError is because y_train is int64.

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

4 participants