fontr package
FontR
Subpackages
- fontr.fontr package
- fontr.pipelines package
Submodules
fontr.datasets module
- class GoogleDriveDataset(filepath, file_name)[source]
Bases:
AbstractVersionedDataSet
- __init__(filepath, file_name)[source]
Creates a new instance of
AbstractVersionedDataSet
.- Parameters:
filepath (
str
) – Filepath in POSIX format to a file.version – If specified, should be an instance of
kedro.io.core.Version
. If itsload
attribute is None, the latest version will be loaded. If itssave
attribute is None, save version will be autogenerated.exists_function – Function that is used for determining whether a path exists in a filesystem.
glob_function – Function that is used for finding all paths in a filesystem, which match a given pattern.
- class KedroPytorchImageDataset(filepath, path_column=0, label_column=1, fs_args=None, credentials=None, transform=None, target_transform=None, return_labels=True)[source]
Bases:
Dataset
,AbstractDataSet
- __init__(filepath, path_column=0, label_column=1, fs_args=None, credentials=None, transform=None, target_transform=None, return_labels=True)[source]
torch.utils.data.Dataset mixed with kedro.io.AbstractDataSet. filepath should be a CSV listing paths of images relative to the directory of filepath in the first column. The optional label_column column can contain labels for the images. The images should be located in the directory mentioned before. TODO fix this docstring.
fontr.pipeline_registry module
Project pipelines.
fontr.settings module
File needed by kedro