Apply suggestions from code review

pull/3878/head
张春乔 10 months ago committed by GitHub
parent 61807b4394
commit f464241b55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -338,7 +338,9 @@ class DeepSpeech2Tester(DeepSpeech2Trainer):
try:
logger.info(f"Export code: {static_model.forward.code}")
except:
logger.info(f"Fail to print Export code, static_model.forward.code can not be run.")
logger.info(
f"Fail to print Export code, static_model.forward.code can not be run."
)
paddle.jit.save(static_model, self.args.export_path)

Loading…
Cancel
Save