fastnlp / fastNLP

fastNLP: A Modularized and Extensible NLP Framework. Currently still in incubation.
https://gitee.com/fastnlp/fastNLP
Apache License 2.0
3.05k stars 451 forks source link

dist_trainer缺少成员变量batch_per_epoch,导致callback lr_finder.lr_gen(line 766)函数报错 #385

Open ccyousa opened 2 years ago

ccyousa commented 2 years ago

如题。

yhcc commented 2 years ago

不建议在DistTrainer中使用LRFinderCallback,在分布式下这个功能的正确性无法得到保证。

ccyousa commented 2 years ago

是这样啊,没仔细看lr finder的实现。。