Loader

class plugins.train.trainer.trainer_config.Loader(helptext: str)

Bases: GlobalSection

trainer.loader section

Attributes Summary

helptext

num_processes

pre_fetch

Attributes Documentation

Parameters:

helptext (str)

helptext: str = 'Data Loader Options.\nControls how training data is loaded from disk'
num_processes = ConfigItem(datatype=<class 'int'>, default=4, group='data loading', info='Number of processors to use for loading and processing data from disk. 0 to just use the Main process.', choices=[], gui_radio=False, min_max=(0, 32), rounding=1, fixed=True, _value=4, _name='')
Return type:

T

pre_fetch = ConfigItem(datatype=<class 'int'>, default=2, group='data loading', info='The Number of items that each loader should pre-fetch and hold in RAM. Default is usually fine unless you have disk contention with variable read speeds.', choices=[], gui_radio=False, min_max=(1, 10), rounding=1, fixed=True, _value=2, _name='')
Return type:

T