class documentation
Base class for brain methods.
Parameters | |
config | an BrainMethodConfig |
Class Method | run |
The BaseRunInfo class associated with this class. |
Class Method | _patch |
A function that can patch any ReferenceField issues with a dataset's runs. |
Class Method | _results |
The fiftyone.core.dataset.Dataset field that stores the results cache for these runs. |
Class Method | _run |
A string to use when referring to these runs in log messages. |
Class Method | _runs |
The fiftyone.core.odm.dataset.DatasetDocument field in which these runs are stored. |
Inherited from BaseRun
:
Class Method | delete |
Deletes the results associated with the given run key from the collection. |
Class Method | delete |
Deletes all runs from the collection. |
Class Method | get |
Gets the BaseRunInfo for the given key on the collection. |
Class Method | has |
Determines whether BaseRunResults for the given key are cached on the collection. |
Class Method | list |
Returns the list of run keys on the given collection. |
Class Method | load |
Loads the BaseRunResults for the given key on the collection. |
Class Method | load |
Loads the fiftyone.core.view.DatasetView on which the specified run was performed. |
Class Method | save |
Saves the run information on the collection. |
Class Method | save |
Saves the run results on the collection. |
Class Method | update |
Updates the BaseRunConfig for the given run on the collection. |
Class Method | update |
Replaces the key for the given run with a new key. |
Method | cleanup |
Cleans up the results of the run with the given key from the collection. |
Method | ensure |
Ensures that any necessary packages to execute this run are installed. |
Method | ensure |
Ensures that any necessary packages to use existing results for this run are installed. |
Method | get |
Gets the fields that were involved in the given run. |
Method | register |
Registers a run of this method under the given key on the given collection. |
Method | rename |
Performs any necessary operations required to rename this run's key. |
Method | validate |
Validates that the collection can accept this run. |
Class Method | _get |
Undocumented |
Class Method | _get |
Undocumented |
Class Method | _get |
Undocumented |
Method | _validate |
Undocumented |
Method | _validate |
Subclass-specific validation when a run with the given key already exists. |
Inherited from Configurable
(via BaseRun
):
Method | __init__ |
Undocumented |
Instance Variable | config |
Undocumented |
overrides
fiftyone.core.runs.BaseRun._run_str
A string to use when referring to these runs in log messages.
overrides
fiftyone.core.runs.BaseRun._runs_field
The fiftyone.core.odm.dataset.DatasetDocument
field in
which these runs are stored.