You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I just noticed that this line will not work if the agent is trained on the gpu and than deployed on a cpu only system.
A simple fix for this would be: loaded_dict = torch.load(path, map_location=torch.device(self.device))
The text was updated successfully, but these errors were encountered:
Hey,
I just noticed that this line will not work if the agent is trained on the gpu and than deployed on a cpu only system.
A simple fix for this would be:
loaded_dict = torch.load(path, map_location=torch.device(self.device))
The text was updated successfully, but these errors were encountered: