Closed fxwfzsxyq closed 4 years ago
I am going to close this issue due to no response. Please feel free to reopen or create a new one if you have more questions.
@fxwfzsxyq 耗时是根据数据来定,在我们的实验中,文本框个数在100,文本最大长度50的设置下,8 卡V100, Batch Size 2*8,样本量在2100的情况下,训练阶段每个epoch是耗时35分钟。在测试阶段,CRF的Viterbi解码是比较耗时的步骤,其解码时间是和需要解码的文档长度成正比的。
您好,我发现训练时使用的GPU,验证的时候使用的CPU并且耗时较长,请问下有可能是验证的时候CRF解码的时候使用的cpu所以耗时较长吗?
我发现分布式运算时维特比解码速度很快,不到1秒: 但是单GPU运算时,维特比解码会放到CPU上去运行,速度大概40秒
@fxwfzsxyq 耗时是根据数据来定,在我们的实验中,文本框个数在100,文本最大长度50的设置下,8 卡V100, Batch Size 2*8,样本量在2100的情况下,训练阶段每个epoch是耗时35分钟。在测试阶段,CRF的Viterbi解码是比较耗时的步骤,其解码时间是和需要解码的文档长度成正比的。