fix #115: 隐藏允许的 exception
This commit is contained in:
parent
9bac0ffaa7
commit
f6ef9bca0c
@ -157,7 +157,7 @@ def run(rank, n_gpus, hps):
|
|||||||
# epoch_str = 1
|
# epoch_str = 1
|
||||||
# global_step = 0
|
# global_step = 0
|
||||||
except: # 如果首次不能加载,加载pretrain
|
except: # 如果首次不能加载,加载pretrain
|
||||||
traceback.print_exc()
|
# traceback.print_exc()
|
||||||
epoch_str = 1
|
epoch_str = 1
|
||||||
global_step = 0
|
global_step = 0
|
||||||
if rank == 0:
|
if rank == 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user