Closed chetanchandc closed 2 years ago
Found solution!
In ensemble_model.py: from lines 286-287 286 - self.model_list[idx].generator.load_state_dict(torch.load(filename` + "_generator", map_location= torch.device('cuda:0')) 287 - self.model_list[idx].optimizer_G.load_state_dict(torch.load(filename + "_generator_optimizer", map_location=torch.device('cuda:0'))
Modified the above to 286 - self.model_list[idx].generator.load_state_dict(torch.load(filename` + "_generator", map_location= torch.device('cpu'))) 287 - self.model_list[idx].optimizer_G.load_state_dict(torch.load(filename + "_generator_optimizer", map_location=torch.device('cpu')))
Thanks!
Hi, when I´m running the node , the above error arises. Would anyone let me know exactly what´s the issue is about? Thanks!