Skip to content
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
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/libs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
""" This package contains modules and subpackages used in kaldi scripts.
"""

import common
from . import common

__all__ = ["common"]
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/libs/nnet3/report/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# Copyright 2016 Vimal Manohar
# Apache 2.0.

import log_parse
from . import log_parse

__all__ = ["log_parse"]
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/libs/nnet3/train/chain_objf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
deep neural network acoustic model with chain objective.
"""

import acoustic_model
from . import acoustic_model

__all__ = ["acoustic_model"]
3 changes: 1 addition & 2 deletions egs/wsj/s5/steps/libs/nnet3/train/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
import shutil

import libs.common as common_lib
import libs.nnet3.train.dropout_schedule as dropout_schedule
from dropout_schedule import *
from libs.nnet3.train.dropout_schedule import *

logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
neural networks with frame-level objectives.
"""

import common
import raw_model
import acoustic_model
from . import common
from . import raw_model
from . import acoustic_model

__all__ = ["common", "raw_model", "acoustic_model"]
14 changes: 7 additions & 7 deletions egs/wsj/s5/steps/libs/nnet3/xconfig/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# 2016 Yiming Wang
# Apache 2.0.

from basic_layers import *
from convolution import *
from attention import *
from lstm import *
from gru import *
from stats_layer import *
from trivial_layers import *
from .basic_layers import *
from .convolution import *
from .attention import *
from .lstm import *
from .gru import *
from .stats_layer import *
from .trivial_layers import *