webdataset
webdataset copied to clipboard
[FEATURE] Add NamedTuple or Dataclass conversion
Hi.
Just wondering if a conversion function to NamedTuple or Dataclass types is possible? We currently have to_tuple and to_dict, so maybe to_namedtuple/ to_dataclass would work, too?
Cheers, C
That's a good suggestion.