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

Docstrings for SpeechRecognitionData #1097

Merged
merged 7 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

- Fixed a bug with `AudioClassificationData.from_numpy` ([#1096](https://github.com/PyTorchLightning/lightning-flash/pull/1096))

- Fixed a bug when using `SpeechRecognitionData.from_files` for training / validating / testing ([#1097](https://github.com/PyTorchLightning/lightning-flash/pull/1097))

- Fixed a bug when using `SpeechRecognitionData.from_csv` or `from_json` when predicting without targets ([#1097](https://github.com/PyTorchLightning/lightning-flash/pull/1097))

- Fixed a bug where `SpeechRecognitionData.from_datasets` did not work as expected ([#1097](https://github.com/PyTorchLightning/lightning-flash/pull/1097))

### Removed

## [0.6.0] - 2021-13-12
Expand Down
4 changes: 2 additions & 2 deletions flash/audio/speech_recognition/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def from_timit(
"""Downloads and loads the timit data set."""
download_data("https://pl-flash-data.s3.amazonaws.com/timit_data.zip", "./data")
return SpeechRecognitionData.from_json(
input_fields="file",
target_fields="text",
"file",
"text",
train_file="data/timit/train.json",
test_file="data/timit/test.json",
val_split=val_split,
Expand Down
Loading