mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-13 12:02:21 +00:00
updated
This commit is contained in:
parent
88880d3bf8
commit
da919baec3
@ -1,7 +1,7 @@
|
||||
import numpy as np
|
||||
import torch
|
||||
|
||||
from matcha.utils.monotonic_align.core import maximum_path_c
|
||||
from .core import maximum_path_c
|
||||
|
||||
|
||||
def maximum_path(value, mask):
|
||||
|
@ -1,7 +1,12 @@
|
||||
# from distutils.core import setup
|
||||
# from Cython.Build import cythonize
|
||||
# import numpy
|
||||
# Copied from
|
||||
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
|
||||
from distutils.core import setup
|
||||
|
||||
# setup(name='monotonic_align',
|
||||
# ext_modules=cythonize("core.pyx"),
|
||||
# include_dirs=[numpy.get_include()])
|
||||
import numpy
|
||||
from Cython.Build import cythonize
|
||||
|
||||
setup(
|
||||
name="monotonic_align",
|
||||
ext_modules=cythonize("core.pyx"),
|
||||
include_dirs=[numpy.get_include()],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user