If you are initializing weight for Cross Entropy with proportion to  1 over class prior (1/p_i) for each class, then you’re minimizing average recall over all class.
and  accuracy is good estimation of average recall if you have plenty of data. If not, you should calculate average recall.
You can use ignite 1 confusion matrix to calculate any classification metric you want.