Skip to content

Commit

Permalink
test load_spawn_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
lezwon committed Aug 14, 2020
1 parent 056bf5e commit 8f83bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/accelerators/tpu_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __load_weights_on_main_process(self):

# load weights if not interrupted
if self.trainer.on_colab_kaggle and not self.trainer.testing:
self.trainer.load_spawn_weights(model)
model = self.trainer.load_spawn_weights(model)

self.trainer.model = model

Expand Down

0 comments on commit 8f83bd2

Please sign in to comment.