thanks for reply
because in the function defined for training process the model accuracy of training set and validation set in each epoch should be printed, but when I run the above code, these parameters are not printed.
Also, after the training process, we will need to call the trained model for printing the class probabilities, but when I type the model after the above code, I get error.