DeepKE icon indicating copy to clipboard operation
DeepKE copied to clipboard

re/few-shot/run.py文件读取train.yaml配置文件中accumulate_grad_batches配置项的类型和代码中用到类型不一致

Open yinxiaolog opened this issue 3 years ago • 1 comments

Describe the bug

A clear and concise description of what the bug is.

train.yaml中为accumulate_grad_batches: '1',字符串类型,代码第99行当成int运算

Environment (please complete the following information):

  • OS: [e.g. mac / window]
  • Python Version [e.g. 3.6]

Screenshots

If applicable, add screenshots to help explain your problem.

image image image

Additional context

Add any other context about the problem here.

yinxiaolog avatar Dec 19 '22 12:12 yinxiaolog

感谢提issue,该问题已修复

tlk1997 avatar Dec 19 '22 12:12 tlk1997