In your example you are initializing TinyImageNet99199Base with uper(TinyImageNet99199Train, self).__init__(inet_0) before wrapping inet_0 into Subset so inet = data.Subset(inet_0,  X_valid_indices) won’t be used at all.
Apply the Subset first and pass it to the base class.