Check for NaN for val_loss and val_corr, if either is NaN, return 0. Also, not use abs.
Check for NaN for val_loss and val_corr, if either is NaN, return 0. Also, not use abs.

ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor