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 in torch device #1

Open
YunruiZhang opened this issue Dec 9, 2024 · 0 comments
Open

Bug in torch device #1

YunruiZhang opened this issue Dec 9, 2024 · 0 comments

Comments

@YunruiZhang
Copy link

In line 91 of the ece_kde.py
log_kern_y = log_kern + (torch.ones([f.shape[0], 1]) * log_y[:, k].unsqueeze(0))
The device of the torch.ones is not set and will trigger an error when the device is set other than the default cpu.

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

1 participant