modified for site test
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -45,8 +45,7 @@ class ReIDInterface:
|
||||
])
|
||||
|
||||
|
||||
self.model = nn.DataParallel(model).to(self.device)
|
||||
|
||||
# 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