Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ace19-dev committed Aug 9, 2019
1 parent f7a52f5 commit d8cd0cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/train_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,7 @@ def custom_restore_fn(flags):
flags.checkpoint_model_scope + var.op.name): var
for var in variables_to_restore}

slim.assign_from_checkpoint_fn(flags.checkpoint_dir,
variables_to_restore)
slim.assign_from_checkpoint_fn(flags.checkpoint_dir, variables_to_restore)
tf.compat.v1.logging.info('Fine-tuning from %s.' % flags.checkpoint_dir)


Expand Down

0 comments on commit d8cd0cc

Please sign in to comment.