diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index a9a409b5..6dafbc3e 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -76,7 +76,7 @@ RUN pip install --no-cache-dir --upgrade pip && \ ENV SHELL=/bin/bash # install special package -RUN pip install --no-cache-dir mmcls>=0.21.0 mmdet>=2.25.0 decord>=0.6.0 datasets==2.1.0 numpy==1.18.5 ipykernel fairseq +RUN pip install --no-cache-dir mmcls>=0.21.0 mmdet>=2.25.0 decord>=0.6.0 datasets==2.1.0 numpy==1.18.5 ipykernel fairseq fasttext https://modelscope.oss-cn-beijing.aliyuncs.com/releases/dependencies/xtcocotools-1.12-cp37-cp37m-linux_x86_64.whl RUN if [ "$USE_GPU" = "True" ] ; then \ pip install --no-cache-dir dgl-cu113 dglgo -f https://data.dgl.ai/wheels/repo.html; \ diff --git a/modelscope/hub/errors.py b/modelscope/hub/errors.py index fb483287..bd7a20ac 100644 --- a/modelscope/hub/errors.py +++ b/modelscope/hub/errors.py @@ -53,8 +53,8 @@ def handle_http_post_error(response, url, request_body): try: response.raise_for_status() except HTTPError as error: - logger.error('Request %s with body: %s exception, respoonse body: %s' % - (url, request_body, response.body)) + logger.error('Request %s with body: %s exception' % + (url, request_body)) raise error