Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
2cece69e
"vscode:/vscode.git/clone" did not exist on "b5d03f598cb9f9c805e16352423391eaf841cb08"
Unverified
Commit
2cece69e
authored
Aug 03, 2021
by
Caroline Chen
Committed by
GitHub
Aug 03, 2021
Browse files
Fix Python spacing (#1670)
parent
9e7aeea1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pipeline_tacotron2/datasets.py
examples/pipeline_tacotron2/datasets.py
+1
-1
No files found.
examples/pipeline_tacotron2/datasets.py
View file @
2cece69e
...
@@ -124,7 +124,7 @@ def split_process_dataset(dataset: str,
...
@@ -124,7 +124,7 @@ def split_process_dataset(dataset: str,
def
text_mel_collate_fn
(
batch
:
Tuple
[
Tensor
,
Tensor
],
def
text_mel_collate_fn
(
batch
:
Tuple
[
Tensor
,
Tensor
],
n_frames_per_step
:
int
=
1
)
->
Tuple
[
Tensor
,
Tensor
,
Tensor
,
Tensor
,
Tensor
]:
n_frames_per_step
:
int
=
1
)
->
Tuple
[
Tensor
,
Tensor
,
Tensor
,
Tensor
,
Tensor
]:
"""The collate function padding and adjusting the data based on `n_frames_per_step`.
"""The collate function padding and adjusting the data based on `n_frames_per_step`.
Modified from https://github.com/NVIDIA/DeepLearningExamples
Modified from https://github.com/NVIDIA/DeepLearningExamples
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment