File "train.py", line 191, in main
    print('%s:%s' % key, value)
TypeError: not enough arguments for format string

对后面参数加上括号

print('%s:%s' % (key, value))

 

相关文章:

  • 2022-12-23
  • 2021-04-26
  • 2021-09-29
  • 2022-01-08
  • 2021-11-13
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案