wenmeng.zwm 3 years ago
parent
commit
c539811deb
3 changed files with 5 additions and 3 deletions
  1. +3
    -0
      .dev_scripts/ci_container_test.sh
  2. +2
    -1
      .dev_scripts/citest.sh
  3. +0
    -2
      modelscope/utils/constant.py

+ 3
- 0
.dev_scripts/ci_container_test.sh View File

@@ -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


+ 2
- 1
.dev_scripts/citest.sh View File

@@ -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


+ 0
- 2
modelscope/utils/constant.py View File

@@ -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'




Loading…
Cancel
Save