* make audio requirements optional
* add changelog for version v0.2
* add numpy constraint for compatibility with tensorflow1.15
* update faq
* fix nlp requiring tensorflow
* add torchvision to multimodal dependency
* bump version from 0.2.1 to 0.2.2
* add warning msg when tensorflow is not installed
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9268278
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9178339
* refactor: move aec models to audio/aec
* refactor: move aec models to audio/aec
* refactor: move aec models to audio/aec
* refactor: move aec models to audio/aec
* feat: add unittest for ANS pipeline
* Merge branch 'master' into dev/ans
* add new SoundFile to audio dependency
* Merge branch 'master' into dev/ans
* use ANS pipeline name from metainfo
* Merge branch 'master' into dev/ans
* chore: update docstring of ANS module
* Merge branch 'master' into dev/ans
* refactor: use names from metainfo
* refactor: enable ans unittest
* refactor: add more log message in unittest
* commit 'ace8af92465f7d772f035aebe98967726655f12c':
[to #42322933] Add cv-action-recongnition-pipeline to maas lib
[to #42463204] support Pil.Image for image_captioning_pipeline
[to #42670107] restore pydataset test
[to #42322933] add create if not exist and add(back) create model example Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9130661
[to #41474818]fix: fix errors in task name definition
# Conflicts:
# modelscope/pipelines/builder.py
# modelscope/utils/constant.py
* using get_model to validate hub path
* support reading pipeline info from configuration file
* add metainfo const
* update model type and pipeline type and fix UT
* relax requimrent for protobuf
* skip two dataset tests due to temporal failure
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9118154
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
1. add OFA whl for image caption pipeline
2. fix a bug in pipelines/builder.py
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8930942
* [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
* refine doc
* upload ofa for caption(with source code but not whl)
* remove data in gitignore
* append uncommitted data dir in ofa
* remove ofa_dir , use ofa.whl instead.
* update BPE
* rollback changes used in debugging.
* Merge branch 'master' into ofa/image_caption
# Conflicts:
# docs/README.md
# docs/source/conf.py
# docs/source/index.rst
# docs/source/tutorials/pipeline.md
# maas_lib/models/nlp/sequence_classification_model.py
# maas_lib/pipelines/builder.py
# maas_lib/version.py
# setup.py
# tests/pipelines/test_text_classification.py
* 1. fix a bug in pipelines/builder.py.
2. modify model_path to model in image_captioning.py.
* 1. rename test_image_captioning.py.
* format all files using pre-commit.
* add fairseq in requirements.txt
* add fairseq in requirements.txt
* change fairseq path to git repo to a whl on oss in ofa.txt.
* change module_name to 'ofa'
* Merge remote-tracking branch 'origin/master' into ofa/image_caption
# Conflicts:
# maas_lib/pipelines/builder.py
* optim requirements for ofa / refine image_captioning.py
* uncommited change.
* feat: Fix confilct, auto commit by WebIDE