CodexBloom - AI-Powered Q&A Platform

Unexpected NaNs in TensorFlow model training when using Adam optimizer

👀 Views: 3 💬 Answers: 1 📅 Created: 2025-06-05
tensorflow machine-learning deep-learning

I'm training a neural network using TensorFlow 2.8.0 and I've run into an issue where the loss suddenly becomes NaN after a few epochs. My model is quite simple...