optimize: logger format
This commit is contained in:
parent
46f42fff76
commit
3f78b73ec7
@ -199,4 +199,4 @@ for idx, name in enumerate(
|
|||||||
wavfile.write("ft-mi-no_opt-no_dropout-%s.wav" % name, 40000, audio) ##
|
wavfile.write("ft-mi-no_opt-no_dropout-%s.wav" % name, 40000, audio) ##
|
||||||
|
|
||||||
|
|
||||||
logger.debug(ta0, ta1, ta2) #
|
logger.debug("%.2fs %.2fs %.2fs", ta0, ta1, ta2) #
|
||||||
|
@ -343,7 +343,7 @@ class RVC:
|
|||||||
)
|
)
|
||||||
t5 = ttime()
|
t5 = ttime()
|
||||||
logger.info(
|
logger.info(
|
||||||
"Spent time: fea = %s, index = %s, f0 = %s, model = %s",
|
"Spent time: fea = %.2fs, index = %.2fs, f0 = %.2fs, model = %.2fs",
|
||||||
t2 - t1,
|
t2 - t1,
|
||||||
t3 - t2,
|
t3 - t2,
|
||||||
t4 - t3,
|
t4 - t3,
|
||||||
|
Loading…
Reference in New Issue
Block a user