Shortcuts

flash.core.data

flash.core.data.base_viz

BaseVisualization

This Base Class is used to create visualization tool on top of InputTransform hooks.

flash.core.data.batch

default_uncollate

This function is used to uncollate a batch into samples.

flash.core.data.callback

BaseDataFetcher

This class is used to profile InputTransform hook outputs.

ControlFlow

FlashCallback

FlashCallback is an extension of pytorch_lightning.callbacks.Callback.

flash.core.data.data_module

DataModule

A basic DataModule class for all Flash tasks.

flash.core.data.utilities.classification

TargetFormatter

A TargetFormatter is used to convert targets of a given type to a standard format required by the loss function.

SingleNumericTargetFormatter

A TargetFormatter for targets that contain a single numeric value (the class index).

SingleLabelTargetFormatter

A TargetFormatter for targets that contain a single string label.

SingleBinaryTargetFormatter

A TargetFormatter for targets that are one-hot encoded binaries.

MultiNumericTargetFormatter

A TargetFormatter for targets that contain multiple numeric values (the class indices).

MultiLabelTargetFormatter

A TargetFormatter for targets that contain multiple string labels in a list.

CommaDelimitedMultiLabelTargetFormatter

A TargetFormatter for targets that contain a string with multiple comma-delimited labels.

SpaceDelimitedTargetFormatter

A TargetFormatter for targets that contain a string with multiple space-delimited labels.

MultiBinaryTargetFormatter

A TargetFormatter for targets that are multi-hot binary.

get_target_formatter

Get the TargetFormatter object to use for the given targets.

flash.core.data.properties

Properties

flash.core.data.splits

SplitDataset

SplitDataset is used to create Dataset Subset using indices.

flash.core.data.transforms

ApplyToKeys

The ApplyToKeys class is an nn.Sequential which applies the given transforms to the given keys from the input.

KorniaParallelTransforms

The KorniaParallelTransforms class is an nn.Sequential which will apply the given transforms to each input (to .forward) in parallel, whilst sharing the random state (._params).

kornia_collate

Kornia transforms add batch dimension which need to be removed.

flash.core.data.utils

FuncModule

This class is used to wrap a callable within a nn.Module and apply the wrapped function in __call__

convert_to_modules

download_data

Download file with progressbar.

flash.core.data.io.input

Input

DataKeys

The DataKeys enum contains the keys that are used by built-in data sources to refer to inputs and targets.

InputFormat

The InputFormat enum contains the data source names used by all of the default from_* methods in DataModule.

flash.core.data.io.classification_input

ClassificationInputMixin

The ClassificationInputMixin class provides utility methods for handling classification targets.

flash.core.data.io.input_transform

InputTransform

flash.core.data.io.output

Output

An Output encapsulates a single transform() method which is used to convert the model output into the desired output format when predicting.

flash.core.data.io.output_transform

OutputTransform

The OutputTransform encapsulates all the data processing logic that should run after the model.

Read the Docs v: 0.7.1
Versions
latest
stable
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
docs-fix_typing
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.