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

when I change the numworks to 0,I meet the new problem #12

Open
XXXxiaoxiaoxia opened this issue Jul 10, 2018 · 2 comments
Open

when I change the numworks to 0,I meet the new problem #12

XXXxiaoxiaoxia opened this issue Jul 10, 2018 · 2 comments

Comments

@XXXxiaoxiaoxia
Copy link

logpt=torch.gather(logpt,1,torch.LongTensor(target))
RuntimeError: Invalid index in gather at c:\users\administrator\downloads\new-builder\win-wheel\pytorch\aten\src\th\generic/THTensorMath.c:600

Process finished with exit code 1

@qiaoguan
Copy link
Owner

check the training data to see the label of the data, do you run changeindex.py?

@XXXxiaoxiaoxia
Copy link
Author

thank you,I have solved it.

I have another question, how to get train_new? run changeindex.py just can get val_new

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

2 participants