Skip to content

Commit

Permalink
Fix imports order.
Browse files Browse the repository at this point in the history
Signed-off-by: Stanislav Beliaev <stasbelyaev96@gmail.com>
  • Loading branch information
stasbel committed Jan 22, 2020
1 parent 37d99b2 commit 410dbba
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion collections/nemo_asr/nemo_asr/data_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

from functools import partial

import nemo
import torch

import nemo
from nemo.backends.pytorch import DataLayerNM
from nemo.core import DeviceType
from nemo.core.neural_types import *
Expand Down
3 changes: 2 additions & 1 deletion collections/nemo_asr/nemo_asr/parts/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import os
from typing import Optional, List, Union

import nemo
import pandas as pd

import nemo
from nemo_asr.parts import manifest
from nemo_asr.parts import parsers

Expand Down
2 changes: 1 addition & 1 deletion collections/nemo_asr/nemo_asr/parts/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import os

import kaldi_io
import nemo
import torch
from torch.utils.data import Dataset

import nemo
from nemo_asr.parts import collections
from nemo_asr.parts import parsers

Expand Down
3 changes: 2 additions & 1 deletion collections/nemo_asr/nemo_asr/parts/perturb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
import random

import librosa
from scipy import signal

from nemo_asr.parts import collections
from nemo_asr.parts import parsers
from scipy import signal

from .segment import AudioSegment

Expand Down
3 changes: 2 additions & 1 deletion collections/nemo_tts/nemo_tts/parts/datasets.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright (c) 2019 NVIDIA Corporation
import torch
from torch.utils.data import Dataset

from nemo_asr.parts import collections
from nemo_asr.parts import parsers
from nemo_asr.parts.segment import AudioSegment
from torch.utils.data import Dataset


class AudioOnlyDataset(Dataset):
Expand Down

0 comments on commit 410dbba

Please sign in to comment.