modify dotrack module
This commit is contained in:
@ -46,6 +46,8 @@ class ReIDInterface:
|
||||
|
||||
|
||||
self.model = nn.DataParallel(model).to(self.device)
|
||||
|
||||
self.model = model
|
||||
self.model.load_state_dict(torch.load(self.model_path, map_location=self.device))
|
||||
self.model.eval()
|
||||
|
||||
|
Reference in New Issue
Block a user