Actually I applied the softmax on the predicted data before the calculations of  ROC/AUC but still for one sample for testing and training, it gives nan. However, when I increase the number of samples it start giving new good values like above 70% but the loss still also high?