Hello, sorry for the late answer.
In your case, if I understand it well, you have equal number of images for every class, so the weights should be uniform (like weight of 1 for every class, which is the weights by default using cross entropy loss).
It is difficult to debug it further without you showing some code of your training and model.