fix the load checkpoint

pull/1060/head
huangyuxin 3 years ago
parent 2ea3d67b34
commit d0bf506fee

@ -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