Skip to content

Commit

Permalink
fix reload.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinlei Chen committed Aug 11, 2017
1 parent 4b6e7ce commit 011d240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model/train_val.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ def initialize(self, sess):

def restore(self, sess, sfile, nfile):
# Get the most recent snapshot and restore
np_paths = [sfile]
ss_paths = [nfile]
np_paths = [nfile]
ss_paths = [sfile]
# Restore model from snapshots
last_snapshot_iter = self.from_snapshot(sess, sfile, nfile)
# Set the learning rate
Expand Down

0 comments on commit 011d240

Please sign in to comment.