Merge pull request #1060 from Jackwaterveg/fix_bug

fix the load checkpoint
pull/1061/head
Hui Zhang 3 years ago committed by GitHub
commit 1d7ce0eba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,10 +94,7 @@ class Checkpoint():
"""
configs = {}
if len(checkpoint_path) == 0 or checkpoint_path == "None":
checkpoint_path = None
if checkpoint_path is not None:
if checkpoint_path:
pass
elif checkpoint_dir is not None and record_file is not None:
# load checkpint from record file

Loading…
Cancel
Save