Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight #54

Open
Heboxian opened this issue Sep 16, 2022 · 0 comments

Comments

@Heboxian
Copy link

when I run "python main.py --model hamida --dataset PaviaU --training_sample 0.5 --patch_size 7 --epoch 10 --cuda 1 "
it has RuntimeError: :expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight

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

No branches or pull requests

1 participant