VLMEvalKit
VLMEvalKit copied to clipboard
很多评测数据集的post_check函数报错
我在用Qwen2.5-VL-Instruct-3B模型评测时,在很多数据集的post_check函数中遇到下面的警告,例如MathVision mathv.py: post_check - 128: <class 'ValueError'>: signal only works in main thread of the main interpreter
不清楚为什么会出现这个警告,以及这个警告是否会影响评测的精度?
+1
Changing the line to @timeout_decorator.timeout(30, use_signals=False) at https://github.com/open-compass/VLMEvalKit/blob/7c47fcaedcd9e3eff1546cb41da84c090a64679c/vlmeval/dataset/utils/mathv.py#L14
fixes this error on MathVision.
See https://github.com/pnpnpn/timeout-decorator#multithreading