Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 6, 2022
1 parent e85349d commit 2be6d77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion flash/tabular/classification/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def from_dict(
) -> "TabularClassificationData":
"""Creates a :class:`~flash.tabular.classification.data.TabularClassificationData` object from the given
lists.
.. note::
The ``categorical_fields``, ``numerical_fields``, and ``target_fields`` do not need to be provided if
``parameters`` are passed instead. These can be obtained from the
Expand Down Expand Up @@ -418,4 +419,3 @@ def from_dict(
transform_kwargs=transform_kwargs,
**data_module_kwargs,
)

1 change: 0 additions & 1 deletion flash/tabular/classification/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@ def load_sample(self, sample: Dict[str, Any]) -> Any:
if DataKeys.TARGET in sample:
sample[DataKeys.TARGET] = self.format_target(sample[DataKeys.TARGET])
return sample

0 comments on commit 2be6d77

Please sign in to comment.