修改跟踪算法cpu gpu切换错误
This commit is contained in:
@ -108,7 +108,7 @@ class FeatsInterface:
|
||||
|
||||
# patch = patch.to(device=self.device).half()
|
||||
if str(self.device) != "cpu":
|
||||
patch = patch.to(device=self.device).half()
|
||||
patch = patch.to(device=self.device)
|
||||
else:
|
||||
patch = patch.to(device=self.device)
|
||||
|
||||
|
Reference in New Issue
Block a user