optimize: logger format

This commit is contained in:
源文雨 2023-09-02 12:18:56 +08:00
parent 46f42fff76
commit 3f78b73ec7
2 changed files with 2 additions and 2 deletions

View File

@ -199,4 +199,4 @@ for idx, name in enumerate(
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) #

View File

@ -343,7 +343,7 @@ class RVC:
)
t5 = ttime()
logger.info(
"Spent time: fea = %s, index = %s, f0 = %s, model = %s",
"Spent time: fea = %.2fs, index = %.2fs, f0 = %.2fs, model = %.2fs",
t2 - t1,
t3 - t2,
t4 - t3,