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

Commit

Permalink
Docstrings for SpeechRecognitionData (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris authored Jan 5, 2022
1 parent a040936 commit b931fc1
Show file tree
Hide file tree
Showing 6 changed files with 458 additions and 38 deletions.
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

0 comments on commit b931fc1

Please sign in to comment.