Spaces:
Runtime error
Runtime error
Update demo_dense_visualize.py
Browse files- 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()
|