rename save_checkpoint_dir -> checkpoint_save_dir
This commit is contained in:
1 parent
201a2237a1
commit
9804b033a2
4 files changed
+5
-5
No files matched your search
@@ -171,5 +171,5 @@ class NECAgent(ValueOptimizationAgent):
|
||||
actions, returns)
|
||||
|
||||
def save_checkpoint(self, checkpoint_id):
|
||||
with open(os.path.join(self.ap.task_parameters.save_checkpoint_dir, str(checkpoint_id) + '.dnd'), 'wb') as f:
|
||||
with open(os.path.join(self.ap.task_parameters.checkpoint_save_dir, str(checkpoint_id) + '.dnd'), 'wb') as f:
|
||||
pickle.dump(self.networks['main'].online_network.output_heads[0].DND, f, pickle.HIGHEST_PROTOCOL)
|
||||
Reference in new issue
Block a user