Fix stupid merging bug

This commit is contained in:
Yin Li 2020-02-09 23:07:40 -05:00
parent 16b82fcc56
commit b41e85eda5

View File

@ -240,7 +240,7 @@ def gpu_worker(local_rank, node, args):
logger.close()
good = min_loss is None or epoch_loss[0] < min_loss[0]
if good and epoch >= args.adv_delay:
if good:
min_loss = epoch_loss
state = {