Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
This report presents the forensic synthetic code analysis of PaddlePaddle/PaddleSpeech, a Python project with 12,666 GitHub stars. SynthScan v2.0 examined 330,336 lines of code across 2577 source files, recording 3397 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 14.3 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3397 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | tools/release_note.py | 1 | #!/usr/bin/evn python3 | COMMENT |
| LOW | tools/release_note.py | 121 | github_request.close() | COMMENT |
| LOW | paddlespeech/__init__.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/audiotools/__init__.py | 1 | # Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/audiotools/metrics/__init__.py | 1 | # Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/audiotools/core/audio_signal.py | 1361 | ------- | COMMENT |
| LOW | paddlespeech/audiotools/core/__init__.py | 1 | # Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/audiotools/ml/__init__.py | 1 | # Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/audiotools/data/__init__.py | 1 | # Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/arpabet.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/vocab.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/canton_frontend.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/generate_lexicon.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/phonectic.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/sing_frontend.py | 1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/punctuation.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/en_frontend.py | 1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/polyphonic.py | 1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/tone_sandhi.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/mix_frontend.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | …dlespeech/t2s/frontend/rhy_prediction/rhy_predictor.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/rhy_prediction/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/g2pw/onnx_api.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/g2pw/dataset.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/g2pw/utils.py | 1 | # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/normalizer/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/normalizer/numbers.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/normalizer/width.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/normalizer/abbrrviation.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/normalizer/normalizer.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/normalizer/acronyms.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/ssml/__init__.py | 1 | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/ssml/xml_processor.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/zh_normalization/constants.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/zh_normalization/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | …lespeech/t2s/frontend/zh_normalization/char_convert.py | 1 | # coding=utf-8 | COMMENT |
| LOW | …ddlespeech/t2s/frontend/zh_normalization/chronology.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/frontend/zh_normalization/phonecode.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | …ech/t2s/frontend/zh_normalization/text_normlization.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | …ddlespeech/t2s/frontend/zh_normalization/quantifier.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/seeding.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/reporter.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/updater.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/experiment.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/cli.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/extension.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/default_config.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/optimizer.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/trainer.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/trigger.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/triggers/__init__.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/triggers/time_trigger.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/triggers/interval_trigger.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | paddlespeech/t2s/training/triggers/limit_trigger.py | 1 | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| 1390 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | paddlespeech/audiotools/core/_julius.py | 0 | return a pure tone, i.e. cosine. args: freq (float): frequency (in hz) sr (float): sample rate (in hz) dur (float): dura | STRING |
| HIGH | tests/unit/audiotools/core/test_lowpass.py | 0 | return a pure tone, i.e. cosine. args: freq (float): frequency (in hz) sr (float): sample rate (in hz) dur (float): dura | STRING |
| HIGH | tests/unit/audiotools/core/test_highpass.py | 0 | return a pure tone, i.e. cosine. args: freq (float): frequency (in hz) sr (float): sample rate (in hz) dur (float): dura | STRING |
| HIGH | paddlespeech/t2s/frontend/g2pw/onnx_api.py | 0 | credits this code is modified from https://github.com/gitycc/g2pw | STRING |
| HIGH | paddlespeech/t2s/frontend/g2pw/dataset.py | 0 | credits this code is modified from https://github.com/gitycc/g2pw | STRING |
| HIGH | paddlespeech/t2s/frontend/g2pw/utils.py | 0 | credits this code is modified from https://github.com/gitycc/g2pw | STRING |
| HIGH | paddlespeech/t2s/training/experiment.py | 0 | resume from latest checkpoint at checkpoints in the output directory or load a specified checkpoint. if ``args.checkpoin | STRING |
| HIGH | paddlespeech/s2t/training/trainer.py | 0 | resume from latest checkpoint at checkpoints in the output directory or load a specified checkpoint. if ``args.checkpoin | STRING |
| HIGH | paddlespeech/s2t/exps/wavlm/model.py | 0 | resume from latest checkpoint at checkpoints in the output directory or load a specified checkpoint. if ``args.checkpoin | STRING |
| HIGH | paddlespeech/s2t/exps/hubert/model.py | 0 | resume from latest checkpoint at checkpoints in the output directory or load a specified checkpoint. if ``args.checkpoin | STRING |
| HIGH | paddlespeech/s2t/exps/wav2vec2/model.py | 0 | resume from latest checkpoint at checkpoints in the output directory or load a specified checkpoint. if ``args.checkpoin | STRING |
| HIGH | paddlespeech/t2s/training/experiment.py | 0 | the routine of the experiment after setup. this method is intended to be used by the user. | STRING |
| HIGH | paddlespeech/s2t/training/trainer.py | 0 | the routine of the experiment after setup. this method is intended to be used by the user. | STRING |
| HIGH | paddlespeech/s2t/exps/u2/trainer.py | 0 | the routine of the experiment after setup. this method is intended to be used by the user. | STRING |
| HIGH | …speech/t2s/models/parallel_wavegan/parallel_wavegan.py | 0 | recursively apply weight normalization to all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/hifigan/hifigan.py | 0 | recursively apply weight normalization to all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/melgan/style_melgan.py | 0 | recursively apply weight normalization to all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/melgan/melgan.py | 0 | recursively apply weight normalization to all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/modules/wavenet_denoiser.py | 0 | recursively apply weight normalization to all the convolution layers in the sublayers. | STRING |
| HIGH | …speech/t2s/models/parallel_wavegan/parallel_wavegan.py | 0 | recursively remove weight normalization from all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/hifigan/hifigan.py | 0 | recursively remove weight normalization from all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/melgan/style_melgan.py | 0 | recursively remove weight normalization from all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/melgan/melgan.py | 0 | recursively remove weight normalization from all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/modules/wavenet_denoiser.py | 0 | recursively remove weight normalization from all the convolution layers in the sublayers. | STRING |
| HIGH | paddlespeech/t2s/models/fastspeech2/fastspeech2.py | 0 | initialize feed-forward transformer loss module. args: use_masking (bool): whether to apply masking for padded part in l | STRING |
| HIGH | paddlespeech/t2s/models/diffsinger/diffsinger.py | 0 | initialize feed-forward transformer loss module. args: use_masking (bool): whether to apply masking for padded part in l | STRING |
| HIGH | paddlespeech/t2s/models/diffsinger/fastspeech2midi.py | 0 | initialize feed-forward transformer loss module. args: use_masking (bool): whether to apply masking for padded part in l | STRING |
| HIGH | paddlespeech/t2s/models/jets/alignments.py | 0 | generator module in jets. this code is based on https://github.com/imdanboy/jets. | STRING |
| HIGH | paddlespeech/t2s/models/jets/jets_updater.py | 0 | generator module in jets. this code is based on https://github.com/imdanboy/jets. | STRING |
| HIGH | paddlespeech/t2s/models/jets/generator.py | 0 | generator module in jets. this code is based on https://github.com/imdanboy/jets. | STRING |
| HIGH | paddlespeech/t2s/models/jets/jets.py | 0 | generator module in jets. this code is based on https://github.com/imdanboy/jets. | STRING |
| HIGH | paddlespeech/t2s/models/jets/length_regulator.py | 0 | generator module in jets. this code is based on https://github.com/imdanboy/jets. | STRING |
| HIGH | paddlespeech/t2s/exps/stream_play_tts.py | 0 | streaming inference removes the result of pad inference | STRING |
| HIGH | …ddlespeech/server/engine/tts/online/onnx/tts_engine.py | 0 | streaming inference removes the result of pad inference | STRING |
| HIGH | …lespeech/server/engine/tts/online/python/tts_engine.py | 0 | streaming inference removes the result of pad inference | STRING |
| HIGH | demos/speech_web/speech_server/src/SpeechBase/tts.py | 0 | streaming inference removes the result of pad inference | STRING |
| HIGH | …ts_serving_fastdeploy/streaming_tts_serving/1/model.py | 0 | streaming inference removes the result of pad inference | STRING |
| HIGH | …dlespeech/dataset/aidatatang_200zh/aidatatang_200zh.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | dataset/aidatatang_200zh/aidatatang_200zh.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | paddlespeech/dataset/aishell/aishell.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | dataset/rir_noise/rir_noise.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | dataset/musan/musan.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | dataset/aishell/aishell.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | tests/unit/cli/aishell_test_prepare.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | tests/test_tipc/conformer/scripts/aishell_tiny.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | dataset/voxforge/voxforge.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | dataset/thchs30/thchs30.py | 0 | prepare thchs-30 mandarin dataset download, unpack and create manifest files. manifest file is a json-format file with e | STRING |
| HIGH | paddlespeech/s2t/frontend/utility.py | 0 | convert sample type to float32. audio sample type is usually integer or float-point. integers will be scaled to [-1, 1] | STRING |
| HIGH | paddlespeech/audio/text/utility.py | 0 | convert sample type to float32. audio sample type is usually integer or float-point. integers will be scaled to [-1, 1] | STRING |
| HIGH | paddlespeech/s2t/frontend/audio.py | 0 | convert sample type to float32. audio sample type is usually integer or float-point. integers will be scaled to [-1, 1] | STRING |
| HIGH | paddlespeech/s2t/training/trainer.py | 0 | save checkpoint (model parameters and optimizer states). args: tag (int or str, optional): none for step, else using tag | STRING |
| HIGH | paddlespeech/s2t/exps/wavlm/model.py | 0 | save checkpoint (model parameters and optimizer states). args: tag (int or str, optional): none for step, else using tag | STRING |
| HIGH | paddlespeech/s2t/exps/hubert/model.py | 0 | save checkpoint (model parameters and optimizer states). args: tag (int or str, optional): none for step, else using tag | STRING |
| HIGH | paddlespeech/s2t/exps/wav2vec2/model.py | 0 | save checkpoint (model parameters and optimizer states). args: tag (int or str, optional): none for step, else using tag | STRING |
| HIGH | paddlespeech/s2t/io/speechbrain/sb_pipeline.py | 0 | this function prepares the datasets to be used in the brain class. it also defines the data processing pipeline through | STRING |
| HIGH | paddlespeech/s2t/exps/wavlm/model.py | 0 | this function prepares the datasets to be used in the brain class. it also defines the data processing pipeline through | STRING |
| HIGH | paddlespeech/s2t/exps/hubert/model.py | 0 | this function prepares the datasets to be used in the brain class. it also defines the data processing pipeline through | STRING |
| HIGH | paddlespeech/s2t/exps/wav2vec2/model.py | 0 | this function prepares the datasets to be used in the brain class. it also defines the data processing pipeline through | STRING |
| HIGH | paddlespeech/s2t/utils/tensor_utils.py | 0 | pad a list of variable length tensors with ``padding_value`` ``pad_sequence`` stacks a list of tensors along a new dimen | STRING |
| HIGH | paddlespeech/audio/utils/tensor_utils.py | 0 | pad a list of variable length tensors with ``padding_value`` ``pad_sequence`` stacks a list of tensors along a new dimen | STRING |
| 157 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | paddlespeech/audiotools/__init__.py | 14 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 15 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 16 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 17 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 18 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 19 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 20 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 21 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 22 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 23 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 24 | CODE | |
| LOW | paddlespeech/audiotools/__init__.py | 25 | CODE | |
| LOW | paddlespeech/audiotools/metrics/__init__.py | 17 | CODE | |
| LOW | paddlespeech/audiotools/metrics/quality.py | 36 | CODE | |
| LOW | paddlespeech/audiotools/metrics/quality.py | 40 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 16 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 19 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 21 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 36 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 559 | CODE | |
| LOW | paddlespeech/audiotools/core/_julius.py | 14 | CODE | |
| LOW | paddlespeech/audiotools/core/_julius.py | 15 | CODE | |
| LOW | paddlespeech/audiotools/core/_julius.py | 23 | CODE | |
| LOW | paddlespeech/audiotools/core/ffmpeg.py | 6 | CODE | |
| LOW | paddlespeech/audiotools/core/ffmpeg.py | 9 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 14 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 15 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 16 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 17 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 18 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 19 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 20 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 21 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 22 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 23 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 24 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 25 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 26 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 27 | CODE | |
| LOW | paddlespeech/audiotools/core/__init__.py | 28 | CODE | |
| LOW | paddlespeech/audiotools/core/loudness.py | 7 | CODE | |
| LOW | paddlespeech/audiotools/ml/basemodel.py | 6 | CODE | |
| LOW | paddlespeech/audiotools/ml/basemodel.py | 7 | CODE | |
| LOW | paddlespeech/audiotools/ml/__init__.py | 14 | CODE | |
| LOW | paddlespeech/audiotools/ml/__init__.py | 15 | CODE | |
| LOW | paddlespeech/audiotools/ml/__init__.py | 16 | CODE | |
| LOW | paddlespeech/audiotools/data/transforms.py | 16 | CODE | |
| LOW | paddlespeech/audiotools/data/preprocess.py | 6 | CODE | |
| LOW | paddlespeech/audiotools/data/datasets.py | 12 | CODE | |
| LOW | paddlespeech/audiotools/data/__init__.py | 14 | CODE | |
| LOW | paddlespeech/audiotools/data/__init__.py | 15 | CODE | |
| LOW | paddlespeech/audiotools/data/__init__.py | 16 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 14 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 16 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 17 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 18 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 19 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 20 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 21 | CODE | |
| LOW | paddlespeech/t2s/__init__.py | 22 | CODE | |
| 435 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | paddlespeech/audiotools/core/util.py | 62 | Compute the exponential of the input tensor `x`. This function is designed to handle compatibility issues with | STRING |
| HIGH | paddlespeech/audiotools/core/util.py | 88 | Perform boolean indexing on the input tensor `x` using the provided `mask`. This function ensures compatibilit | STRING |
| HIGH | paddlespeech/audiotools/core/util.py | 115 | Perform boolean assignment on the input tensor `x` using the provided `mask` and values `y`. This function ens | STRING |
| HIGH | paddlespeech/t2s/utils/error_rate.py | 126 | Calculate word error rate (WER). WER compares reference text and hypothesis text in word-level. WER is defined as: | STRING |
| HIGH | paddlespeech/t2s/utils/error_rate.py | 162 | Calculate character error rate (CER). CER compares reference text and hypothesis text in char-level. CER is defined | STRING |
| HIGH | paddlespeech/t2s/models/waveflow.py | 97 | Forward pass of the ``UpsampleNet`` Args: x(Tensor): The input spectrogram. shape= | STRING |
| HIGH | …lespeech/t2s/models/transformer_tts/transformer_tts.py | 652 | Make masks for self-attention. Args: ilens(Tensor): Batch of lengths (B,). Returns: | STRING |
| HIGH | …lespeech/t2s/models/transformer_tts/transformer_tts.py | 671 | Make masks for masked self-attention. Args: olens (Tensor(int64)): Batch of lengths (B,). | STRING |
| HIGH | paddlespeech/t2s/models/fastspeech2/fastspeech2.py | 884 | Make masks for self-attention. Args: ilens(Tensor): Batch of lengths (B,). | STRING |
| HIGH | paddlespeech/t2s/models/jets/generator.py | 866 | Make masks for self-attention. Args: ilens (LongTensor): Batch of lengths (B,). Returns: | STRING |
| HIGH | paddlespeech/t2s/modules/nets_utils.py | 63 | Perform padding for the list of tensors. Args: xs (List[Tensor]): List of Tensors [(T_1, `*`), | STRING |
| HIGH | paddlespeech/t2s/modules/nets_utils.py | 95 | Make mask tensor containing indices of padded part. Args: lengths (Tensor(int64)): Batch of le | STRING |
| HIGH | paddlespeech/t2s/modules/nets_utils.py | 214 | Make mask tensor containing indices of non-padded part. Args: lengths (Tensor(int64) or List): | STRING |
| HIGH | paddlespeech/t2s/modules/losses.py | 281 | Make masks indicating non-padded part. Args: ilens(Tensor(int64) or List): Batch o | STRING |
| HIGH | paddlespeech/s2t/frontend/utility.py | 76 | Load and parse manifest file. Args: manifest_path ([type]): Manifest file to load and parse. max_in | STRING |
| HIGH | paddlespeech/s2t/frontend/utility.py | 319 | load cmvn from file. Args: cmvn_file (str): cmvn path. filetype (str): file type, optional[npz, jso | STRING |
| HIGH | …ddlespeech/s2t/frontend/featurizer/audio_featurizer.py | 203 | Compute the linear spectrogram from FFT energy. Args: samples ([type]): [description] s | STRING |
| HIGH | …ddlespeech/s2t/frontend/featurizer/audio_featurizer.py | 266 | Compute mfcc from samples. Args: samples (np.ndarray, np.int16): the audio signal from which to com | STRING |
| HIGH | …ddlespeech/s2t/frontend/featurizer/audio_featurizer.py | 323 | Compute logfbank from samples. Args: samples (np.ndarray, np.int16): the audio signal from | STRING |
| HIGH | paddlespeech/s2t/frontend/augmentor/spec_augment.py | 138 | time warp for spec augment move random center frame by the random width ~ uniform(-window, window) Args | STRING |
| HIGH | paddlespeech/s2t/training/optimizer/adadelta.py | 22 | **Notes: This API does not support sparse parameter optimization.** Adadelta Optimizer. Please refer to this f | STRING |
| HIGH | paddlespeech/s2t/utils/log.py | 50 | Computes the directory and filename prefix for log file. Args: program_name: str|None, the filename part of | STRING |
| HIGH | paddlespeech/s2t/utils/tensor_utils.py | 122 | Add <sos> and <eos> labels. Args: ys_pad (paddle.Tensor): batch of padded target sequences (B, Lmax) | STRING |
| HIGH | paddlespeech/s2t/utils/cli_readers.py | 31 | Read uttid and array in kaldi style This function might be a bit confusing as "ark" is used for HDF5 to imitate | STRING |
| HIGH | paddlespeech/s2t/models/lm_interface.py | 45 | Compute LM loss value from buffer sequences. Args: x (torch.Tensor): Input ids. (batch, len) | STRING |
| HIGH | paddlespeech/s2t/models/wavlm/wavlm_asr.py | 311 | init model. Args: configs (dict): config dict. Raises: ValueError: raise when us | STRING |
| HIGH | paddlespeech/s2t/models/lm/transformer.py | 98 | Compute LM loss value from buffer sequences. Args: x (paddle.Tensor): Input ids. (batch, len) | STRING |
| HIGH | paddlespeech/s2t/models/hubert/hubert_ASR.py | 340 | init model. Args: configs (dict): config dict. Raises: ValueError: raise when us | STRING |
| HIGH | paddlespeech/s2t/models/wav2vec2/wav2vec2_ASR.py | 311 | init model. Args: configs (dict): config dict. Raises: ValueError: raise when us | STRING |
| HIGH | paddlespeech/s2t/models/u2/u2.py | 756 | u2 decoding. Args: feats (Tensor): audio features, (B, T, D) feats_lengths (Tensor): (B | STRING |
| HIGH | paddlespeech/s2t/models/u2/u2.py | 875 | init sub module for model. Args: configs (dict): config dict. Raises: ValueErr | STRING |
| HIGH | paddlespeech/s2t/models/u2/u2.py | 951 | init model. Args: configs (dict): config dict. Raises: ValueError: raise when | STRING |
| HIGH | paddlespeech/s2t/models/u2_st/u2_st.py | 489 | u2 decoding. Args: feats (Tensor): audio features, (B, T, D) feats_lengths (Tensor): (B | STRING |
| HIGH | paddlespeech/s2t/models/u2_st/u2_st.py | 555 | init sub module for model. Args: configs (dict): config dict. Raises: ValueErr | STRING |
| HIGH | paddlespeech/s2t/models/u2_st/u2_st.py | 621 | init model. Args: configs (dict): config dict. Raises: ValueError: raise when | STRING |
| HIGH | paddlespeech/s2t/modules/mask.py | 43 | Make mask tensor containing indices of padded part. See description of make_non_pad_mask. Args: lengths | STRING |
| HIGH | paddlespeech/s2t/modules/mask.py | 69 | Make mask tensor containing indices of non-padded part. The sequences in a batch may have different lengths. To enab | STRING |
| HIGH | paddlespeech/s2t/modules/mask.py | 94 | Create mask for subsequent steps (size, size). This mask is used only in decoder which works in an auto-regressive m | STRING |
| HIGH | paddlespeech/s2t/modules/mask.py | 119 | Create mask for subsequent steps (size, size) with chunk size, this is for streaming encoder Args: si | STRING |
| HIGH | paddlespeech/s2t/modules/mask.py | 217 | If a sequence is finished, we only allow one alive branch. This function aims to give one branch a zero score a | STRING |
| HIGH | paddlespeech/s2t/modules/ctc.py | 257 | init ctc decoders Args: batch_size(int): Batch size for input data vocab_list ( | STRING |
| HIGH | paddlespeech/s2t/modules/ctc.py | 302 | This function will be deprecated in future. ctc decoding with probs. Args: probs (T | STRING |
| HIGH | paddlespeech/s2t/modules/ctc.py | 346 | init get ctc decoder Args: vocab_list (list): List of tokens in the vocabulary, for decodin | STRING |
| HIGH | paddlespeech/server/engine/tts/python/tts_engine.py | 124 | Post-processing operations, including speech, volume, sample rate, save audio file Args: wav (numpy | STRING |
| HIGH | paddlespeech/server/engine/tts/python/tts_engine.py | 204 | run include inference and postprocess. Args: sentence (str): text to be synthesized sp | STRING |
| HIGH | …speech/server/engine/tts/paddleinference/tts_engine.py | 362 | Post-processing operations, including speech, volume, sample rate, save audio file Args: wav (numpy | STRING |
| HIGH | …speech/server/engine/tts/paddleinference/tts_engine.py | 441 | get the result of the server response Args: sentence (str): sentence to be synthesized | STRING |
| HIGH | paddlespeech/audio/utils/tensor_utils.py | 117 | Add <sos> and <eos> labels. Args: ys_pad (paddle.Tensor): batch of padded target sequences (B, Lmax) | STRING |
| HIGH | paddlespeech/audio/utils/tensor_utils.py | 199 | Reverse padding for the list of tensors. Args: ys_pad (tensor): The padded tensor (B, Tokenmax). ys_ | STRING |
| HIGH | paddlespeech/audio/utils/tensor_utils.py | 223 | Reverse padding for the list of tensors. Args: ys_pad (tensor): The padded tensor (B, Tokenmax). ys_ | STRING |
| HIGH | paddlespeech/audio/text/utility.py | 76 | Load and parse manifest file. Args: manifest_path ([type]): Manifest file to load and parse. max_in | STRING |
| HIGH | paddlespeech/audio/text/utility.py | 319 | load cmvn from file. Args: cmvn_file (str): cmvn path. filetype (str): file type, optional[npz, jso | STRING |
| HIGH | paddlespeech/audio/transform/spectrogram.py | 358 | Args: x (np.ndarray): shape (Ti,) train (bool): True, train mode. Raises: | STRING |
| HIGH | paddlespeech/audio/transform/spectrogram.py | 395 | Args: x (np.ndarray): shape (Ti,) train (bool): True, train mode. Raises: | STRING |
| HIGH | paddlespeech/audio/transform/spectrogram.py | 468 | Args: x (np.ndarray): shape (Ti,) train (bool): True, train mode. Raises: | STRING |
| HIGH | paddlespeech/audio/functional/window.py | 327 | Return a window of a given length and type. Args: window (Union[str, Tuple[str, float]]): The window functi | STRING |
| HIGH | paddlespeech/vector/models/ecapa_tdnn.py | 87 | Do conv1d forward Args: x (paddle.Tensor): [N, C, L] input data, N | STRING |
| HIGH | tests/unit/asr/reverse_pad_list.py | 28 | Reverse padding for the list of tensors. Args: ys_pad (tensor): The padded tensor (B, Tokenmax). ys_ | STRING |
| HIGH | audio/paddleaudio/utils/tensor_utils.py | 118 | Add <sos> and <eos> labels. Args: ys_pad (paddle.Tensor): batch of padded target sequences (B, Lmax) | STRING |
| HIGH | audio/paddleaudio/functional/window.py | 336 | Return a window of a given length and type. Args: window (Union[str, Tuple[str, float]]): The window functi | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | paddlespeech/audiotools/core/audio_signal.py | 161 | CODE | |
| LOW | paddlespeech/audiotools/core/audio_signal.py | 361 | CODE | |
| LOW | paddlespeech/audiotools/core/audio_signal.py | 414 | CODE | |
| LOW | paddlespeech/audiotools/core/audio_signal.py | 1669 | CODE | |
| LOW | paddlespeech/audiotools/core/audio_signal.py | 1720 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 336 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 439 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 678 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 759 | CODE | |
| LOW | paddlespeech/audiotools/data/transforms.py | 139 | CODE | |
| LOW | paddlespeech/audiotools/data/datasets.py | 144 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 165 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 250 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 425 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 470 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 515 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 579 | CODE | |
| LOW | paddlespeech/t2s/frontend/canton_frontend.py | 32 | CODE | |
| LOW | paddlespeech/t2s/frontend/generate_lexicon.py | 40 | CODE | |
| LOW | paddlespeech/t2s/frontend/generate_lexicon.py | 147 | CODE | |
| LOW | paddlespeech/t2s/frontend/phonectic.py | 277 | CODE | |
| LOW | paddlespeech/t2s/frontend/tone_sandhi.py | 93 | CODE | |
| LOW | paddlespeech/t2s/frontend/tone_sandhi.py | 149 | CODE | |
| LOW | paddlespeech/t2s/frontend/tone_sandhi.py | 176 | CODE | |
| LOW | paddlespeech/t2s/frontend/mix_frontend.py | 57 | CODE | |
| LOW | paddlespeech/t2s/frontend/g2pw/onnx_api.py | 232 | CODE | |
| LOW | paddlespeech/t2s/frontend/g2pw/utils.py | 134 | CODE | |
| LOW | paddlespeech/t2s/frontend/normalizer/numbers.py | 61 | CODE | |
| LOW | paddlespeech/t2s/frontend/ssml/xml_processor.py | 134 | CODE | |
| LOW | paddlespeech/t2s/frontend/ssml/xml_processor.py | 154 | CODE | |
| LOW | paddlespeech/t2s/frontend/ssml/xml_processor.py | 174 | CODE | |
| LOW | paddlespeech/t2s/training/trainer.py | 62 | CODE | |
| LOW | paddlespeech/t2s/training/trainer.py | 107 | CODE | |
| LOW | paddlespeech/t2s/datasets/preprocess_utils.py | 132 | CODE | |
| LOW | paddlespeech/t2s/datasets/preprocess_utils.py | 240 | CODE | |
| LOW | paddlespeech/t2s/utils/internals.py | 20 | CODE | |
| LOW | paddlespeech/t2s/utils/profiler.py | 61 | CODE | |
| LOW | paddlespeech/t2s/models/vits/vits_updater.py | 102 | CODE | |
| LOW | paddlespeech/t2s/models/vits/vits_updater.py | 264 | CODE | |
| LOW | …ddlespeech/t2s/models/vits/monotonic_align/__init__.py | 65 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/JDCNet/model.py | 143 | CODE | |
| LOW | …/t2s/models/transformer_tts/transformer_tts_updater.py | 74 | CODE | |
| LOW | …/t2s/models/transformer_tts/transformer_tts_updater.py | 226 | CODE | |
| LOW | paddlespeech/t2s/models/jets/jets_updater.py | 111 | CODE | |
| LOW | paddlespeech/t2s/models/jets/jets_updater.py | 305 | CODE | |
| LOW | paddlespeech/t2s/models/ernie_sat/ernie_sat.py | 124 | CODE | |
| LOW | paddlespeech/t2s/models/diffsinger/fastspeech2midi.py | 164 | CODE | |
| LOW | paddlespeech/t2s/models/tacotron2/tacotron2.py | 48 | CODE | |
| LOW | paddlespeech/t2s/exps/synthesize_e2e.py | 35 | CODE | |
| LOW | paddlespeech/t2s/exps/synthesize_e2e.py | 351 | CODE | |
| LOW | paddlespeech/t2s/exps/lite_predict_streaming.py | 98 | CODE | |
| LOW | paddlespeech/t2s/exps/ort_predict_e2e.py | 29 | CODE | |
| LOW | paddlespeech/t2s/exps/synthesize.py | 32 | CODE | |
| LOW | paddlespeech/t2s/exps/synthesize.py | 257 | CODE | |
| LOW | paddlespeech/t2s/exps/syn_utils.py | 152 | CODE | |
| LOW | paddlespeech/t2s/exps/syn_utils.py | 195 | CODE | |
| LOW | paddlespeech/t2s/exps/syn_utils.py | 289 | CODE | |
| LOW | paddlespeech/t2s/exps/syn_utils.py | 314 | CODE | |
| LOW | paddlespeech/t2s/exps/syn_utils.py | 375 | CODE | |
| LOW | paddlespeech/t2s/exps/syn_utils.py | 489 | CODE | |
| 229 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | paddlespeech/audiotools/post.py | 88 | CODE | |
| LOW | paddlespeech/audiotools/core/util.py | 642 | CODE | |
| LOW | paddlespeech/audiotools/core/loudness.py | 151 | CODE | |
| LOW | paddlespeech/audiotools/core/loudness.py | 186 | CODE | |
| LOW | paddlespeech/audiotools/core/loudness.py | 208 | CODE | |
| LOW | paddlespeech/audiotools/data/transforms.py | 685 | CODE | |
| LOW | paddlespeech/audiotools/data/transforms.py | 758 | CODE | |
| LOW | paddlespeech/audiotools/data/transforms.py | 1137 | CODE | |
| LOW | paddlespeech/audiotools/data/datasets.py | 360 | CODE | |
| LOW | paddlespeech/t2s/frontend/generate_lexicon.py | 144 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 51 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 70 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 90 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 132 | CODE | |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 172 | CODE | |
| LOW | …ddlespeech/t2s/frontend/zh_normalization/quantifier.py | 58 | CODE | |
| LOW | paddlespeech/t2s/datasets/batch.py | 39 | CODE | |
| LOW | paddlespeech/t2s/datasets/batch.py | 80 | CODE | |
| LOW | paddlespeech/t2s/datasets/batch.py | 127 | CODE | |
| LOW | paddlespeech/t2s/datasets/get_feats.py | 27 | CODE | |
| LOW | paddlespeech/t2s/utils/scheduler.py | 51 | CODE | |
| LOW | paddlespeech/t2s/utils/mp_tools.py | 27 | CODE | |
| LOW | paddlespeech/t2s/models/waveflow.py | 327 | CODE | |
| LOW | paddlespeech/t2s/models/waveflow.py | 356 | CODE | |
| LOW | paddlespeech/t2s/models/vits/posterior_encoder.py | 39 | CODE | |
| LOW | paddlespeech/t2s/models/vits/vits_updater.py | 38 | CODE | |
| LOW | paddlespeech/t2s/models/vits/text_encoder.py | 44 | CODE | |
| LOW | paddlespeech/t2s/models/vits/generator.py | 48 | CODE | |
| LOW | paddlespeech/t2s/models/vits/generator.py | 428 | CODE | |
| LOW | paddlespeech/t2s/models/vits/vits.py | 375 | CODE | |
| LOW | paddlespeech/t2s/models/vits/transform.py | 133 | CODE | |
| LOW | paddlespeech/t2s/models/vits/transform.py | 250 | CODE | |
| LOW | paddlespeech/t2s/models/vits/residual_coupling.py | 42 | CODE | |
| LOW | paddlespeech/t2s/models/vits/residual_coupling.py | 137 | CODE | |
| LOW | paddlespeech/t2s/models/vits/wavenet/wavenet.py | 27 | CODE | |
| LOW | paddlespeech/t2s/models/vits/wavenet/residual_block.py | 27 | CODE | |
| LOW | …speech/t2s/models/parallel_wavegan/parallel_wavegan.py | 76 | CODE | |
| LOW | …speech/t2s/models/parallel_wavegan/parallel_wavegan.py | 230 | CODE | |
| LOW | …speech/t2s/models/parallel_wavegan/parallel_wavegan.py | 261 | CODE | |
| LOW | …speech/t2s/models/parallel_wavegan/parallel_wavegan.py | 381 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 160 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 185 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 273 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 404 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 569 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 573 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 626 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/starganv2_vc.py | 633 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/losses.py | 25 | CODE | |
| LOW | paddlespeech/t2s/models/starganv2_vc/losses.py | 93 | CODE | |
| LOW | …espeech/t2s/models/starganv2_vc/AuxiliaryASR/layers.py | 48 | CODE | |
| LOW | paddlespeech/t2s/models/speedyspeech/speedyspeech.py | 268 | CODE | |
| LOW | …lespeech/t2s/models/transformer_tts/transformer_tts.py | 175 | CODE | |
| LOW | …/t2s/models/transformer_tts/transformer_tts_updater.py | 37 | CODE | |
| LOW | …/t2s/models/transformer_tts/transformer_tts_updater.py | 190 | CODE | |
| LOW | paddlespeech/t2s/models/hifigan/hifigan.py | 33 | CODE | |
| LOW | paddlespeech/t2s/models/hifigan/hifigan.py | 291 | CODE | |
| LOW | paddlespeech/t2s/models/hifigan/hifigan.py | 492 | CODE | |
| LOW | paddlespeech/t2s/models/hifigan/hifigan.py | 732 | CODE | |
| LOW | paddlespeech/t2s/models/fastspeech2/fastspeech2.py | 65 | CODE | |
| 176 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 52 | except Exception as e: | CODE |
| LOW | paddlespeech/t2s/frontend/zh_frontend.py | 290 | except Exception: | CODE |
| LOW | paddlespeech/t2s/frontend/g2pw/dataset.py | 55 | except Exception: | CODE |
| LOW | paddlespeech/t2s/training/trainer.py | 180 | except Exception as e: | CODE |
| LOW | paddlespeech/t2s/training/trainer.py | 197 | except Exception as ee: | CODE |
| LOW | paddlespeech/t2s/utils/layer_tools.py | 44 | except Exception as e: | CODE |
| MEDIUM | paddlespeech/t2s/exps/ernie_sat/utils.py | 151 | print(f'Error happened with path="{path}", id="{k}", value="{v}"') | CODE |
| LOW | paddlespeech/dataset/aishell/aishell.py | 197 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/frontend/audio.py | 194 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/frontend/audio.py | 379 | except Exception: | CODE |
| LOW | paddlespeech/s2t/frontend/augmentor/augmentation.py | 157 | except Exception: | CODE |
| LOW | paddlespeech/s2t/frontend/augmentor/augmentation.py | 228 | except Exception: | CODE |
| LOW | paddlespeech/s2t/training/trainer.py | 314 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/training/updaters/trainer.py | 158 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/training/updaters/trainer.py | 175 | except Exception as ee: | CODE |
| LOW | paddlespeech/s2t/io/dataloader.py | 133 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/utils/cli_readers.py | 117 | except Exception: | CODE |
| LOW | paddlespeech/s2t/utils/cli_readers.py | 124 | except Exception: | CODE |
| LOW | paddlespeech/s2t/utils/cli_readers.py | 138 | except Exception: | CODE |
| LOW | paddlespeech/s2t/utils/cli_readers.py | 183 | except Exception: | CODE |
| LOW | paddlespeech/s2t/utils/cli_readers.py | 190 | except Exception: | CODE |
| LOW | paddlespeech/s2t/utils/cli_readers.py | 206 | except Exception: | CODE |
| LOW⚡ | paddlespeech/s2t/utils/cli_writers.py | 108 | except Exception: | CODE |
| LOW⚡ | paddlespeech/s2t/utils/cli_writers.py | 114 | except Exception: | CODE |
| LOW⚡ | paddlespeech/s2t/utils/cli_writers.py | 120 | except Exception: | CODE |
| MEDIUM | paddlespeech/s2t/utils/cli_writers.py | 105 | def close(self): | CODE |
| LOW | paddlespeech/s2t/models/ds2/__init__.py | 27 | except Exception: | CODE |
| LOW | paddlespeech/s2t/exps/deepspeech2/bin/test_wav.py | 152 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/wavlm/model.py | 454 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/wavlm/bin/test_wav.py | 91 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/hubert/model.py | 455 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/hubert/bin/test_wav.py | 84 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/wav2vec2/model.py | 455 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/wav2vec2/bin/test_wav.py | 91 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/u2/model.py | 216 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/u2/bin/test_wav.py | 111 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/u2_kaldi/model.py | 178 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/u2_st/model.py | 217 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/exps/whisper/test_wav.py | 88 | except Exception as e: | CODE |
| LOW | paddlespeech/s2t/modules/ctc.py | 44 | except Exception as e: | CODE |
| LOW | paddlespeech/server/util.py | 273 | except Exception: | CODE |
| LOW | paddlespeech/server/util.py | 293 | except Exception: | CODE |
| LOW | paddlespeech/server/util.py | 363 | except Exception: | CODE |
| MEDIUM | paddlespeech/server/util.py | 358 | def _warpper(self, *args, **kwargs): | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_server.py | 103 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 131 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 221 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 350 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 458 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 539 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 599 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 683 | except Exception as e: | CODE |
| LOW | paddlespeech/server/bin/paddlespeech_client.py | 780 | except Exception as e: | CODE |
| LOW | paddlespeech/server/utils/audio_process.py | 96 | except Exception: | CODE |
| LOW | paddlespeech/server/utils/audio_handler.py | 66 | except Exception as e: | CODE |
| LOW | paddlespeech/server/restful/cls_api.py | 102 | except Exception as e: | CODE |
| LOW | paddlespeech/server/engine/engine_warmup.py | 72 | except Exception as e: | CODE |
| LOW | paddlespeech/server/engine/cls/python/cls_engine.py | 62 | except Exception as e: | CODE |
| LOW | paddlespeech/server/engine/cls/python/cls_engine.py | 73 | except Exception as e: | CODE |
| LOW | …speech/server/engine/cls/paddleinference/cls_engine.py | 133 | except Exception as e: | CODE |
| 151 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | paddlespeech/audiotools/core/audio_signal.py | 31 | __all__ = ['STFTParams', 'AudioSignal'] | CODE |
| LOW | paddlespeech/audiotools/core/util.py | 38 | __all__ = [ | CODE |
| LOW | paddlespeech/audiotools/core/_julius.py | 25 | __all__ = [ | CODE |
| LOW | paddlespeech/audiotools/data/transforms.py | 22 | __all__ = [ | CODE |
| LOW | paddlespeech/audiotools/data/datasets.py | 19 | __all__ = [ | CODE |
| LOW | paddlespeech/t2s/frontend/vocab.py | 17 | __all__ = ["Vocab"] | CODE |
| LOW | paddlespeech/t2s/frontend/phonectic.py | 31 | __all__ = ["Phonetics", "English", "EnglishCharacter", "Chinese"] | CODE |
| LOW | paddlespeech/t2s/frontend/punctuation.py | 15 | __all__ = ["get_punctuations"] | CODE |
| LOW | paddlespeech/t2s/training/experiment.py | 26 | __all__ = ["ExperimentBase"] | CODE |
| LOW | paddlespeech/t2s/datasets/batch.py | 20 | __all__ = [ | CODE |
| LOW | paddlespeech/t2s/datasets/dataset.py | 17 | __all__ = [ | CODE |
| LOW | paddlespeech/t2s/datasets/ljspeech.py | 18 | __all__ = ["LJSpeechMetaData"] | CODE |
| LOW | paddlespeech/t2s/utils/internals.py | 17 | __all__ = ["convert_dtype_to_np_dtype_"] | CODE |
| LOW | paddlespeech/t2s/utils/checkpoint.py | 21 | __all__ = ["load_parameters", "save_parameters"] | CODE |
| LOW | paddlespeech/t2s/utils/display.py | 17 | __all__ = [ | CODE |
| LOW | paddlespeech/t2s/utils/scheduler.py | 15 | __all__ = ["SchedulerBase", "Constant", "PieceWise", "StepWise"] | CODE |
| LOW | paddlespeech/t2s/utils/error_rate.py | 19 | __all__ = ['word_errors', 'char_errors', 'wer', 'cer'] | CODE |
| LOW | paddlespeech/t2s/utils/layer_tools.py | 17 | __all__ = ["summary", "gradient_norm", "freeze", "unfreeze"] | CODE |
| LOW | paddlespeech/t2s/utils/mp_tools.py | 18 | __all__ = ["rank_zero_only"] | CODE |
| LOW | paddlespeech/t2s/models/waveflow.py | 29 | __all__ = ["WaveFlow", "ConditionalWaveFlow", "WaveFlowLoss"] | CODE |
| LOW | paddlespeech/t2s/models/vits/vits_updater.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …2s/models/parallel_wavegan/parallel_wavegan_updater.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …speech/t2s/models/starganv2_vc/starganv2_vc_updater.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …speech/t2s/models/speedyspeech/speedyspeech_updater.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/t2s/models/transformer_tts/transformer_tts_updater.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/models/hifigan/hifigan_updater.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …lespeech/t2s/models/fastspeech2/fastspeech2_updater.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/models/jets/jets_updater.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/models/ernie_sat/ernie_sat_updater.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/models/wavernn/wavernn_updater.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ddlespeech/t2s/models/diffsinger/diffsinger_updater.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/models/melgan/style_melgan_updater.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …espeech/t2s/models/melgan/multi_band_melgan_updater.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/models/tacotron2/tacotron2_updater.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | paddlespeech/t2s/audio/spec_normalizer.py | 28 | __all__ = ["NormalizerBase", "LogMagnitude", "UnitMagnitude"] | CODE |
| LOW | paddlespeech/t2s/audio/audio.py | 18 | __all__ = ["AudioProcessor"] | CODE |
| LOW | paddlespeech/t2s/modules/fftconv1d.py | 25 | __all__ = [ | CODE |
| LOW | paddlespeech/t2s/modules/conv.py | 17 | __all__ = [ | CODE |
| LOW | paddlespeech/t2s/modules/positional_encoding.py | 17 | __all__ = ["sinusoid_position_encoding", "scaled_position_encoding"] | CODE |
| LOW | paddlespeech/dataset/download.py | 21 | __all__ = [ | CODE |
| LOW | paddlespeech/cls/models/panns/panns.py | 22 | __all__ = ['CNN14', 'CNN10', 'CNN6', 'cnn14', 'cnn10', 'cnn6'] | CODE |
| LOW | paddlespeech/s2t/frontend/utility.py | 30 | __all__ = [ | CODE |
| LOW | paddlespeech/s2t/frontend/normalizer.py | 27 | __all__ = ["FeatureNormalizer"] | CODE |
| LOW | paddlespeech/s2t/frontend/featurizer/text_featurizer.py | 31 | __all__ = ["TextFeaturizer"] | CODE |
| LOW | paddlespeech/s2t/frontend/augmentor/augmentation.py | 29 | __all__ = ["AugmentationPipeline"] | CODE |
| LOW | paddlespeech/s2t/training/timer.py | 19 | __all__ = ["Timer"] | CODE |
| LOW | paddlespeech/s2t/training/scheduler.py | 28 | __all__ = ["WarmupLR", "LRSchedulerFactory"] | CODE |
| LOW | paddlespeech/s2t/training/trainer.py | 40 | __all__ = ["Trainer"] | CODE |
| LOW | paddlespeech/s2t/training/optimizer/__init__.py | 27 | __all__ = ["OptimizerFactory"] | CODE |
| LOW | paddlespeech/s2t/training/optimizer/adadelta.py | 18 | __all__ = [] | CODE |
| LOW | paddlespeech/s2t/training/updaters/updater.py | 21 | __all__ = ["UpdaterBase", "UpdaterState"] | CODE |
| LOW | paddlespeech/s2t/training/updaters/standard_updater.py | 30 | __all__ = ["StandardUpdater"] | CODE |
| LOW | paddlespeech/s2t/io/collator.py | 28 | __all__ = ["SpeechCollator", "TripletSpeechCollator"] | CODE |
| LOW | paddlespeech/s2t/io/utility.py | 21 | __all__ = ["pad_list", "pad_sequence", "feat_type"] | CODE |
| LOW | paddlespeech/s2t/io/converter.py | 20 | __all__ = ["CustomConverter"] | CODE |
| LOW | paddlespeech/s2t/io/dataset.py | 23 | __all__ = ["ManifestDataset", "TransformDataset"] | CODE |
| LOW | paddlespeech/s2t/io/reader.py | 29 | __all__ = ["LoadInputsAndTargets"] | CODE |
| LOW | paddlespeech/s2t/io/batchfy.py | 21 | __all__ = ["make_batchset"] | CODE |
| LOW | paddlespeech/s2t/io/dataloader.py | 35 | __all__ = ["BatchDataLoader", "StreamDataLoader"] | CODE |
| LOW | paddlespeech/s2t/io/sampler.py | 25 | __all__ = [ | CODE |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/release_note.py | 16 | # ============================================================================== | COMMENT |
| MEDIUM | paddlespeech/audiotools/core/effects.py | 421 | # ----------------- | COMMENT |
| MEDIUM | paddlespeech/audiotools/core/effects.py | 444 | # ---------- | COMMENT |
| MEDIUM | paddlespeech/audiotools/core/effects.py | 491 | # ---------- | COMMENT |
| MEDIUM | paddlespeech/s2t/models/wavlm/wavlm_paddle.py | 1 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | paddlespeech/s2t/models/wavlm/wavlm_paddle.py | 8 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | paddlespeech/s2t/models/wavlm/modules/modules.py | 1 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | paddlespeech/s2t/models/wavlm/modules/modules.py | 8 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 38 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 40 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 170 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 172 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 965 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 967 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 1049 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 1051 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 1074 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 1076 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 1122 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 1124 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2256 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2258 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2276 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2278 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2294 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2296 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2314 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2316 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2327 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/pretrained_models.py | 2329 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 21 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 23 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 30 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 32 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 41 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 43 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 46 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 48 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 53 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 55 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 58 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 60 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 101 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 103 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 106 | # --------------------------------- | COMMENT |
| MEDIUM⚡ | paddlespeech/resource/model_alias.py | 108 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/model_alias.py | 74 | # --------------------------------- | COMMENT |
| MEDIUM | paddlespeech/resource/model_alias.py | 76 | # --------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 72 | def determine_matplotlib_version(): | CODE |
| LOW | paddlespeech/audiotools/core/dsp.py | 58 | def _preprocess_signal_for_windowing(self, window_duration, hop_duration): | CODE |
| LOW | paddlespeech/audiotools/core/util.py | 383 | def choose_from_list_of_lists(state: np.random.RandomState, | CODE |
| LOW | paddlespeech/t2s/frontend/tone_sandhi.py | 264 | def _merge_continuous_three_tones( | CODE |
| LOW | paddlespeech/t2s/frontend/g2pw/onnx_api.py | 181 | def _convert_bopomofo_to_pinyin(self, bopomofo: str) -> str: | CODE |
| LOW | paddlespeech/t2s/frontend/zh_normalization/num.py | 117 | def replace_positive_quantifier(match) -> str: | CODE |
| LOW | …lespeech/t2s/frontend/zh_normalization/char_convert.py | 30 | def tranditional_to_simplified(text: str) -> str: | CODE |
| LOW | …lespeech/t2s/frontend/zh_normalization/char_convert.py | 35 | def simplified_to_traditional(text: str) -> str: | CODE |
| LOW | paddlespeech/t2s/training/default_config.py | 24 | def get_default_training_config(): | CODE |
| LOW | paddlespeech/t2s/training/extensions/snapshot.py | 85 | def save_checkpoint_and_update(self, trainer: Trainer): | CODE |
| LOW | paddlespeech/t2s/datasets/preprocess_utils.py | 240 | def compare_duration_and_mel_length(sentences, utt, mel): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 25 | def build_erniesat_collate_fn(mlm_prob: float=0.8, | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 238 | def speedyspeech_single_spk_batch_fn(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 276 | def speedyspeech_multi_spk_batch_fn(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 417 | def diffsinger_single_spk_batch_fn(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 476 | def diffsinger_multi_spk_batch_fn(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 546 | def transformer_single_spk_batch_fn(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 911 | def speedyspeech_single_spk_batch_fn_static(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/am_batch_fn.py | 925 | def speedyspeech_multi_spk_batch_fn_static(examples): | CODE |
| LOW | paddlespeech/t2s/datasets/sampler.py | 102 | def _get_indices_by_batch_size(indices): | CODE |
| LOW | paddlespeech/t2s/utils/internals.py | 20 | def convert_dtype_to_np_dtype_(dtype): | CODE |
| LOW | paddlespeech/t2s/utils/display.py | 41 | def plot_multihead_alignments(alignments, title=None): | CODE |
| LOW | paddlespeech/t2s/utils/display.py | 64 | def plot_multilayer_multihead_alignments(alignments, title=None): | CODE |
| LOW | paddlespeech/t2s/utils/layer_tools.py | 40 | def recursively_remove_weight_norm(layer: nn.Layer): | CODE |
| LOW | paddlespeech/t2s/models/vits/transform.py | 31 | def piecewise_rational_quadratic_transform( | CODE |
| LOW | paddlespeech/t2s/models/vits/transform.py | 75 | def unconstrained_rational_quadratic_spline( | CODE |
| LOW | paddlespeech/t2s/models/vits/transform.py | 133 | def rational_quadratic_spline( | CODE |
| LOW | …lespeech/t2s/models/starganv2_vc/AuxiliaryASR/model.py | 146 | def initialize_decoder_states(self, | CODE |
| LOW | …lespeech/t2s/models/transformer_tts/transformer_tts.py | 645 | def _add_first_frame_and_remove_last_frame( | CODE |
| LOW | …lespeech/t2s/models/transformer_tts/transformer_tts.py | 698 | def _integrate_with_spk_embed(self, | CODE |
| LOW | paddlespeech/t2s/models/fastspeech2/fastspeech2.py | 827 | def _integrate_with_spk_embed(self, hs, spk_emb): | CODE |
| LOW | paddlespeech/t2s/models/fastspeech2/fastspeech2.py | 857 | def _integrate_with_tone_embed(self, hs, tone_embs): | CODE |
| LOW | paddlespeech/t2s/models/jets/alignments.py | 76 | def _monotonic_alignment_search(log_p_attn): | CODE |
| LOW | paddlespeech/t2s/models/jets/generator.py | 807 | def _integrate_with_spk_embed(self, | CODE |
| LOW | paddlespeech/t2s/models/tacotron2/tacotron2.py | 452 | def _integrate_with_spk_embed(self, | CODE |
| LOW | paddlespeech/t2s/exps/lite_syn_utils.py | 77 | def get_lite_am_sublayer_output(am_sublayer_predictor, input): | CODE |
| LOW | paddlespeech/t2s/exps/lite_syn_utils.py | 87 | def get_lite_streaming_am_output(input: str, | CODE |
| LOW | paddlespeech/t2s/modules/losses.py | 49 | def discretized_mix_logistic_loss(y_hat, | CODE |
| LOW | paddlespeech/t2s/modules/losses.py | 129 | def sample_from_discretized_mix_logistic(y, log_scale_min=None): | CODE |
| LOW | paddlespeech/t2s/modules/losses.py | 233 | def _make_guided_attention_masks(self, ilens, olens): | CODE |
| LOW | paddlespeech/t2s/modules/losses.py | 246 | def _make_guided_attention_mask(ilen, olen, sigma): | CODE |
| LOW | paddlespeech/t2s/modules/positional_encoding.py | 20 | def sinusoid_position_encoding(num_positions: int, | CODE |
| LOW | paddlespeech/t2s/modules/transformer/encoder.py | 215 | def get_encoder_selfattn_layer(self, | CODE |
| LOW | paddlespeech/t2s/modules/tacotron2/attentions.py | 23 | def _apply_attention_constraint(e, | CODE |
| LOW | paddlespeech/s2t/frontend/audio.py | 415 | def normalize_online_bayesian(self, | CODE |
| LOW | paddlespeech/s2t/frontend/featurizer/text_featurizer.py | 218 | def _load_vocabulary_from_file(self, vocab: Union[str, list], | CODE |
| LOW | paddlespeech/s2t/training/extensions/snapshot.py | 100 | def save_checkpoint_and_update(self, trainer: Trainer, mode: str): | CODE |
| LOW | paddlespeech/s2t/io/sampler.py | 132 | def _get_indices_by_batch_size(indices): | CODE |
| LOW | paddlespeech/s2t/io/speechbrain/dataio.py | 352 | def relative_time_to_absolute(batch, relative_lens, rate): | CODE |
| LOW | paddlespeech/s2t/io/speechbrain/sampler.py | 269 | def _get_boundaries_through_warping( | CODE |
| LOW | paddlespeech/s2t/utils/ctc_utils.py | 31 | def remove_duplicates_and_blank(hyp: List[int], blank_id=0) -> List[int]: | CODE |
| LOW | paddlespeech/s2t/utils/checkpoint.py | 188 | def _save_best_checkpoint_and_update(self, metric, checkpoint_dir, | CODE |
| LOW | paddlespeech/s2t/utils/checkpoint.py | 206 | def _save_latest_checkpoint_and_update( | CODE |
| LOW | paddlespeech/s2t/utils/socket_server.py | 75 | class AsrRequestHandler(socketserver.BaseRequestHandler): | CODE |
| LOW | paddlespeech/s2t/utils/layer_tools.py | 72 | def recursively_remove_weight_norm(layer: nn.Layer): | CODE |
| LOW | paddlespeech/s2t/models/asr_interface.py | 118 | def get_total_subsampling_factor(self): | CODE |
| LOW | paddlespeech/s2t/models/wavlm/modules/functional.py | 53 | def scaled_dot_product_attention(q, k, v, attn_mask, dropout_p, is_causal): | CODE |
| LOW | paddlespeech/s2t/models/wavlm/modules/functional.py | 88 | def multi_head_attention_forward( | CODE |
| LOW | paddlespeech/s2t/models/wavlm/modules/functional.py | 210 | def multi_head_attention_forward_paddle( | STRING |
| LOW | paddlespeech/s2t/models/wavlm/modules/modules.py | 356 | def _relative_positions_bucket(self, relative_positions, | CODE |
| 75 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | paddlespeech/audiotools/ml/accelerator.py | 46 | """This class is used to prepare models and dataloaders for | STRING |
| MEDIUM | paddlespeech/t2s/utils/error_rate.py | 14 | """This module provides functions to calculate error rate in different level. | STRING |
| MEDIUM | paddlespeech/t2s/modules/nets_utils.py | 636 | """This function is copy of `random_spans_helper | STRING |
| MEDIUM | paddlespeech/t2s/modules/fftconv1d.py | 191 | # Create a Conv1D layer to initialize weights and bias | COMMENT |
| MEDIUM | paddlespeech/s2t/io/speechbrain/dataloader.py | 170 | # Create the loader | COMMENT |
| MEDIUM | paddlespeech/s2t/utils/bleu_score.py | 15 | """This module provides functions to calculate bleu score in different level. | STRING |
| MEDIUM | paddlespeech/s2t/utils/error_rate.py | 14 | """This module provides functions to calculate error rate in different level. | STRING |
| MEDIUM | paddlespeech/audio/streamdata/extradatasets.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/autodecode.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/gopen.py | 3 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/shardlists.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/tariterators.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/handlers.py | 3 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/utils.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/writer.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/mix.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/paddle_utils.py | 4 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/audio/streamdata/filters.py | 3 | # This file is part of the WebDataset library. | COMMENT |
| MEDIUM | paddlespeech/vector/exps/ge2e/dataset_processors.py | 32 | # Create the mel spectrogram, discard those that are too short | COMMENT |
| MEDIUM | third_party/python_kaldi_features/docs/source/conf.py | 6 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | …ving_fastdeploy/streaming_tts_serving/stream_client.py | 19 | # Define the callback function. Note the last two parameters should be | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/unit/tts/test_pwg.py | 78 | print(net2.conv_in.weight.grad.data.cpu().numpy()[0]) | CODE |
| CRITICAL | tests/unit/tts/test_pwg.py | 105 | print(net2.conv.weight.grad.data.cpu().numpy().squeeze()[0]) | CODE |
| CRITICAL | tests/unit/tts/test_pwg.py | 172 | print(net2.first_conv.weight_v.grad.data.cpu().numpy().squeeze()) | CODE |
| CRITICAL | tests/unit/tts/test_pwg.py | 176 | print(net2.first_conv.weight_g.grad.data.cpu().numpy().squeeze()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | paddlespeech/t2s/training/reporter.py | 43 | # you can use it everywhere, it will get the default target and writ to it | COMMENT |
| MEDIUM | paddlespeech/t2s/training/trainer.py | 144 | # you can use report freely in Updater.update() | COMMENT |
| MEDIUM | paddlespeech/t2s/training/extensions/evaluator.py | 69 | # or otherwise, you can use your own observation | COMMENT |
| MEDIUM | paddlespeech/s2t/training/reporter.py | 43 | # you can use it everywhere, it will get the default target and writ to it | COMMENT |
| MEDIUM | paddlespeech/s2t/training/extensions/evaluator.py | 98 | # or otherwise, you can use your own observation | COMMENT |
| MEDIUM | paddlespeech/s2t/training/updaters/trainer.py | 145 | # you can use `report` freely in Updater.update() | COMMENT |
| MEDIUM | utils/split_scp.pl | 37 | # Note that you can use this script to split the utt2spk file itself, | COMMENT |
| MEDIUM | examples/aishell/asr1/run.sh | 45 | # Optionally, you can add LM and test it with runtime. | COMMENT |
| MEDIUM | examples/aishell/asr0/run.sh | 51 | # Optionally, you can add LM and test it with runtime. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | paddlespeech/s2t/modules/conformer_convolution.py | 185 | # It's better we just return None if no cache is requried, | COMMENT |
| LOW | …examples/custom_asr/local/compile_lexicon_token_fst.sh | 59 | # so here just use simple ctc_token_fst | COMMENT |
| MEDIUM | utils/md-eval.pl | 78 | # the corresponding line of output from SpkrSegEval, to facilitate | COMMENT |
| LOW | utils/fst/compile_lexicon_token_fst.sh | 59 | # so here just use simple ctc_token_fst | COMMENT |
| MEDIUM | examples/ted_en_zh/st1/local/data.sh | 54 | ### But you can utilize Kaldi recipes in most cases | COMMENT |
| MEDIUM | examples/ted_en_zh/st1/local/data.sh | 108 | ### But you can utilize Kaldi recipes in most cases | COMMENT |
| MEDIUM | examples/librispeech/asr2/local/data.sh | 73 | ### But you can utilize Kaldi recipes in most cases | COMMENT |
| MEDIUM | examples/librispeech/asr2/local/data.sh | 86 | ### But you can utilize Kaldi recipes in most cases | COMMENT |
| MEDIUM | examples/mustc/st1/local/data.sh | 55 | ### But you can utilize Kaldi recipes in most cases | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/extras/install_mkl.sh | 235 | # Print the message after the large install, so the user may notice. I hope... | COMMENT |
| LOW | paddlespeech/s2t/io/speechbrain/dataio.py | 496 | # Check if the path of filename exists | COMMENT |
| LOW | paddlespeech/s2t/models/wav2vec2/modules/containers.py | 106 | # Check if it needs to be constructed with input shape | COMMENT |
| LOW | tests/unit/audiotools/core/test_effects.py | 159 | # Check if it works in batches. | COMMENT |
| LOW | utils/dump.sh | 87 | # Write the filetype, this will be used for data2json.sh | COMMENT |
| LOW | audio/tools/setup_helpers/extension.py | 127 | # Set CMAKE_BUILD_PARALLEL_LEVEL to control the parallel build level | COMMENT |
| LOW | examples/ami/sd0/local/ami_prepare.py | 118 | # Check if this phase is already done (if so, skip it) | COMMENT |
| LOW | examples/librispeech/asr2/local/data.sh | 15 | # Set this to somewhere where you want to put your data, or where | COMMENT |
| LOW | examples/librispeech/asr2/local/data.sh | 26 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ddlespeech/server/engine/asr/online/onnx/asr_engine.py | 259 | # num_frames - context + 1 ensure that current frame can get context window | COMMENT |
| MEDIUM | …lespeech/server/engine/asr/online/python/asr_engine.py | 309 | # num_frames - context + 1 ensure that current frame can get context window | COMMENT |
| MEDIUM | …lespeech/server/engine/asr/online/python/asr_engine.py | 455 | # num_frames - context + 1 ensure that current frame can get context window | COMMENT |
| MEDIUM | …server/engine/asr/online/paddleinference/asr_engine.py | 259 | # num_frames - context + 1 ensure that current frame can get context window | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1218 | # Step 1: Merge adjacent sub-segments that belong to same speaker (or cluster) | COMMENT |
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1221 | # Step 2: Distribute duration of adjacent overlapping sub-segments belonging to different speakers (or cluster) | COMMENT |
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1286 | # Step 1: Merge adjacent sub-segments that belong to same speaker (or cluster) | COMMENT |
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1289 | # Step 2: Distribute duration of adjacent overlapping sub-segments belonging to different speakers (or cluster) | COMMENT |
| LOW | runtime/engine/kaldi/fstext/determinize-star-inl.h | 436 | // information As a result each time we do a look-up, we need to check if | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1218 | # Step 1: Merge adjacent sub-segments that belong to same speaker (or cluster) | COMMENT |
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1221 | # Step 2: Distribute duration of adjacent overlapping sub-segments belonging to different speakers (or cluster) | COMMENT |
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1286 | # Step 1: Merge adjacent sub-segments that belong to same speaker (or cluster) | COMMENT |
| LOW⚡ | paddlespeech/vector/cluster/diarization.py | 1289 | # Step 2: Distribute duration of adjacent overlapping sub-segments belonging to different speakers (or cluster) | COMMENT |
| LOW | audio/paddleaudio/src/pybind/sox/utils.h | 71 | /// NOTE: This function might modify the values in the input buffer to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | third_party/ctc_decoders/setup.py | 73 | + dummy_path + " >/dev/null 2>/dev/null && rm " \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_tipc/benchmark_train.sh | 13 | # Usage: | COMMENT |