mirror of
https://github.com/wassname/DeepRL.git
synced 2026-09-09 11:13:47 +08:00
Generate dataset for video prediction
This commit is contained in:
+1
-1
@@ -112,4 +112,4 @@ class DQNAgent:
|
||||
|
||||
def save(self, file_name):
|
||||
with open(file_name, 'wb') as f:
|
||||
pickle.dump(self.learning_network.state_dict(), f)
|
||||
torch.save(self.learning_network.state_dict(), f)
|
||||
|
||||
Reference in New Issue
Block a user