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

There is ERROR while running ' 3.Train SPICE-Self' in train.md. #49

Open
DonghoonPark12 opened this issue Dec 28, 2023 · 0 comments
Open

Comments

@DonghoonPark12
Copy link

File "/home/user/XXX/SPICE/tools/train_self_v2.py", line 236, in main_worker
train(train_loader, model, optimizer, epoch, cfg)
File "/home/user/XXX/SPICE/tools/train_self_v2.py", line 472, in train
images_trans.append(images_trans_l[idx_select[h], :, :, :])
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)

How can I solve it??

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