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

dist = tag_mean.unsqueeze(1) - tag_mean.unsqueeze(2) RuntimeError: Dimension out of range (expected to be in range of [-2, 1], but got 2) #27

Open
oftenliu opened this issue Apr 25, 2019 · 7 comments

Comments

@oftenliu
Copy link

No description provided.

@h72001346
Copy link

the same problem,i've met

@h72001346
Copy link

but i used cuda 9 instead

@qianzhang2018
Copy link

the same problem,i've met,do you know how to solve it now?

@qianzhang2018
Copy link

i can work now,batch size can't be 1,do you set it the same? i set 2,now it works

@sun201711
Copy link

if I want to set batch_size = 1,how to solve the problem?

@GalyaZalesskaya
Copy link

i can work now,batch size can't be 1,do you set it the same? i set 2,now it works

WHY? Why does it work?! It solves literally everything!

I had chunk_size = [1, 1, 1], batch_size = 3. And it provoked my PC reboot for CornerNet and this issue for CornerNet_Saccade.
But with chunk_size = [2] or chunk_size = [2, 2, 2] everything works :) Thanks a lot!

@Glutton-zh
Copy link

up to now, Is there an effective solution to this problem——use the bach_size == 1;

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

6 participants