From 4fac57fceb87c0bd5bce8e4205964bb310c5f590 Mon Sep 17 00:00:00 2001 From: csukuangfj Date: Thu, 30 Jan 2025 00:46:22 +0000 Subject: [PATCH] deploy: 3f79fbbd6d14d399f9fe4fb055ee2b132a30e2a6 --- _static/pygments.css | 66 ++++++++++++++++++++-------------------- cpu-cn.html | 10 ++++++ cpu.html | 10 ++++++ cuda-cn.html | 10 ++++++ cuda.html | 10 ++++++ usage/fbank_options.html | 32 +++++++++---------- 6 files changed, 89 insertions(+), 49 deletions(-) diff --git a/_static/pygments.css b/_static/pygments.css index 0d49244..5f2b0a2 100644 --- a/_static/pygments.css +++ b/_static/pygments.css @@ -6,26 +6,26 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .highlight .hll { background-color: #ffffcc } .highlight { background: #eeffcc; } .highlight .c { color: #408090; font-style: italic } /* Comment */ -.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .err { border: 1px solid #F00 } /* Error */ .highlight .k { color: #007020; font-weight: bold } /* Keyword */ -.highlight .o { color: #666666 } /* Operator */ +.highlight .o { color: #666 } /* Operator */ .highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ .highlight .cp { color: #007020 } /* Comment.Preproc */ .highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ +.highlight .cs { color: #408090; background-color: #FFF0F0 } /* Comment.Special */ .highlight .gd { color: #A00000 } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */ -.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gr { color: #F00 } /* Generic.Error */ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ .highlight .gi { color: #00A000 } /* Generic.Inserted */ -.highlight .go { color: #333333 } /* Generic.Output */ -.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .go { color: #333 } /* Generic.Output */ +.highlight .gp { color: #C65D09; font-weight: bold } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ -.highlight .gt { color: #0044DD } /* Generic.Traceback */ +.highlight .gt { color: #04D } /* Generic.Traceback */ .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ @@ -33,43 +33,43 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #902000 } /* Keyword.Type */ .highlight .m { color: #208050 } /* Literal.Number */ -.highlight .s { color: #4070a0 } /* Literal.String */ -.highlight .na { color: #4070a0 } /* Name.Attribute */ +.highlight .s { color: #4070A0 } /* Literal.String */ +.highlight .na { color: #4070A0 } /* Name.Attribute */ .highlight .nb { color: #007020 } /* Name.Builtin */ -.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ -.highlight .no { color: #60add5 } /* Name.Constant */ -.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ -.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.highlight .nc { color: #0E84B5; font-weight: bold } /* Name.Class */ +.highlight .no { color: #60ADD5 } /* Name.Constant */ +.highlight .nd { color: #555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #D55537; font-weight: bold } /* Name.Entity */ .highlight .ne { color: #007020 } /* Name.Exception */ -.highlight .nf { color: #06287e } /* Name.Function */ +.highlight .nf { color: #06287E } /* Name.Function */ .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ -.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.highlight .nn { color: #0E84B5; font-weight: bold } /* Name.Namespace */ .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ -.highlight .nv { color: #bb60d5 } /* Name.Variable */ +.highlight .nv { color: #BB60D5 } /* Name.Variable */ .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .w { color: #BBB } /* Text.Whitespace */ .highlight .mb { color: #208050 } /* Literal.Number.Bin */ .highlight .mf { color: #208050 } /* Literal.Number.Float */ .highlight .mh { color: #208050 } /* Literal.Number.Hex */ .highlight .mi { color: #208050 } /* Literal.Number.Integer */ .highlight .mo { color: #208050 } /* Literal.Number.Oct */ -.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ -.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ -.highlight .sc { color: #4070a0 } /* Literal.String.Char */ -.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ -.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ -.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ -.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ -.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ -.highlight .sx { color: #c65d09 } /* Literal.String.Other */ +.highlight .sa { color: #4070A0 } /* Literal.String.Affix */ +.highlight .sb { color: #4070A0 } /* Literal.String.Backtick */ +.highlight .sc { color: #4070A0 } /* Literal.String.Char */ +.highlight .dl { color: #4070A0 } /* Literal.String.Delimiter */ +.highlight .sd { color: #4070A0; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4070A0 } /* Literal.String.Double */ +.highlight .se { color: #4070A0; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #4070A0 } /* Literal.String.Heredoc */ +.highlight .si { color: #70A0D0; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #C65D09 } /* Literal.String.Other */ .highlight .sr { color: #235388 } /* Literal.String.Regex */ -.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ +.highlight .s1 { color: #4070A0 } /* Literal.String.Single */ .highlight .ss { color: #517918 } /* Literal.String.Symbol */ .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ -.highlight .fm { color: #06287e } /* Name.Function.Magic */ -.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ -.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ -.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ -.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ +.highlight .fm { color: #06287E } /* Name.Function.Magic */ +.highlight .vc { color: #BB60D5 } /* Name.Variable.Class */ +.highlight .vg { color: #BB60D5 } /* Name.Variable.Global */ +.highlight .vi { color: #BB60D5 } /* Name.Variable.Instance */ +.highlight .vm { color: #BB60D5 } /* Name.Variable.Magic */ .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/cpu-cn.html b/cpu-cn.html index 0037b93..c2dfa9c 100644 --- a/cpu-cn.html +++ b/cpu-cn.html @@ -1,3 +1,13 @@ +kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp313-cp313-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp312-cp312-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp311-cp311-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp310-cp310-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp39-cp39-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cpu.torch2.5.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cpu.torch2.5.1-cp312-cp312-win_amd64.whl
kaldifeat-1.25.5.dev20241126+cpu.torch2.5.1-cp312-cp312-macosx_11_0_arm64.whl
diff --git a/cpu.html b/cpu.html index 0aeb14b..287d118 100644 --- a/cpu.html +++ b/cpu.html @@ -1,3 +1,13 @@ +kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp313-cp313-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp312-cp312-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp311-cp311-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp310-cp310-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp39-cp39-macosx_11_0_arm64.whl
+kaldifeat-1.25.5.dev20250130+cpu.torch2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cpu.torch2.5.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cpu.torch2.5.1-cp312-cp312-win_amd64.whl
kaldifeat-1.25.5.dev20241126+cpu.torch2.5.1-cp312-cp312-macosx_11_0_arm64.whl
diff --git a/cuda-cn.html b/cuda-cn.html index 69215af..e63dc6c 100644 --- a/cuda-cn.html +++ b/cuda-cn.html @@ -1,3 +1,13 @@ +kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cuda12.4.torch2.5.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cuda12.4.torch2.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cuda12.4.torch2.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
diff --git a/cuda.html b/cuda.html index d0b3f04..1292b1a 100644 --- a/cuda.html +++ b/cuda.html @@ -1,3 +1,13 @@ +kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda12.4.torch2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+kaldifeat-1.25.5.dev20250130+cuda11.8.torch2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cuda12.4.torch2.5.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cuda12.4.torch2.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kaldifeat-1.25.5.dev20241126+cuda12.4.torch2.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
diff --git a/usage/fbank_options.html b/usage/fbank_options.html index 7723681..305e5c4 100644 --- a/usage/fbank_options.html +++ b/usage/fbank_options.html @@ -179,7 +179,7 @@ cpu --energy-floor : Floor on energy (absolute, not relative) in FBANK computation. Only makes a difference if --use-energy=true; only necessary if --dither=0.0. Suggested values: 0.1 or 1.0 (float, default = 0) --frame-length : Frame length in milliseconds (float, default = 25) --frame-shift : Frame shift in milliseconds (float, default = 10) - --high-freq : High cutoff frequency for mel bins (if <= 0, offset from Nyquist) (float, default = 0) + --high-freq : High cutoff frequency for mel bins (if <= 0, offset from Nyquist) (float, default = 0) --htk-compat : If true, put energy last. Warning: not sufficient to get HTK compatible features (need to change other parameters). (bool, default = false) --low-freq : Low cutoff frequency for mel bins (float, default = 20) --max-feature-vectors : Memory optimization. If larger than 0, periodically remove feature vectors so that only this number of the latest feature vectors is retained. (int, default = -1) @@ -188,7 +188,7 @@ cpu --output-format : Format of the output files [kaldi, htk] (string, default = "kaldi") --preemphasis-coefficient : Coefficient for use in signal preemphasis (float, default = 0.97) --raw-energy : If true, compute energy before preemphasis and windowing (bool, default = true) - --remove-dc-offset : Subtract mean from waveform on each frame (bool, default = true) + --remove-dc-offset : Subtract mean from waveform on each frame (bool, default = true) --round-to-power-of-two : If true, round window size to power of two by zero-padding input to FFT. (bool, default = true) --sample-frequency : Waveform data sample frequency (must match the waveform file, if specified there) (float, default = 16000) --snip-edges : If true, end effects will be handled by outputting only frames that completely fit in the file, and the number of frames depends on the frame-length. If false, the number of frames depends only on the frame-shift, and we reflect the data at the ends. (bool, default = true) @@ -197,9 +197,9 @@ cpu --use-log-fbank : If true, produce log-filterbank, else produce linear. (bool, default = true) --use-power : If true, use power, else use magnitude. (bool, default = true) --utt2spk : Utterance to speaker-id map (if doing VTLN and you have warps per speaker) (string, default = "") - --vtln-high : High inflection point in piecewise linear VTLN warping function (if negative, offset from high-mel-freq (float, default = -500) + --vtln-high : High inflection point in piecewise linear VTLN warping function (if negative, offset from high-mel-freq (float, default = -500) --vtln-low : Low inflection point in piecewise linear VTLN warping function (float, default = 100) - --vtln-map : Map from utterance or speaker-id to vtln warp factor (rspecifier) (string, default = "") + --vtln-map : Map from utterance or speaker-id to vtln warp factor (rspecifier) (string, default = "") --vtln-warp : Vtln warp factor (only applicable if vtln-map not specified) (float, default = 1) --window-type : Type of window ("hamming"|"hanning"|"povey"|"rectangular"|"sine"|"blackmann") (string, default = "povey") --write-utt2dur : Wspecifier to write duration of each utterance in seconds, e.g. 'ark,t:utt2dur'. (string, default = "") @@ -241,14 +241,14 @@ demonstrate the usage of # Copyright (c) 2021 Xiaomi Corporation (authors: Fangjun Kuang) -import pickle +import pickle -import torch +import torch -import kaldifeat +import kaldifeat -def test_default(): +def test_default(): opts = kaldifeat.FbankOptions() print(opts) assert opts.frame_opts.samp_freq == 16000 @@ -279,7 +279,7 @@ demonstrate the usage of assert opts.device.type == "cpu" -def test_set_get(): +def test_set_get(): opts = kaldifeat.FbankOptions() opts.use_energy = True assert opts.use_energy is True @@ -304,7 +304,7 @@ demonstrate the usage of assert opts.device.index == 1 -def test_set_get_frame_opts(): +def test_set_get_frame_opts(): opts = kaldifeat.FbankOptions() opts.frame_opts.samp_freq = 44100 @@ -338,7 +338,7 @@ demonstrate the usage of assert opts.frame_opts.snip_edges is False -def test_set_get_mel_opts(): +def test_set_get_mel_opts(): opts = kaldifeat.FbankOptions() opts.mel_opts.num_bins = 100 @@ -363,14 +363,14 @@ demonstrate the usage of assert opts.mel_opts.htk_mode is True -def test_from_empty_dict(): +def test_from_empty_dict(): opts = kaldifeat.FbankOptions.from_dict({}) opts2 = kaldifeat.FbankOptions() assert str(opts) == str(opts2) -def test_from_dict_partial(): +def test_from_dict_partial(): d = { "energy_floor": 10.5, "htk_compat": True, @@ -388,7 +388,7 @@ demonstrate the usage of assert str(opts.mel_opts) == str(mel_opts) -def test_from_dict_full_and_as_dict(): +def test_from_dict_full_and_as_dict(): opts = kaldifeat.FbankOptions() opts.htk_compat = True opts.mel_opts.num_bins = 80 @@ -417,7 +417,7 @@ demonstrate the usage of assert opts3.device == torch.device("cuda", 2) -def test_pickle(): +def test_pickle(): opts = kaldifeat.FbankOptions() opts.use_energy = True opts.use_power = False @@ -432,7 +432,7 @@ demonstrate the usage of assert str(opts) == str(opts2) -def main(): +def main(): test_default() test_set_get() test_set_get_frame_opts()