Skip to content

Commit 14def98

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent afcd40d commit 14def98

File tree

13 files changed

+13
-0
lines changed

13 files changed

+13
-0
lines changed

generate_data_properties.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
Parameters from hparam.py will be used
66
"""
7+
78
import argparse
89
import os
910
import sys

hifigandenoiser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Waveglow style denoiser can be used to remove the artifacts from the HiFiGAN generated audio."""
2+
23
import torch
34

45
from src.utilities.stft import STFT

src/data_module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Contains PyTorch-Lightning's datamodule and dataloaders
55
"""
6+
67
import nltk
78
import pytorch_lightning as pl
89
from torch.utils.data import DataLoader

src/hparams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Hyper Parameters for the experiment
55
"""
6+
67
import os
78
from argparse import Namespace
89

src/model/HMMComponents/Decoder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Parameter Model This model takes state as an input and generates its parameters i.e mean, standard deviation and
22
the probability of transition to the next state."""
3+
34
import torch
45
import torch.nn as nn
56
import torch.nn.functional as F

src/model/HMMComponents/TransitionModel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
This network is responsible for the models response of whether to switch to next state or keep emitting at the current
44
state.
55
"""
6+
67
import torch
78
import torch.nn as nn
89

src/model/layers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
Layer modules used in the model design
44
"""
5+
56
import torch
67
import torch.nn as nn
78
from librosa.filters import mel as librosa_mel_fn

src/training_module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
This file contains PyTorch Lightning's main module where code
55
of the main model is implemented
66
"""
7+
78
import os
89
from argparse import Namespace
910

src/utilities/data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Utilities for processing of Data
55
"""
6+
67
import random
78

89
import numpy as np

src/utilities/functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
File for custom utility functions to improve numerical precision
44
"""
5+
56
import torch
67

78

0 commit comments

Comments
 (0)