The weighted sampling should only be used for training, to balance the classes in each batch, which hopefully helps the training.
The validation and test accuracy is calculated on the complete datasets without any sampling (shuffle is also not needed here, since the order of the data won’t change the metrics).