Data core | fastai - Welcome to fastai | fastai
https://docs.fast.ai/data.core.htmlCore functionality for gathering data. The classes here provide functionality for applying a list of transforms to a set of items ( TfmdLists, Datasets) or a DataLoader ( TfmdDl) as well as the base class used to gather the data for model training: DataLoaders. show_batch is a type-dispatched function that is responsible for showing decoded ...
Data block | fastai - Welcome to fastai | fastai
https://docs.fast.ai/data.block.html07.11.2021 · To build a DataBlock you need to give the library four things: the types of your input/labels, and at least two functions: get_items and splitter.You may also need to include get_x and get_y or a more generic list of getters that are applied to the results of get_items.. Once those are provided, you automatically get a Datasets or a DataLoaders: