Utils


singa.utils.update_progress(progress, info)

显示完成进程条和用户信息。

参数:

  • progress (float) – 完成度[0, 1],负数表示被中断,>=1表示以完成
  • info (str) – 待展示信息的字符串