This is a tensorpack.dataflow based data generator that takes a pandas DataFrame as input. The DataFrame has one or more columns that act as path components and a label column.
- path_func:
This function takes a pandas DataFrame row as an input and generates corresponding image path.