Skip to content

Commit

Permalink
Merge pull request #200 from didi/solver_utils_fix
Browse files Browse the repository at this point in the history
fix solver utils bugs
  • Loading branch information
zh794390558 authored Mar 17, 2020
2 parents 41420fa + 214a65a commit a88c8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delta/utils/solver/utils/solver_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_most_recently_modified_file_matching_pattern(dir_name,

tf_checkpoint_file = tf.train.latest_checkpoint(dir_name)
if tf_checkpoint_file is not None and re.match(file_name_regex,
tf_checkpoint_file.name):
tf_checkpoint_file):
return tf_checkpoint_file

file_list = [
Expand Down

0 comments on commit a88c8cb

Please sign in to comment.