Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9617409master
| @@ -4,6 +4,9 @@ pip install -r requirements/cv.txt -f https://modelscope.oss-cn-beijing.aliyuncs | |||||
| pip install -r requirements/multi-modal.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html | pip install -r requirements/multi-modal.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html | ||||
| pip install -r requirements/nlp.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html | pip install -r requirements/nlp.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html | ||||
| pip install -r requirements/tests.txt | pip install -r requirements/tests.txt | ||||
| # install numpy<=1.18 for tensorflow==1.15.x | |||||
| pip install "numpy<=1.18" | |||||
| git config --global --add safe.directory /Maas-lib | git config --global --add safe.directory /Maas-lib | ||||
| # linter test | # linter test | ||||
| @@ -5,7 +5,8 @@ pip install -r requirements/multi-modal.txt -f https://modelscope.oss-cn-beijing | |||||
| pip install -r requirements/nlp.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html | pip install -r requirements/nlp.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html | ||||
| pip install -r requirements/tests.txt | pip install -r requirements/tests.txt | ||||
| # install numpy<=1.18 for tensorflow==1.15.x | |||||
| pip install "numpy<=1.18" | |||||
| # linter test | # linter test | ||||
| # use internal project for pre-commit due to the network problem | # use internal project for pre-commit due to the network problem | ||||
| @@ -59,8 +59,6 @@ class CVTasks(object): | |||||
| live_category = 'live-category' | live_category = 'live-category' | ||||
| action_recognition = 'action-recognition' | action_recognition = 'action-recognition' | ||||
| video_category = 'video-category' | video_category = 'video-category' | ||||
| image_portrait_stylization = 'image-portrait-stylization' | |||||
| image_to_image_generation = 'image-to-image-generation' | |||||
| video_embedding = 'video-embedding' | video_embedding = 'video-embedding' | ||||
| virtual_try_on = 'virtual-try-on' | virtual_try_on = 'virtual-try-on' | ||||