Batch_Parallel_LatticeLSTM icon indicating copy to clipboard operation
Batch_Parallel_LatticeLSTM copied to clipboard

How to deal with the ValueError:Expect torch.optim.lr_scheduler for LRScheduler. Got <class 'torch.optim.lr_scheduler.LambdaLR'>

Open cflyee opened this issue 5 months ago • 0 comments

如题,使用torch2.0.0,cuda为1.8,但torch版本可能过高导致传入的LRSchduler变成了LambdaLR,这种情况如何解决呢,如果降低torch版本又对应不上cuda......

cflyee avatar Sep 07 '24 09:09 cflyee