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

Code running issues #23

Open
xxc13004 opened this issue Mar 16, 2024 · 0 comments
Open

Code running issues #23

xxc13004 opened this issue Mar 16, 2024 · 0 comments

Comments

@xxc13004
Copy link

I have installed the environment you mentioned and also downloaded the repository required for the code. But when running train_gen.sh, the following error occurred, and I couldn't find the reason why tensor calculations were performed on multiple devices in the code.

The error is as follows:

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda: 0 and CPU! (When checking argument for argument target in method wrapper_nnll_loss2d_forward)

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