Hello,when I run the code, i encounter an error, score_dict = eval_dataloader(model_for_eval, loader_dict['query'], loader_dict['gallery'], deepcopy(cfg.eval))
TypeError:Device() received an invalid combination of arguments - got(),but expected one of
(torch.device device)
(str type,int index)
In cfg.eval, 'device':torch.device('cuda')
Hello,when I run the code, i encounter an error, score_dict = eval_dataloader(model_for_eval, loader_dict['query'], loader_dict['gallery'], deepcopy(cfg.eval))
TypeError:Device() received an invalid combination of arguments - got(),but expected one of (torch.device device) (str type,int index) In cfg.eval, 'device':torch.device('cuda')