load_data
load_data(path:Path=Path('.'), fn='data')
path
Path
Path('.')
fn
'data'
Opens pkl file containing exported Transform information
pkl
Transform
load_model
load_model(path:Path='.', fn='model', cpu=True)
'.'
'model'
cpu
True
These generate our transform "pipelines" (as we're not using fastcore's Pipeline) to pass our data through
fastcore
Pipeline
get_tfm
get_tfm(key, tfms)
key
tfms
Makes a transform from key. Class or function must be in global memory (imported)
generate_pipeline
generate_pipeline(tfms, order=True)
order
Generate pipe of transforms from dict and (potentially) sort them
pipe
make_pipelines
make_pipelines(tfms)
Make item and batch transform pipelines
item
batch