local variable 'tmp' referenced before assignment
Opened this issue · 0 comments
YuRongHao2233 commented
in obj_track/utils.py function load_targets,
for i in range(0, 6):
tmp = np.asarray(tmp, dtype=np.float32) / 1e3
tmp = torch.from_numpy(tmp)#.to(device)
targets.append( tmp )
return targets, bbs
local variable 'tmp' referenced before assignment