i have a similar situation and i want to be able to access an attribute programatically whether it is in ConcatDataset or not.
is it possible?
i was thinking about defining a parent class and modifying it’s get attribute function such that it checks whether the child class is a ConcatDataset object or Dataset object and modifies the get attribute class in accordance.
how would you go about doing that?