mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-24 12:09:22 +01:00
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8973072 * [to #41669377] docs and tools refinement and release 1. add build_doc linter script 2. add sphinx-docs support 3. add development doc and api doc 4. change version to 0.1.0 for the first internal release version Link: https://code.aone.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8775307 * [to #41669377] add pipeline tutorial and fix bugs 1. add pipleine tutorial 2. fix bugs when using pipeline with certain model and preprocessor Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8814301 * refine doc * feat: add audio aec pipeline and preprocessor * feat: add audio aec model classes * feat: add audio aec loss functions * refactor:delete no longer used loss function * [to #42281043] support kwargs in pipeline Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8949062 * support kwargs in pipeline * update develop doc with CR instruction * Merge branch 'release/0.1' into dev/aec * style: reformat code by pre-commit tools * feat:support maas_lib pipeline auto downloading model * test:add aec test case as sample code * feat:aec pipeline use config from maashub * feat:aec pipeline use feature parameters from maashub * update setup.cfg to disable PEP8 rule W503 in flake8 and yapf * format:fix double quoted strings, indent issues and optimize import * refactor:extract some constant in aec pipeline * refactor: delete no longer used __main__ statement * chore:change all Chinese comments to English * fix: change file name style to lower case * refactor: rename model name * feat:load C++ .so from LD_LIBRARY_PATH * feat:register PROPROCESSOR for LinearAECAndFbank * refactory:move aec process from postprocess() to forward() and update comments * refactory:add more readable error message when audio sample rate is not 16000 * fix: package maas_lib renamed to modelscope in import statement * feat: optimize the error message of audio layer classes * format: delete empty lines * refactor: rename audio preprocessor and optimize error message * refactor: change aec model id to damo/speech_dfsmn_aec_psm_16k * refactor: change sample audio file url to public oss * Merge branch 'master' into dev/aec * feat: add output info for aec pipeline * fix: normalize output audio data to [-1.0, 1.0] * refactor:use constant from ModelFile * feat: AEC pipeline can use c++ lib in current working directory and the test will download it * fix: c++ downloading should work wherever test is triggerd
26 lines
613 B
INI
26 lines
613 B
INI
[isort]
|
|
line_length = 79
|
|
multi_line_output = 0
|
|
known_standard_library = setuptools
|
|
known_first_party = modelscope
|
|
known_third_party = json,yaml
|
|
no_lines_before = STDLIB,LOCALFOLDER
|
|
default_section = THIRDPARTY
|
|
|
|
[yapf]
|
|
BASED_ON_STYLE = pep8
|
|
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
|
|
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true
|
|
SPLIT_BEFORE_ARITHMETIC_OPERATOR = true
|
|
|
|
[codespell]
|
|
skip = *.ipynb
|
|
quiet-level = 3
|
|
ignore-words-list = patten,nd,ty,mot,hist,formating,winn,gool,datas,wan,confids
|
|
|
|
[flake8]
|
|
select = B,C,E,F,P,T4,W,B9
|
|
max-line-length = 120
|
|
ignore = F401,F821,W503
|
|
exclude = docs/src,*.pyi,.git
|