|
@@ -33,8 +33,8 @@ import sys
|
|
|
from os.path import abspath, dirname
|
|
from os.path import abspath, dirname
|
|
|
# enabling modules discovery from global entrypoint
|
|
# enabling modules discovery from global entrypoint
|
|
|
sys.path.append(abspath(dirname(__file__)+'/../'))
|
|
sys.path.append(abspath(dirname(__file__)+'/../'))
|
|
|
-from common.layers import ConvNorm, LinearNorm
|
|
|
|
|
-from common.utils import to_gpu, get_mask_from_lengths
|
|
|
|
|
|
|
+from tacotron2_common.layers import ConvNorm, LinearNorm
|
|
|
|
|
+from tacotron2_common.utils import to_gpu, get_mask_from_lengths
|
|
|
|
|
|
|
|
|
|
|
|
|
class LocationLayer(nn.Module):
|
|
class LocationLayer(nn.Module):
|