DeepKE
DeepKE copied to clipboard
re/few-shot/run.py文件读取train.yaml配置文件中accumulate_grad_batches配置项的类型和代码中用到类型不一致
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.

Additional context
Add any other context about the problem here.
感谢提issue,该问题已修复