qq456cvb commited on
Commit
c61a391
·
verified ·
1 Parent(s): ae6a226

Update demo_dense_visualize.py

Browse files
Files changed (1) hide show
  1. demo_dense_visualize.py +1 -1
demo_dense_visualize.py CHANGED
@@ -152,7 +152,7 @@ class Tracker:
152
  self.rgbs.append(rgb_tensor.cpu())
153
 
154
  # import pdb; pdb.set_trace()
155
- rgb_tensor = (rgb_tensor - self.mean) / self.std
156
  return rgb_tensor
157
 
158
  @torch.no_grad()
 
152
  self.rgbs.append(rgb_tensor.cpu())
153
 
154
  # import pdb; pdb.set_trace()
155
+ rgb_tensor = (rgb_tensor - self.mean.cuda()) / self.std.cuda()
156
  return rgb_tensor
157
 
158
  @torch.no_grad()