ffcv
ffcv copied to clipboard
Access datapoints through indexing from `.beton` file without creating a DataLoader
Is it possible to access some datapoints from the .beton file without having to load them into a DataLoader?
The easiest way I can think to do this now would be to make a loader and pass indices=[i] where i is the index you want to access, and then access the first batch from that loader. Does that work for your use case?