"Hello, thank you for your excellent work. I encountered an issue during use, and I kindly ask for your help in solving it. The model's loss value turns into NaN. How can this be resolved? Sometimes the loss value is valid, but other times it becomes NaN. Thank you."