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

Found dtype Long but expected Float #7

Open
Rafat97 opened this issue Jun 11, 2021 · 0 comments
Open

Found dtype Long but expected Float #7

Rafat97 opened this issue Jun 11, 2021 · 0 comments

Comments

@Rafat97
Copy link

Rafat97 commented Jun 11, 2021

label = torch.full((b_size, ), real_label, device=device)

Error:
image

My solution:
image

@cjfghk5697 cjfghk5697 mentioned this issue Nov 5, 2022
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