JH-LEE-KR / l2p-pytorch

PyTorch Implementation of Learning to Prompt (L2P) for Continual Learning @ CVPR22
Apache License 2.0
176 stars 22 forks source link

Loss is NaN. #2

Closed vgthengane closed 1 year ago

vgthengane commented 2 years ago

Hi @Lee-JH-KR,

Thank you for realising the PyTorch version of L2P.

I am getting the following error. Do you have any suggestions for it?

Loss is nan, stopping training.

I really appreciate any help you can provide.

JH-LEE-KR commented 2 years ago

Hi, thanks for your comment.

As a result of running my code again, there was no issue like Loss is nan.

Did you modify the code? If you, which part did you modify? I need more informations.

If you have any additional issue, please comment it.

Best, Jaeho Lee.