pytorch-yolo-v3 icon indicating copy to clipboard operation
pytorch-yolo-v3 copied to clipboard

cam_demo.py got error NameError: name 'im_dim' is not defined

Open zef1611 opened this issue 5 years ago • 1 comments

So when i ran cam_demo.py , i got this error im_dim = im_dim.cuda() NameError: name 'im_dim' is not defined Can someone give me an answer for this error,thks

zef1611 avatar Jun 05 '19 07:06 zef1611

Uncomment the line above (im_dim = torch.FloatTensor(dim).repeat(1,2) ), it should start working

krypto94 avatar Jun 07 '19 13:06 krypto94