Skip to content

Commit

Permalink
Update simplify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangJiameng authored Jul 4, 2022
1 parent 065dedc commit 89a446b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dpgen/simplify/simplify.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ def post_model_devi(iter_index, jdata, mdata):
pick_idx = idx[:iter_pick_number]
rest_idx = idx[iter_pick_number:]
if(counter['candidate'] == 0) :
dlog.info("no candidate")
dlog.info("no candidate")
else :
dlog.info("total candidate {0:6d} picked {1:6d} ({2:6.2f} %) rest {3:6d} ({4:6.2f} % )".format\
dlog.info("total candidate {0:6d} picked {1:6d} ({2:6.2f} %) rest {3:6d} ({4:6.2f} % )".format\
(counter['candidate'], len(pick_idx), float(len(pick_idx))/counter['candidate']*100., len(rest_idx), float(len(rest_idx))/counter['candidate']*100.))

# dump the picked candinate data
Expand Down

0 comments on commit 89a446b

Please sign in to comment.