Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Don't use dill for pickle
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinpape committed Aug 7, 2018
1 parent bfa1867 commit 6792b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inferno/trainers/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1593,8 +1593,8 @@ def save(self, exclude_loader=True, stash_best_checkpoint=True):

# Save the state dictionary
torch.save(self.get_config(exclude_loader=exclude_loader),
checkpoint_path,
pickle_module=dill)
checkpoint_path)
# pickle_module=dill)

self.callbacks.call(self.callbacks.END_OF_SAVE,
save_to_directory=self._save_to_directory,
Expand Down

0 comments on commit 6792b97

Please sign in to comment.