CornerNet-Lite icon indicating copy to clipboard operation
CornerNet-Lite copied to clipboard

Device index must be -1 or non-negative, got -1160

Open SeeeeShiwei opened this issue 5 years ago • 4 comments

SeeeeShiwei avatar May 14 '19 09:05 SeeeeShiwei

Anyone met this problem?

SeeeeShiwei avatar May 14 '19 09:05 SeeeeShiwei

Maybe there is some problem with your GPU setting.

li10141110 avatar May 17 '19 02:05 li10141110

I met the same problem. The default number of gpu is 4. But i only have one gpu, so i set cuda:0. I wonder whether the problem is about this setting.

DancingJane avatar May 20 '19 07:05 DancingJane

if you only has one gpu the chunk_size should look this chunk_size =[15] batch_size = 15

runningJ avatar May 20 '19 11:05 runningJ