【DSW Gallery】Grounded-SAM 马赛克熊使用示例

本文涉及的产品
模型在线服务 PAI-EAS,A10/V100等 500元 1个月
模型训练 PAI-DLC,5000CU*H 3个月
交互式建模 PAI-DSW,5000CU*H 3个月
简介: 由IDEA-CVR主导的Grounded-SAM(https://github.com/IDEA-Research/Grounded-Segment-Anything)项目,可以通过任意组合Foundation Models,实现各种视觉工作流场景的应用。 PAI-DSW的Grounded-SAM v0.1版本中最酷炫的功能是:可以实现只输入图片,就可以无交互式完全自动化标注出图片的检测框和分割掩码。

直接使用

请打开基于Grounded-SAM 马赛克熊使用示例,并点击右上角 “ 在DSW中打开” 。

image.png

由IDEA-CVR主导的Grounded-SAM(https://github.com/IDEA-Research/Grounded-Segment-Anything)项目,可以通过任意组合Foundation Models,实现各种视觉工作流场景的应用。PAI-DSW的Grounded-SAM v0.1版本中最酷炫的功能是:可以实现只输入图片,就可以无交互式完全自动化标注出图片的检测框和分割掩码。

下面介绍一下Grounded-SAM提供的各种task_type模式:

det: 通过Grounding DINO(https://github.com/IDEA-Research/GroundingDINO)和文本交互实现检测(需要指定detection prompt)。
seg: 通过组合Grounding DINO和Segment Anything(https://github.com/facebookresearch/segment-anything)实现文本交互实现检测+分割(需要指定detection prompt)。
inpainting: 通过组合Grounding DINO + Segment Anything + Stable Diffusion(https://github.com/Stability-AI/StableDiffusion)实现文本交换替换目标物体(需要指定detection prompt和inpaint prompt)。
automatic: 通过组合BLIP(https://github.com/salesforce/BLIP) + Grounding DINO + Segment Anything实现无交互式检测+分割(无需指定prompt)。

Tips:

如果您想用Grounding DINO在一句话中检测多个对象, 我们建议用.分隔每个名称, 比如: cat.dog.chair。

安装依赖包

!git clone https://github.com/IDEA-Research/Grounded-Segment-Anything
!pip install gradio==3.16.2
%cd ./Grounded-Segment-Anything 
!pip install -r requirements.txt
%cd ./GroundingDINO
!pip install .
%cd ../segment_anything
!pip install .
%cd ../
fatal: destination path 'Grounded-Segment-Anything' already exists and is not an empty directory.
Looking in indexes: http://yum.tbsite.net/pypi/simple
Requirement already satisfied: gradio==3.16.2 in /home/pai/lib/python3.9/site-packages (3.16.2)
Requirement already satisfied: jinja2 in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (3.1.2)
Requirement already satisfied: orjson in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (3.8.10)
Requirement already satisfied: markdown-it-py[linkify,plugins] in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (2.2.0)
Requirement already satisfied: fastapi in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (0.95.0)
Requirement already satisfied: matplotlib in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (3.5.2)
Requirement already satisfied: numpy in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (1.23.5)
Requirement already satisfied: fsspec in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (2023.4.0)
Requirement already satisfied: python-multipart in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (0.0.6)
Requirement already satisfied: aiohttp in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (3.8.4)
Requirement already satisfied: altair>=4.2.0 in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (4.2.2)
Requirement already satisfied: pyyaml in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (6.0)
Requirement already satisfied: httpx in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (0.24.0)
Requirement already satisfied: ffmpy in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (0.3.0)
Requirement already satisfied: markupsafe in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (2.1.2)
Requirement already satisfied: pydub in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (0.25.1)
Requirement already satisfied: pycryptodome in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (3.17)
Requirement already satisfied: requests in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (2.28.1)
Requirement already satisfied: websockets>=10.0 in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (11.0.1)
Requirement already satisfied: typing-extensions in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (4.5.0)
Requirement already satisfied: pillow in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (9.5.0)
Requirement already satisfied: pydantic in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (1.10.7)
Requirement already satisfied: uvicorn in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (0.21.1)
Requirement already satisfied: aiofiles in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (23.1.0)
Requirement already satisfied: pandas in /home/pai/lib/python3.9/site-packages (from gradio==3.16.2) (2.0.0)
Requirement already satisfied: toolz in /home/pai/lib/python3.9/site-packages (from altair>=4.2.0->gradio==3.16.2) (0.12.0)
Requirement already satisfied: jsonschema>=3.0 in /home/pai/lib/python3.9/site-packages (from altair>=4.2.0->gradio==3.16.2) (4.17.3)
Requirement already satisfied: entrypoints in /home/pai/lib/python3.9/site-packages (from altair>=4.2.0->gradio==3.16.2) (0.4)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/pai/lib/python3.9/site-packages (from pandas->gradio==3.16.2) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /home/pai/lib/python3.9/site-packages (from pandas->gradio==3.16.2) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in /home/pai/lib/python3.9/site-packages (from pandas->gradio==3.16.2) (2023.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (1.8.2)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (6.0.4)
Requirement already satisfied: frozenlist>=1.1.1 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (1.3.3)
Requirement already satisfied: attrs>=17.3.0 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (22.2.0)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (4.0.2)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (2.0.4)
Requirement already satisfied: aiosignal>=1.1.2 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio==3.16.2) (1.3.1)
Requirement already satisfied: starlette<0.27.0,>=0.26.1 in /home/pai/lib/python3.9/site-packages (from fastapi->gradio==3.16.2) (0.26.1)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /home/pai/lib/python3.9/site-packages (from httpx->gradio==3.16.2) (0.17.0)
Requirement already satisfied: certifi in /home/pai/lib/python3.9/site-packages (from httpx->gradio==3.16.2) (2022.12.7)
Requirement already satisfied: idna in /home/pai/lib/python3.9/site-packages (from httpx->gradio==3.16.2) (3.4)
Requirement already satisfied: sniffio in /home/pai/lib/python3.9/site-packages (from httpx->gradio==3.16.2) (1.3.0)
Requirement already satisfied: mdurl~=0.1 in /home/pai/lib/python3.9/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.16.2) (0.1.2)
Requirement already satisfied: mdit-py-plugins in /home/pai/lib/python3.9/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.16.2) (0.3.3)
Requirement already satisfied: linkify-it-py<3,>=1 in /home/pai/lib/python3.9/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.16.2) (2.0.0)
Requirement already satisfied: packaging>=20.0 in /home/pai/lib/python3.9/site-packages (from matplotlib->gradio==3.16.2) (23.0)
Requirement already satisfied: cycler>=0.10 in /home/pai/lib/python3.9/site-packages (from matplotlib->gradio==3.16.2) (0.11.0)
Requirement already satisfied: pyparsing>=2.2.1 in /home/pai/lib/python3.9/site-packages (from matplotlib->gradio==3.16.2) (3.0.9)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/pai/lib/python3.9/site-packages (from matplotlib->gradio==3.16.2) (1.4.4)
Requirement already satisfied: fonttools>=4.22.0 in /home/pai/lib/python3.9/site-packages (from matplotlib->gradio==3.16.2) (4.39.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pai/lib/python3.9/site-packages (from requests->gradio==3.16.2) (1.26.13)
Requirement already satisfied: click>=7.0 in /home/pai/lib/python3.9/site-packages (from uvicorn->gradio==3.16.2) (8.1.3)
Requirement already satisfied: h11>=0.8 in /home/pai/lib/python3.9/site-packages (from uvicorn->gradio==3.16.2) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in /home/pai/lib/python3.9/site-packages (from httpcore<0.18.0,>=0.15.0->httpx->gradio==3.16.2) (3.6.2)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/pai/lib/python3.9/site-packages (from jsonschema>=3.0->altair>=4.2.0->gradio==3.16.2) (0.19.3)
Requirement already satisfied: uc-micro-py in /home/pai/lib/python3.9/site-packages (from linkify-it-py<3,>=1->markdown-it-py[linkify,plugins]->gradio==3.16.2) (1.0.1)
Requirement already satisfied: six>=1.5 in /home/pai/lib/python3.9/site-packages (from python-dateutil>=2.8.2->pandas->gradio==3.16.2) (1.16.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/mnt/workspace/workgroup/yunji.cjy/codebase/pai-dsw-examples/deepLearning/cv/grounded_sam/Grounded-Segment-Anything
Looking in indexes: http://yum.tbsite.net/pypi/simple
Requirement already satisfied: addict in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (2.4.0)
Requirement already satisfied: diffusers in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (0.15.0)
Requirement already satisfied: gradio in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (3.16.2)
Requirement already satisfied: huggingface_hub in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (0.13.4)
Requirement already satisfied: matplotlib in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (3.5.2)
Requirement already satisfied: numpy in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (1.23.5)
Requirement already satisfied: onnxruntime in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (1.14.1)
Requirement already satisfied: opencv_python in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 8)) (4.6.0.66)
Requirement already satisfied: Pillow in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (9.5.0)
Requirement already satisfied: pycocotools in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 10)) (2.0.6)
Requirement already satisfied: PyYAML in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (6.0)
Requirement already satisfied: requests in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 12)) (2.28.1)
Requirement already satisfied: setuptools in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 13)) (65.6.3)
Requirement already satisfied: supervision in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 14)) (0.3.2)
Requirement already satisfied: termcolor in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 15)) (2.2.0)
Requirement already satisfied: timm in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 16)) (0.5.4)
Requirement already satisfied: torch in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 17)) (1.12.1+cu113)
Requirement already satisfied: torchvision in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 18)) (0.13.1+cu113)
Requirement already satisfied: transformers in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 19)) (4.27.4)
Requirement already satisfied: yapf in /home/pai/lib/python3.9/site-packages (from -r requirements.txt (line 20)) (0.32.0)
Requirement already satisfied: importlib-metadata in /home/pai/lib/python3.9/site-packages (from diffusers->-r requirements.txt (line 2)) (6.2.0)
Requirement already satisfied: regex!=2019.12.17 in /home/pai/lib/python3.9/site-packages (from diffusers->-r requirements.txt (line 2)) (2023.3.23)
Requirement already satisfied: filelock in /home/pai/lib/python3.9/site-packages (from diffusers->-r requirements.txt (line 2)) (3.11.0)
Requirement already satisfied: altair>=4.2.0 in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (4.2.2)
Requirement already satisfied: fastapi in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (0.95.0)
Requirement already satisfied: python-multipart in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (0.0.6)
Requirement already satisfied: markdown-it-py[linkify,plugins] in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (2.2.0)
Requirement already satisfied: pydantic in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (1.10.7)
Requirement already satisfied: ffmpy in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (0.3.0)
Requirement already satisfied: pycryptodome in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (3.17)
Requirement already satisfied: pandas in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (2.0.0)
Requirement already satisfied: uvicorn in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (0.21.1)
Requirement already satisfied: jinja2 in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (3.1.2)
Requirement already satisfied: markupsafe in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (2.1.2)
Requirement already satisfied: aiohttp in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (3.8.4)
Requirement already satisfied: orjson in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (3.8.10)
Requirement already satisfied: typing-extensions in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (4.5.0)
Requirement already satisfied: pydub in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (0.25.1)
Requirement already satisfied: fsspec in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (2023.4.0)
Requirement already satisfied: httpx in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (0.24.0)
Requirement already satisfied: aiofiles in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (23.1.0)
Requirement already satisfied: websockets>=10.0 in /home/pai/lib/python3.9/site-packages (from gradio->-r requirements.txt (line 3)) (11.0.1)
Requirement already satisfied: tqdm>=4.42.1 in /home/pai/lib/python3.9/site-packages (from huggingface_hub->-r requirements.txt (line 4)) (4.65.0)
Requirement already satisfied: packaging>=20.9 in /home/pai/lib/python3.9/site-packages (from huggingface_hub->-r requirements.txt (line 4)) (23.0)
Requirement already satisfied: fonttools>=4.22.0 in /home/pai/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 5)) (4.39.3)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/pai/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 5)) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in /home/pai/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 5)) (2.8.2)
Requirement already satisfied: pyparsing>=2.2.1 in /home/pai/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 5)) (3.0.9)
Requirement already satisfied: cycler>=0.10 in /home/pai/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 5)) (0.11.0)
Requirement already satisfied: coloredlogs in /home/pai/lib/python3.9/site-packages (from onnxruntime->-r requirements.txt (line 7)) (15.0.1)
Requirement already satisfied: flatbuffers in /home/pai/lib/python3.9/site-packages (from onnxruntime->-r requirements.txt (line 7)) (23.3.3)
Requirement already satisfied: protobuf in /home/pai/lib/python3.9/site-packages (from onnxruntime->-r requirements.txt (line 7)) (3.20.3)
Requirement already satisfied: sympy in /home/pai/lib/python3.9/site-packages (from onnxruntime->-r requirements.txt (line 7)) (1.11.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pai/lib/python3.9/site-packages (from requests->-r requirements.txt (line 12)) (1.26.13)
Requirement already satisfied: idna<4,>=2.5 in /home/pai/lib/python3.9/site-packages (from requests->-r requirements.txt (line 12)) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/pai/lib/python3.9/site-packages (from requests->-r requirements.txt (line 12)) (2022.12.7)
Requirement already satisfied: charset-normalizer<3,>=2 in /home/pai/lib/python3.9/site-packages (from requests->-r requirements.txt (line 12)) (2.0.4)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /home/pai/lib/python3.9/site-packages (from transformers->-r requirements.txt (line 19)) (0.13.3)
Requirement already satisfied: jsonschema>=3.0 in /home/pai/lib/python3.9/site-packages (from altair>=4.2.0->gradio->-r requirements.txt (line 3)) (4.17.3)
Requirement already satisfied: entrypoints in /home/pai/lib/python3.9/site-packages (from altair>=4.2.0->gradio->-r requirements.txt (line 3)) (0.4)
Requirement already satisfied: toolz in /home/pai/lib/python3.9/site-packages (from altair>=4.2.0->gradio->-r requirements.txt (line 3)) (0.12.0)
Requirement already satisfied: pytz>=2020.1 in /home/pai/lib/python3.9/site-packages (from pandas->gradio->-r requirements.txt (line 3)) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in /home/pai/lib/python3.9/site-packages (from pandas->gradio->-r requirements.txt (line 3)) (2023.3)
Requirement already satisfied: six>=1.5 in /home/pai/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 5)) (1.16.0)
Requirement already satisfied: aiosignal>=1.1.2 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio->-r requirements.txt (line 3)) (1.3.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio->-r requirements.txt (line 3)) (4.0.2)
Requirement already satisfied: frozenlist>=1.1.1 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio->-r requirements.txt (line 3)) (1.3.3)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio->-r requirements.txt (line 3)) (6.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio->-r requirements.txt (line 3)) (1.8.2)
Requirement already satisfied: attrs>=17.3.0 in /home/pai/lib/python3.9/site-packages (from aiohttp->gradio->-r requirements.txt (line 3)) (22.2.0)
Requirement already satisfied: humanfriendly>=9.1 in /home/pai/lib/python3.9/site-packages (from coloredlogs->onnxruntime->-r requirements.txt (line 7)) (10.0)
Requirement already satisfied: starlette<0.27.0,>=0.26.1 in /home/pai/lib/python3.9/site-packages (from fastapi->gradio->-r requirements.txt (line 3)) (0.26.1)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /home/pai/lib/python3.9/site-packages (from httpx->gradio->-r requirements.txt (line 3)) (0.17.0)
Requirement already satisfied: sniffio in /home/pai/lib/python3.9/site-packages (from httpx->gradio->-r requirements.txt (line 3)) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /home/pai/lib/python3.9/site-packages (from importlib-metadata->diffusers->-r requirements.txt (line 2)) (3.15.0)
Requirement already satisfied: mdurl~=0.1 in /home/pai/lib/python3.9/site-packages (from markdown-it-py[linkify,plugins]->gradio->-r requirements.txt (line 3)) (0.1.2)
Requirement already satisfied: mdit-py-plugins in /home/pai/lib/python3.9/site-packages (from markdown-it-py[linkify,plugins]->gradio->-r requirements.txt (line 3)) (0.3.3)
Requirement already satisfied: linkify-it-py<3,>=1 in /home/pai/lib/python3.9/site-packages (from markdown-it-py[linkify,plugins]->gradio->-r requirements.txt (line 3)) (2.0.0)
Requirement already satisfied: mpmath>=0.19 in /home/pai/lib/python3.9/site-packages (from sympy->onnxruntime->-r requirements.txt (line 7)) (1.3.0)
Requirement already satisfied: h11>=0.8 in /home/pai/lib/python3.9/site-packages (from uvicorn->gradio->-r requirements.txt (line 3)) (0.14.0)
Requirement already satisfied: click>=7.0 in /home/pai/lib/python3.9/site-packages (from uvicorn->gradio->-r requirements.txt (line 3)) (8.1.3)
Requirement already satisfied: anyio<5.0,>=3.0 in /home/pai/lib/python3.9/site-packages (from httpcore<0.18.0,>=0.15.0->httpx->gradio->-r requirements.txt (line 3)) (3.6.2)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/pai/lib/python3.9/site-packages (from jsonschema>=3.0->altair>=4.2.0->gradio->-r requirements.txt (line 3)) (0.19.3)
Requirement already satisfied: uc-micro-py in /home/pai/lib/python3.9/site-packages (from linkify-it-py<3,>=1->markdown-it-py[linkify,plugins]->gradio->-r requirements.txt (line 3)) (1.0.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/mnt/workspace/workgroup/yunji.cjy/codebase/pai-dsw-examples/deepLearning/cv/grounded_sam/Grounded-Segment-Anything/GroundingDINO
Looking in indexes: http://yum.tbsite.net/pypi/simple
Processing /mnt/workspace/workgroup/yunji.cjy/codebase/pai-dsw-examples/deepLearning/cv/grounded_sam/Grounded-Segment-Anything/GroundingDINO
  Preparing metadata (setup.py) ... ?25ldone
?25hRequirement already satisfied: torch in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (1.12.1+cu113)
Requirement already satisfied: torchvision in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (0.13.1+cu113)
Requirement already satisfied: transformers in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (4.27.4)
Requirement already satisfied: addict in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (2.4.0)
Requirement already satisfied: yapf in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (0.32.0)
Requirement already satisfied: timm in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (0.5.4)
Requirement already satisfied: numpy in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (1.23.5)
Requirement already satisfied: opencv-python in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (4.6.0.66)
Requirement already satisfied: supervision==0.3.2 in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (0.3.2)
Requirement already satisfied: pycocotools in /home/pai/lib/python3.9/site-packages (from groundingdino==0.1.0) (2.0.6)
Requirement already satisfied: matplotlib in /home/pai/lib/python3.9/site-packages (from supervision==0.3.2->groundingdino==0.1.0) (3.5.2)
Requirement already satisfied: typing-extensions in /home/pai/lib/python3.9/site-packages (from torch->groundingdino==0.1.0) (4.5.0)
Requirement already satisfied: requests in /home/pai/lib/python3.9/site-packages (from torchvision->groundingdino==0.1.0) (2.28.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /home/pai/lib/python3.9/site-packages (from torchvision->groundingdino==0.1.0) (9.5.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.11.0 in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (0.13.4)
Requirement already satisfied: packaging>=20.0 in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (23.0)
Requirement already satisfied: tqdm>=4.27 in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (4.65.0)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (0.13.3)
Requirement already satisfied: filelock in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (3.11.0)
Requirement already satisfied: pyyaml>=5.1 in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (6.0)
Requirement already satisfied: regex!=2019.12.17 in /home/pai/lib/python3.9/site-packages (from transformers->groundingdino==0.1.0) (2023.3.23)
Requirement already satisfied: pyparsing>=2.2.1 in /home/pai/lib/python3.9/site-packages (from matplotlib->supervision==0.3.2->groundingdino==0.1.0) (3.0.9)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/pai/lib/python3.9/site-packages (from matplotlib->supervision==0.3.2->groundingdino==0.1.0) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in /home/pai/lib/python3.9/site-packages (from matplotlib->supervision==0.3.2->groundingdino==0.1.0) (2.8.2)
Requirement already satisfied: fonttools>=4.22.0 in /home/pai/lib/python3.9/site-packages (from matplotlib->supervision==0.3.2->groundingdino==0.1.0) (4.39.3)
Requirement already satisfied: cycler>=0.10 in /home/pai/lib/python3.9/site-packages (from matplotlib->supervision==0.3.2->groundingdino==0.1.0) (0.11.0)
Requirement already satisfied: idna<4,>=2.5 in /home/pai/lib/python3.9/site-packages (from requests->torchvision->groundingdino==0.1.0) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in /home/pai/lib/python3.9/site-packages (from requests->torchvision->groundingdino==0.1.0) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/pai/lib/python3.9/site-packages (from requests->torchvision->groundingdino==0.1.0) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pai/lib/python3.9/site-packages (from requests->torchvision->groundingdino==0.1.0) (1.26.13)
Requirement already satisfied: six>=1.5 in /home/pai/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->supervision==0.3.2->groundingdino==0.1.0) (1.16.0)
Building wheels for collected packages: groundingdino
  Building wheel for groundingdino (setup.py) ... ?25ldone
?25h  Created wheel for groundingdino: filename=groundingdino-0.1.0-cp39-cp39-linux_x86_64.whl size=320179 sha256=0608b8d71abd095353815bf6a1b2a791147f37aafca0c74cd5bae8a2525f4b16
  Stored in directory: /tmp/pip-ephem-wheel-cache-n1shgckw/wheels/14/e9/cf/99a7846bdadc6a78d1e650a7083f847dacdc7e55009eb0d77e
Successfully built groundingdino
Installing collected packages: groundingdino
  Attempting uninstall: groundingdino
    Found existing installation: groundingdino 0.1.0
    Uninstalling groundingdino-0.1.0:
      Successfully uninstalled groundingdino-0.1.0
Successfully installed groundingdino-0.1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/mnt/workspace/workgroup/yunji.cjy/codebase/pai-dsw-examples/deepLearning/cv/grounded_sam/Grounded-Segment-Anything/segment_anything
Looking in indexes: http://yum.tbsite.net/pypi/simple
Processing /mnt/workspace/workgroup/yunji.cjy/codebase/pai-dsw-examples/deepLearning/cv/grounded_sam/Grounded-Segment-Anything/segment_anything
  Preparing metadata (setup.py) ... ?25ldone
?25hBuilding wheels for collected packages: segment-anything
  Building wheel for segment-anything (setup.py) ... ?25ldone
?25h  Created wheel for segment-anything: filename=segment_anything-1.0-py3-none-any.whl size=36561 sha256=eef97d8cb3d96388426f9600b1d8d553a020210ec7e45443fe0984ee57b1c5d2
  Stored in directory: /tmp/pip-ephem-wheel-cache-wg_290re/wheels/28/6d/7c/9e0de1fa49bea5fc46ac26da62d8286afe3ee7a1a041b2de33
Successfully built segment-anything
Installing collected packages: segment-anything
  Attempting uninstall: segment-anything
    Found existing installation: segment-anything 1.0
    Uninstalling segment-anything-1.0:
      Successfully uninstalled segment-anything-1.0
Successfully installed segment-anything-1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/mnt/workspace/workgroup/yunji.cjy/codebase/pai-dsw-examples/deepLearning/cv/grounded_sam/Grounded-Segment-Anything
!wget -c https://pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com/data/crawl_data/groundingdino_swint_ogc.pth
!wget -c https://pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com/data/crawl_data/sam_vit_h_4b8939.pth
--2023-04-13 15:35:41--  https://pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com/data/crawl_data/groundingdino_swint_ogc.pth
Resolving pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com (pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com)... 39.98.20.34
Connecting to pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com (pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com)|39.98.20.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 693997677 (662M) [application/octet-stream]
Saving to: ‘groundingdino_swint_ogc.pth’
groundingdino_swint 100%[===================>] 661.85M  23.2MB/s    in 29s     
2023-04-13 15:36:10 (22.9 MB/s) - ‘groundingdino_swint_ogc.pth’ saved [693997677/693997677]
--2023-04-13 15:36:10--  https://pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com/data/crawl_data/sam_vit_h_4b8939.pth
Resolving pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com (pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com)... 39.98.20.34
Connecting to pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com (pai-vision-data-inner.oss-cn-zhangjiakou.aliyuncs.com)|39.98.20.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2564550879 (2.4G) [application/octet-stream]
Saving to: ‘sam_vit_h_4b8939.pth’
sam_vit_h_4b8939.pt 100%[===================>]   2.39G  17.7MB/s    in 2m 31s  
2023-04-13 15:38:41 (16.2 MB/s) - ‘sam_vit_h_4b8939.pth’ saved [2564550879/2564550879]
!python gradio_app.py
Namespace(debug=False, share=False, port=7589, no_gradio_queue=False)
/home/pai/lib/python3.9/site-packages/gradio/components.py:148: UserWarning: Unknown style parameter: preview
  warnings.warn(f"Unknown style parameter: {key}")
/home/pai/lib/python3.9/site-packages/gradio/components.py:148: UserWarning: Unknown style parameter: object_fit
  warnings.warn(f"Unknown style parameter: {key}")
Running on local URL:  http://0.0.0.0:7589
To create a public link, set `share=True` in `launch()`.
/home/pai/lib/python3.9/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  ../aten/src/ATen/native/TensorShape.cpp:2894.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
final text_encoder_type: bert-base-uncased
Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertModel: ['cls.predictions.transform.dense.bias', 'cls.predictions.decoder.weight', 'cls.seq_relationship.weight', 'cls.predictions.transform.dense.weight', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.bias', 'cls.seq_relationship.bias', 'cls.predictions.transform.LayerNorm.bias']
- This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
_IncompatibleKeys(missing_keys=[], unexpected_keys=['label_enc.weight'])
Downloading (…)rocessor_config.json: 100%|██████| 445/445 [00:00<00:00, 305kB/s]
Downloading (…)okenizer_config.json: 100%|██████| 456/456 [00:00<00:00, 395kB/s]
Downloading (…)solve/main/vocab.txt: 100%|████| 232k/232k [00:00<00:00, 790kB/s]
Downloading (…)/main/tokenizer.json: 100%|███| 711k/711k [00:00<00:00, 1.13MB/s]
Downloading (…)cial_tokens_map.json: 100%|██████| 125/125 [00:00<00:00, 110kB/s]
Downloading (…)lve/main/config.json: 100%|█| 4.60k/4.60k [00:00<00:00, 3.57MB/s]
Downloading pytorch_model.bin: 100%|████████| 1.88G/1.88G [00:18<00:00, 102MB/s]
/home/pai/lib/python3.9/site-packages/transformers/generation/utils.py:1288: UserWarning: Using `max_length`'s default (20) to control the generation length. This behaviour is deprecated and will be removed from the config in v5 of Transformers -- we recommend using `max_new_tokens` to control the maximum length of the generation.
  warnings.warn(
Caption: there are three bears sitting on the shore of a lake
/home/pai/lib/python3.9/site-packages/transformers/modeling_utils.py:830: FutureWarning: The `device` argument is deprecated and will be removed in v5 of Transformers.
  warnings.warn(
/home/pai/lib/python3.9/site-packages/torch/utils/checkpoint.py:25: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
  warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Before NMS: 8 boxes
After NMS: 6 boxes
Revise caption with number: there are three bears sitting on the shore of a lake
/home/pai/lib/python3.9/site-packages/transformers/modeling_utils.py:830: FutureWarning: The `device` argument is deprecated and will be removed in v5 of Transformers.
  warnings.warn(
/home/pai/lib/python3.9/site-packages/torch/utils/checkpoint.py:25: UserWarning: None of the inputs have requires_grad=True. Gradients will be None
  warnings.warn("None of the inputs have requires_grad=True. Gradients will be None")
Downloading (…)ain/model_index.json: 100%|██████| 550/550 [00:00<00:00, 448kB/s]
Fetching 16 files:   0%|                                 | 0/16 [00:00<?, ?it/s]
Downloading (…)_encoder/config.json: 100%|██████| 617/617 [00:00<00:00, 148kB/s]
Downloading (…)rocessor_config.json: 100%|█████| 342/342 [00:00<00:00, 86.9kB/s]
Downloading (…)4ae314f8/config.json: 100%|██████| 748/748 [00:00<00:00, 208kB/s]
Fetching 16 files:   6%|█▌                       | 1/16 [00:00<00:13,  1.14it/s]
Downloading pytorch_model.bin:   0%|                 | 0.00/492M [00:00<?, ?B/s]
Downloading (…)cheduler_config.json: 100%|█████| 313/313 [00:00<00:00, 79.6kB/s]
Downloading (…)_checker/config.json: 100%|█| 4.78k/4.78k [00:00<00:00, 1.22MB/s]
Downloading pytorch_model.bin:   0%|                | 0.00/1.22G [00:00<?, ?B/s]
Downloading (…)tokenizer/merges.txt:   0%|           | 0.00/525k [00:00<?, ?B/s]
Downloading (…)tokenizer/merges.txt: 100%|███| 525k/525k [00:00<00:00, 1.38MB/s]
Downloading (…)cial_tokens_map.json: 100%|██████| 472/472 [00:00<00:00, 369kB/s]
Downloading (…)okenizer_config.json: 100%|██████| 806/806 [00:00<00:00, 612kB/s]
Downloading (…)on_pytorch_model.bin:   0%|          | 0.00/3.44G [00:00<?, ?B/s]
Downloading pytorch_model.bin:   2%|▏       | 10.5M/492M [00:00<00:33, 14.3MB/s]
Downloading (…)tokenizer/vocab.json:   0%|          | 0.00/1.06M [00:00<?, ?B/s]
Downloading pytorch_model.bin:   4%|▎       | 21.0M/492M [00:00<00:16, 28.9MB/s]
Downloading pytorch_model.bin:   1%|       | 10.5M/1.22G [00:00<01:24, 14.3MB/s]
Downloading pytorch_model.bin:   2%|       | 21.0M/1.22G [00:00<00:41, 28.8MB/s]
Downloading pytorch_model.bin:   9%|▋       | 41.9M/492M [00:01<00:08, 52.9MB/s]
Downloading (…)on_pytorch_model.bin:   0%|           | 0.00/335M [00:00<?, ?B/s]
Downloading pytorch_model.bin:   3%|▏      | 41.9M/1.22G [00:01<00:22, 52.9MB/s]
Downloading (…)on_pytorch_model.bin:   0%| | 10.5M/3.44G [00:00<02:35, 22.0MB/s]
Downloading pytorch_model.bin:  11%|▊       | 52.4M/492M [00:01<00:07, 55.7MB/s]
Downloading pytorch_model.bin:  13%|█       | 62.9M/492M [00:01<00:06, 64.0MB/s]
Downloading (…)on_pytorch_model.bin:   1%| | 31.5M/3.44G [00:00<00:56, 60.0MB/s]
Downloading pytorch_model.bin:   4%|▎      | 52.4M/1.22G [00:01<00:21, 53.9MB/s]
Downloading (…)tokenizer/vocab.json: 100%|█| 1.06M/1.06M [00:00<00:00, 1.68MB/s]
Downloading (…)14f8/vae/config.json: 100%|██████| 552/552 [00:00<00:00, 415kB/s]
Downloading pytorch_model.bin:  15%|█▏      | 73.4M/492M [00:01<00:06, 67.3MB/s]
Downloading (…)on_pytorch_model.bin:   2%| | 52.4M/3.44G [00:00<00:40, 84.0MB/s]
Downloading (…)on_pytorch_model.bin:   3%|  | 10.5M/335M [00:00<00:15, 21.5MB/s]
Downloading pytorch_model.bin:  17%|█▎      | 83.9M/492M [00:01<00:05, 73.5MB/s]
Downloading pytorch_model.bin:   6%|▍      | 73.4M/1.22G [00:01<00:17, 66.6MB/s]
Downloading (…)on_pytorch_model.bin:   2%|  | 73.4M/3.44G [00:00<00:33, 102MB/s]
Downloading pytorch_model.bin:  19%|█▌      | 94.4M/492M [00:01<00:05, 78.8MB/s]
Downloading pytorch_model.bin:   7%|▍      | 83.9M/1.22G [00:01<00:15, 71.9MB/s]
Downloading (…)on_pytorch_model.bin:   9%|▏ | 31.5M/335M [00:00<00:05, 51.3MB/s]
Downloading (…)on_pytorch_model.bin:   3%|  | 94.4M/3.44G [00:01<00:29, 115MB/s]
Downloading pytorch_model.bin:  21%|█▉       | 105M/492M [00:01<00:04, 83.7MB/s]
Downloading pytorch_model.bin:   8%|▌      | 94.4M/1.22G [00:01<00:14, 76.7MB/s]
Downloading pytorch_model.bin:  23%|██       | 115M/492M [00:01<00:04, 87.4MB/s]
Downloading (…)on_pytorch_model.bin:  13%|▎ | 41.9M/335M [00:00<00:05, 57.8MB/s]
Downloading pytorch_model.bin:   9%|▋       | 105M/1.22G [00:01<00:13, 81.3MB/s]
Downloading pytorch_model.bin:  26%|██▎      | 126M/492M [00:01<00:04, 90.3MB/s]
Downloading pytorch_model.bin:   9%|▊       | 115M/1.22G [00:01<00:12, 85.6MB/s]
Downloading (…)on_pytorch_model.bin:  16%|▎ | 52.4M/335M [00:00<00:04, 62.6MB/s]
Downloading pytorch_model.bin:  28%|██▍      | 136M/492M [00:02<00:03, 92.5MB/s]
Downloading pytorch_model.bin:  10%|▊       | 126M/1.22G [00:02<00:12, 88.7MB/s]
Downloading (…)on_pytorch_model.bin:  19%|▍ | 62.9M/335M [00:01<00:03, 68.2MB/s]
Downloading pytorch_model.bin:  30%|██▋      | 147M/492M [00:02<00:03, 94.0MB/s]
Downloading (…)on_pytorch_model.bin:   3%|  | 115M/3.44G [00:01<00:43, 77.2MB/s]
Downloading pytorch_model.bin:  11%|▉       | 136M/1.22G [00:02<00:11, 91.1MB/s]
Downloading (…)on_pytorch_model.bin:  22%|▍ | 73.4M/335M [00:01<00:03, 72.9MB/s]
Downloading pytorch_model.bin:  32%|██▉      | 157M/492M [00:02<00:03, 95.1MB/s]
Downloading pytorch_model.bin:  12%|▉       | 147M/1.22G [00:02<00:11, 92.6MB/s]
Downloading (…)on_pytorch_model.bin:   4%|  | 136M/3.44G [00:01<00:36, 90.5MB/s]
Downloading (…)on_pytorch_model.bin:  25%|▌ | 83.9M/335M [00:01<00:03, 75.4MB/s]
Downloading (…)on_pytorch_model.bin:   5%|▏  | 157M/3.44G [00:01<00:31, 103MB/s]
Downloading pytorch_model.bin:  13%|█       | 157M/1.22G [00:02<00:13, 79.7MB/s]
Downloading (…)on_pytorch_model.bin:  28%|▌ | 94.4M/335M [00:01<00:03, 74.3MB/s]
Downloading pytorch_model.bin:  34%|███      | 168M/492M [00:02<00:04, 65.6MB/s]
Downloading (…)on_pytorch_model.bin:   5%|▏  | 178M/3.44G [00:01<00:28, 113MB/s]
Downloading (…)on_pytorch_model.bin:  31%|▉  | 105M/335M [00:01<00:02, 77.9MB/s]
Downloading (…)on_pytorch_model.bin:  34%|█  | 115M/335M [00:01<00:02, 80.5MB/s]
Downloading (…)on_pytorch_model.bin:   6%|▏  | 199M/3.44G [00:02<00:26, 121MB/s]
Downloading pytorch_model.bin:  36%|███▎     | 178M/492M [00:02<00:05, 55.8MB/s]
Downloading pytorch_model.bin:  14%|█       | 168M/1.22G [00:02<00:19, 53.0MB/s]
Downloading (…)on_pytorch_model.bin:  38%|█▏ | 126M/335M [00:01<00:02, 81.9MB/s]
Downloading (…)on_pytorch_model.bin:   6%|▏  | 220M/3.44G [00:02<00:25, 127MB/s]
Downloading pytorch_model.bin:  38%|███▍     | 189M/492M [00:02<00:04, 64.0MB/s]
Downloading pytorch_model.bin:  15%|█▏      | 178M/1.22G [00:02<00:16, 61.2MB/s]
Downloading (…)on_pytorch_model.bin:  41%|█▏ | 136M/335M [00:02<00:02, 79.3MB/s]
Downloading pytorch_model.bin:  40%|███▋     | 199M/492M [00:03<00:04, 71.3MB/s]
Downloading pytorch_model.bin:  16%|█▏      | 189M/1.22G [00:02<00:14, 68.6MB/s]
Downloading (…)on_pytorch_model.bin:   7%|▏  | 241M/3.44G [00:02<00:24, 132MB/s]
Downloading pytorch_model.bin:  43%|███▊     | 210M/492M [00:03<00:03, 77.6MB/s]
Downloading (…)on_pytorch_model.bin:  44%|█▎ | 147M/335M [00:02<00:02, 78.0MB/s]
Downloading pytorch_model.bin:  16%|█▎      | 199M/1.22G [00:03<00:13, 75.2MB/s]
Downloading (…)on_pytorch_model.bin:   8%|▏  | 262M/3.44G [00:02<00:23, 135MB/s]
Downloading pytorch_model.bin:  45%|████     | 220M/492M [00:03<00:03, 82.7MB/s]
Downloading pytorch_model.bin:  17%|█▍      | 210M/1.22G [00:03<00:12, 80.6MB/s]
Downloading (…)on_pytorch_model.bin:  47%|█▍ | 157M/335M [00:02<00:02, 79.0MB/s]
Downloading pytorch_model.bin:  47%|████▏    | 231M/492M [00:03<00:03, 86.8MB/s]
Downloading pytorch_model.bin:  18%|█▍      | 220M/1.22G [00:03<00:11, 85.1MB/s]
Downloading (…)on_pytorch_model.bin:  50%|█▌ | 168M/335M [00:02<00:02, 77.1MB/s]
Downloading pytorch_model.bin:  49%|████▍    | 241M/492M [00:03<00:02, 89.8MB/s]
Downloading pytorch_model.bin:  19%|█▌      | 231M/1.22G [00:03<00:11, 88.6MB/s]
Downloading (…)on_pytorch_model.bin:  53%|█▌ | 178M/335M [00:02<00:01, 79.7MB/s]
Downloading pytorch_model.bin:  51%|████▌    | 252M/492M [00:03<00:02, 92.3MB/s]
Downloading pytorch_model.bin:  20%|█▌      | 241M/1.22G [00:03<00:10, 90.8MB/s]
Downloading pytorch_model.bin:  53%|████▊    | 262M/492M [00:03<00:02, 94.0MB/s]
Downloading (…)on_pytorch_model.bin:  56%|█▋ | 189M/335M [00:02<00:01, 82.1MB/s]
Downloading pytorch_model.bin:  21%|█▋      | 252M/1.22G [00:03<00:10, 92.9MB/s]
Downloading (…)on_pytorch_model.bin:   8%|▏ | 283M/3.44G [00:03<00:40, 78.0MB/s]
Downloading pytorch_model.bin:  55%|████▉    | 273M/492M [00:03<00:02, 95.3MB/s]
Downloading pytorch_model.bin:  22%|█▋      | 262M/1.22G [00:03<00:10, 94.4MB/s]
Downloading (…)on_pytorch_model.bin:  60%|█▊ | 199M/335M [00:02<00:01, 78.8MB/s]
Downloading pytorch_model.bin:  58%|█████▏   | 283M/492M [00:03<00:02, 96.2MB/s]
Downloading (…)on_pytorch_model.bin:  63%|█▉ | 210M/335M [00:02<00:01, 77.9MB/s]
Downloading pytorch_model.bin:  22%|█▊      | 273M/1.22G [00:03<00:12, 77.8MB/s]
Downloading (…)on_pytorch_model.bin:  66%|█▉ | 220M/335M [00:03<00:01, 77.7MB/s]
Downloading (…)on_pytorch_model.bin:   9%|▏ | 304M/3.44G [00:03<00:46, 68.0MB/s]
Downloading (…)on_pytorch_model.bin:  69%|██ | 231M/335M [00:03<00:01, 75.3MB/s]
Downloading (…)on_pytorch_model.bin:   9%|▏ | 325M/3.44G [00:03<00:38, 80.9MB/s]
Downloading pytorch_model.bin:  23%|█▊      | 283M/1.22G [00:04<00:17, 54.3MB/s]
Downloading pytorch_model.bin:  60%|█████▎   | 294M/492M [00:04<00:04, 49.3MB/s]
Downloading (…)on_pytorch_model.bin:  72%|██▏| 241M/335M [00:03<00:01, 75.1MB/s]
Downloading (…)on_pytorch_model.bin:  10%|▏ | 346M/3.44G [00:03<00:33, 93.3MB/s]
Downloading pytorch_model.bin:  24%|█▉      | 294M/1.22G [00:04<00:14, 62.6MB/s]
Downloading pytorch_model.bin:  62%|█████▌   | 304M/492M [00:04<00:03, 57.8MB/s]
Downloading (…)on_pytorch_model.bin:  75%|██▎| 252M/335M [00:03<00:01, 77.3MB/s]
Downloading pytorch_model.bin:  25%|██      | 304M/1.22G [00:04<00:13, 70.1MB/s]
Downloading pytorch_model.bin:  64%|█████▊   | 315M/492M [00:04<00:02, 65.9MB/s]
Downloading (…)on_pytorch_model.bin:  11%|▎  | 367M/3.44G [00:03<00:29, 105MB/s]
Downloading pytorch_model.bin:  26%|██      | 315M/1.22G [00:04<00:11, 76.5MB/s]
Downloading (…)on_pytorch_model.bin:  78%|██▎| 262M/335M [00:03<00:00, 75.3MB/s]
Downloading pytorch_model.bin:  66%|█████▉   | 325M/492M [00:04<00:02, 73.0MB/s]
Downloading (…)on_pytorch_model.bin:  11%|▎  | 388M/3.44G [00:04<00:26, 114MB/s]
Downloading pytorch_model.bin:  27%|██▏     | 325M/1.22G [00:04<00:10, 81.6MB/s]
Downloading pytorch_model.bin:  68%|██████▏  | 336M/492M [00:04<00:02, 77.5MB/s]
Downloading (…)on_pytorch_model.bin:  81%|██▍| 273M/335M [00:03<00:00, 70.8MB/s]
Downloading (…)on_pytorch_model.bin:  12%|▎  | 409M/3.44G [00:04<00:24, 122MB/s]
Downloading pytorch_model.bin:  28%|██▏     | 336M/1.22G [00:04<00:10, 85.9MB/s]
Downloading pytorch_model.bin:  70%|██████▎  | 346M/492M [00:04<00:01, 82.7MB/s]
Downloading (…)on_pytorch_model.bin:  85%|██▌| 283M/335M [00:03<00:00, 75.3MB/s]
Downloading pytorch_model.bin:  28%|██▎     | 346M/1.22G [00:04<00:09, 89.0MB/s]
Downloading pytorch_model.bin:  72%|██████▌  | 357M/492M [00:05<00:01, 87.0MB/s]
Downloading (…)on_pytorch_model.bin:  13%|▍  | 430M/3.44G [00:04<00:23, 128MB/s]
Downloading (…)on_pytorch_model.bin:  88%|██▋| 294M/335M [00:04<00:00, 78.7MB/s]
Downloading pytorch_model.bin:  29%|██▎     | 357M/1.22G [00:04<00:09, 91.2MB/s]
Downloading pytorch_model.bin:  75%|██████▋  | 367M/492M [00:05<00:01, 90.2MB/s]
Downloading (…)on_pytorch_model.bin:  13%|▍  | 451M/3.44G [00:04<00:22, 132MB/s]
Downloading pytorch_model.bin:  30%|██▍     | 367M/1.22G [00:05<00:09, 92.9MB/s]
Downloading pytorch_model.bin:  77%|██████▉  | 377M/492M [00:05<00:01, 92.5MB/s]
Downloading (…)on_pytorch_model.bin:  91%|██▋| 304M/335M [00:04<00:00, 73.9MB/s]
Downloading pytorch_model.bin:  31%|██▍     | 377M/1.22G [00:05<00:08, 94.4MB/s]
Downloading pytorch_model.bin:  79%|███████  | 388M/492M [00:05<00:01, 94.2MB/s]
Downloading (…)on_pytorch_model.bin:  94%|██▊| 315M/335M [00:04<00:00, 73.4MB/s]
Downloading (…)on_pytorch_model.bin:  14%|▍  | 472M/3.44G [00:04<00:26, 113MB/s]
Downloading pytorch_model.bin:  32%|██▌     | 388M/1.22G [00:05<00:08, 95.3MB/s]
Downloading pytorch_model.bin:  81%|███████▎ | 398M/492M [00:05<00:01, 93.7MB/s]
Downloading (…)on_pytorch_model.bin:  97%|██▉| 325M/335M [00:04<00:00, 76.7MB/s]
Downloading (…)on_pytorch_model.bin: 100%|███| 335M/335M [00:04<00:00, 72.4MB/s]
Downloading (…)on_pytorch_model.bin:  14%|▍  | 493M/3.44G [00:04<00:28, 103MB/s]
Downloading pytorch_model.bin:  33%|██▌     | 398M/1.22G [00:05<00:13, 62.0MB/s]
Downloading pytorch_model.bin:  83%|███████▍ | 409M/492M [00:05<00:01, 58.1MB/s]
Downloading (…)on_pytorch_model.bin:  15%|▍  | 514M/3.44G [00:05<00:25, 113MB/s]
Downloading pytorch_model.bin:  85%|███████▋ | 419M/492M [00:05<00:01, 62.7MB/s]
Downloading (…)on_pytorch_model.bin:  16%|▍  | 535M/3.44G [00:05<00:24, 121MB/s]
Downloading pytorch_model.bin:  34%|██▋     | 409M/1.22G [00:05<00:14, 56.2MB/s]
Downloading pytorch_model.bin:  87%|███████▊ | 430M/492M [00:06<00:00, 70.3MB/s]
Downloading pytorch_model.bin:  34%|██▊     | 419M/1.22G [00:05<00:12, 64.3MB/s]
Downloading (…)on_pytorch_model.bin:  16%|▍  | 556M/3.44G [00:05<00:22, 127MB/s]
Downloading pytorch_model.bin:  89%|████████ | 440M/492M [00:06<00:00, 76.9MB/s]
Downloading pytorch_model.bin:  35%|██▊     | 430M/1.22G [00:06<00:11, 71.2MB/s]
Downloading pytorch_model.bin:  92%|████████▏| 451M/492M [00:06<00:00, 82.3MB/s]
Downloading (…)on_pytorch_model.bin:  17%|▌  | 577M/3.44G [00:05<00:21, 132MB/s]
Downloading pytorch_model.bin:  36%|██▉     | 440M/1.22G [00:06<00:10, 77.4MB/s]
Downloading pytorch_model.bin:  94%|████████▍| 461M/492M [00:06<00:00, 86.2MB/s]
Downloading (…)on_pytorch_model.bin:  17%|▌  | 598M/3.44G [00:05<00:21, 134MB/s]
Downloading pytorch_model.bin:  37%|██▉     | 451M/1.22G [00:06<00:09, 82.2MB/s]
Downloading pytorch_model.bin:  96%|████████▋| 472M/492M [00:06<00:00, 89.5MB/s]
Downloading pytorch_model.bin:  38%|███     | 461M/1.22G [00:06<00:08, 86.2MB/s]
Downloading (…)on_pytorch_model.bin:  18%|▌  | 619M/3.44G [00:05<00:20, 135MB/s]
Downloading pytorch_model.bin:  98%|████████▊| 482M/492M [00:06<00:00, 91.8MB/s]
Downloading pytorch_model.bin:  39%|███     | 472M/1.22G [00:06<00:08, 89.4MB/s]
Downloading pytorch_model.bin: 100%|█████████| 492M/492M [00:06<00:00, 73.7MB/s]
Downloading pytorch_model.bin:  40%|███▏    | 482M/1.22G [00:06<00:07, 91.7MB/s]
Downloading pytorch_model.bin:  41%|███▏    | 493M/1.22G [00:06<00:07, 93.6MB/s]
Downloading (…)on_pytorch_model.bin:  19%|▌  | 640M/3.44G [00:06<00:27, 102MB/s]
Downloading pytorch_model.bin:  41%|███▎    | 503M/1.22G [00:06<00:07, 94.8MB/s]
Downloading pytorch_model.bin:  42%|███▍    | 514M/1.22G [00:06<00:07, 95.7MB/s]
Downloading (…)on_pytorch_model.bin:  19%|▌  | 661M/3.44G [00:06<00:27, 103MB/s]
Downloading pytorch_model.bin:  43%|███▍    | 524M/1.22G [00:07<00:12, 53.4MB/s]
Downloading (…)on_pytorch_model.bin:  20%|▍ | 682M/3.44G [00:06<00:37, 73.9MB/s]
Downloading pytorch_model.bin:  44%|███▌    | 535M/1.22G [00:07<00:11, 59.5MB/s]
Downloading pytorch_model.bin:  45%|███▌    | 545M/1.22G [00:07<00:09, 67.3MB/s]
Downloading (…)on_pytorch_model.bin:  20%|▍ | 703M/3.44G [00:06<00:31, 86.6MB/s]
Downloading pytorch_model.bin:  46%|███▋    | 556M/1.22G [00:07<00:08, 74.1MB/s]
Downloading (…)on_pytorch_model.bin:  21%|▍ | 724M/3.44G [00:07<00:27, 98.7MB/s]
Downloading pytorch_model.bin:  47%|███▋    | 566M/1.22G [00:07<00:08, 79.9MB/s]
Downloading (…)on_pytorch_model.bin:  22%|▋  | 744M/3.44G [00:07<00:24, 109MB/s]
Downloading pytorch_model.bin:  47%|███▊    | 577M/1.22G [00:07<00:07, 83.6MB/s]
Downloading pytorch_model.bin:  48%|███▊    | 587M/1.22G [00:07<00:07, 87.5MB/s]
Downloading (…)on_pytorch_model.bin:  22%|▋  | 765M/3.44G [00:07<00:22, 117MB/s]
Downloading pytorch_model.bin:  49%|███▉    | 598M/1.22G [00:08<00:06, 90.4MB/s]
Downloading (…)on_pytorch_model.bin:  23%|▋  | 786M/3.44G [00:07<00:21, 125MB/s]
Downloading pytorch_model.bin:  50%|████    | 608M/1.22G [00:08<00:06, 91.6MB/s]
Downloading (…)on_pytorch_model.bin:  23%|▋  | 807M/3.44G [00:07<00:20, 130MB/s]
Downloading pytorch_model.bin:  51%|████    | 619M/1.22G [00:08<00:06, 93.3MB/s]
Downloading pytorch_model.bin:  52%|████▏   | 629M/1.22G [00:08<00:06, 94.7MB/s]
Downloading (…)on_pytorch_model.bin:  24%|▋  | 828M/3.44G [00:07<00:19, 135MB/s]
Downloading pytorch_model.bin:  53%|████▏   | 640M/1.22G [00:08<00:07, 75.5MB/s]
Downloading pytorch_model.bin:  53%|████▎   | 650M/1.22G [00:08<00:11, 51.3MB/s]
Downloading (…)on_pytorch_model.bin:  25%|▍ | 849M/3.44G [00:08<00:35, 72.9MB/s]
Downloading pytorch_model.bin:  54%|████▎   | 661M/1.22G [00:09<00:09, 59.9MB/s]
Downloading pytorch_model.bin:  55%|████▍   | 671M/1.22G [00:09<00:08, 67.8MB/s]
Downloading (…)on_pytorch_model.bin:  25%|▌ | 870M/3.44G [00:08<00:34, 73.7MB/s]
Downloading pytorch_model.bin:  56%|████▍   | 682M/1.22G [00:09<00:07, 74.4MB/s]
Downloading pytorch_model.bin:  57%|████▌   | 692M/1.22G [00:09<00:06, 80.0MB/s]
Downloading (…)on_pytorch_model.bin:  26%|▌ | 891M/3.44G [00:08<00:29, 86.2MB/s]
Downloading pytorch_model.bin:  58%|████▌   | 703M/1.22G [00:09<00:06, 84.5MB/s]
Downloading (…)on_pytorch_model.bin:  27%|▌ | 912M/3.44G [00:09<00:25, 98.1MB/s]
Downloading pytorch_model.bin:  59%|████▋   | 713M/1.22G [00:09<00:05, 88.0MB/s]
Downloading pytorch_model.bin:  59%|████▊   | 724M/1.22G [00:09<00:05, 90.8MB/s]
Downloading (…)on_pytorch_model.bin:  27%|▊  | 933M/3.44G [00:09<00:23, 109MB/s]
Downloading pytorch_model.bin:  60%|████▊   | 734M/1.22G [00:09<00:05, 92.7MB/s]
Downloading (…)on_pytorch_model.bin:  28%|▊  | 954M/3.44G [00:09<00:21, 118MB/s]
Downloading pytorch_model.bin:  61%|████▉   | 744M/1.22G [00:09<00:05, 94.2MB/s]
Downloading (…)on_pytorch_model.bin:  28%|▊  | 975M/3.44G [00:09<00:19, 125MB/s]
Downloading pytorch_model.bin:  62%|████▉   | 755M/1.22G [00:10<00:04, 95.3MB/s]
Downloading (…)on_pytorch_model.bin:  29%|▊  | 996M/3.44G [00:09<00:18, 130MB/s]
Downloading pytorch_model.bin:  63%|█████   | 765M/1.22G [00:10<00:06, 74.6MB/s]
Downloading (…)on_pytorch_model.bin:  30%|▌ | 1.02G/3.44G [00:09<00:23, 101MB/s]
Downloading pytorch_model.bin:  64%|█████   | 776M/1.22G [00:10<00:07, 57.6MB/s]
Downloading pytorch_model.bin:  65%|█████▏  | 786M/1.22G [00:10<00:07, 59.8MB/s]
Downloading pytorch_model.bin:  66%|█████▏  | 797M/1.22G [00:10<00:06, 67.7MB/s]
Downloading (…)on_pytorch_model.bin:  30%|▎| 1.04G/3.44G [00:10<00:30, 80.0MB/s]
Downloading pytorch_model.bin:  66%|█████▎  | 807M/1.22G [00:10<00:05, 74.7MB/s]
Downloading (…)on_pytorch_model.bin:  31%|▎| 1.06G/3.44G [00:10<00:25, 92.4MB/s]
Downloading pytorch_model.bin:  67%|█████▍  | 818M/1.22G [00:11<00:04, 80.4MB/s]
Downloading pytorch_model.bin:  68%|█████▍  | 828M/1.22G [00:11<00:04, 84.7MB/s]
Downloading (…)on_pytorch_model.bin:  31%|▋ | 1.08G/3.44G [00:10<00:22, 104MB/s]
Downloading pytorch_model.bin:  69%|█████▌  | 839M/1.22G [00:11<00:04, 88.3MB/s]
Downloading (…)on_pytorch_model.bin:  32%|▋ | 1.10G/3.44G [00:10<00:20, 113MB/s]
Downloading pytorch_model.bin:  70%|█████▌  | 849M/1.22G [00:11<00:04, 90.7MB/s]
Downloading (…)on_pytorch_model.bin:  33%|▋ | 1.12G/3.44G [00:10<00:19, 121MB/s]
Downloading pytorch_model.bin:  71%|█████▋  | 860M/1.22G [00:11<00:03, 92.5MB/s]
Downloading pytorch_model.bin:  72%|█████▋  | 870M/1.22G [00:11<00:03, 93.9MB/s]
Downloading (…)on_pytorch_model.bin:  33%|▋ | 1.14G/3.44G [00:11<00:18, 127MB/s]
Downloading pytorch_model.bin:  72%|█████▊  | 881M/1.22G [00:11<00:03, 95.2MB/s]
Downloading (…)on_pytorch_model.bin:  34%|▋ | 1.16G/3.44G [00:11<00:17, 132MB/s]
Downloading pytorch_model.bin:  73%|█████▊  | 891M/1.22G [00:11<00:03, 95.6MB/s]
Downloading (…)on_pytorch_model.bin:  34%|▋ | 1.18G/3.44G [00:11<00:16, 136MB/s]
Downloading pytorch_model.bin:  74%|█████▉  | 902M/1.22G [00:12<00:04, 74.6MB/s]
Downloading pytorch_model.bin:  75%|██████  | 912M/1.22G [00:12<00:04, 70.4MB/s]
Downloading (…)on_pytorch_model.bin:  35%|▋ | 1.21G/3.44G [00:11<00:21, 105MB/s]
Downloading pytorch_model.bin:  76%|██████  | 923M/1.22G [00:12<00:06, 47.4MB/s]
Downloading pytorch_model.bin:  77%|██████▏ | 933M/1.22G [00:12<00:05, 56.0MB/s]
Downloading (…)on_pytorch_model.bin:  36%|▎| 1.23G/3.44G [00:12<00:31, 69.6MB/s]
Downloading pytorch_model.bin:  78%|██████▏ | 944M/1.22G [00:12<00:04, 64.2MB/s]
Downloading pytorch_model.bin:  78%|██████▎ | 954M/1.22G [00:12<00:03, 71.7MB/s]
Downloading (…)on_pytorch_model.bin:  36%|▎| 1.25G/3.44G [00:12<00:26, 82.5MB/s]
Downloading pytorch_model.bin:  79%|██████▎ | 965M/1.22G [00:12<00:03, 77.8MB/s]
Downloading (…)on_pytorch_model.bin:  37%|▎| 1.27G/3.44G [00:12<00:22, 94.6MB/s]
Downloading pytorch_model.bin:  80%|██████▍ | 975M/1.22G [00:13<00:02, 83.0MB/s]
Downloading (…)on_pytorch_model.bin:  38%|▊ | 1.29G/3.44G [00:12<00:20, 106MB/s]
Downloading pytorch_model.bin:  81%|██████▍ | 986M/1.22G [00:13<00:02, 86.8MB/s]
Downloading pytorch_model.bin:  82%|██████▌ | 996M/1.22G [00:13<00:02, 89.8MB/s]
Downloading (…)on_pytorch_model.bin:  38%|▊ | 1.31G/3.44G [00:12<00:18, 115MB/s]
Downloading pytorch_model.bin:  83%|█████▊ | 1.01G/1.22G [00:13<00:02, 92.1MB/s]
Downloading (…)on_pytorch_model.bin:  39%|▊ | 1.33G/3.44G [00:12<00:17, 123MB/s]
Downloading pytorch_model.bin:  84%|█████▊ | 1.02G/1.22G [00:13<00:02, 93.8MB/s]
Downloading (…)on_pytorch_model.bin:  39%|▊ | 1.35G/3.44G [00:13<00:16, 129MB/s]
Downloading (…)on_pytorch_model.bin:  40%|▊ | 1.37G/3.44G [00:13<00:15, 134MB/s]
Downloading pytorch_model.bin:  85%|█████▉ | 1.03G/1.22G [00:13<00:02, 70.6MB/s]
Downloading pytorch_model.bin:  85%|█████▉ | 1.04G/1.22G [00:13<00:02, 65.1MB/s]
Downloading (…)on_pytorch_model.bin:  41%|▊ | 1.39G/3.44G [00:13<00:17, 120MB/s]
Downloading pytorch_model.bin:  86%|██████ | 1.05G/1.22G [00:14<00:02, 72.3MB/s]
Downloading pytorch_model.bin:  87%|██████ | 1.06G/1.22G [00:14<00:02, 77.8MB/s]
Downloading pytorch_model.bin:  88%|██████▏| 1.07G/1.22G [00:14<00:01, 80.1MB/s]
Downloading pytorch_model.bin:  89%|██████▏| 1.08G/1.22G [00:14<00:01, 84.8MB/s]
Downloading pytorch_model.bin:  90%|██████▎| 1.09G/1.22G [00:14<00:01, 84.6MB/s]
Downloading (…)on_pytorch_model.bin:  41%|▍| 1.42G/3.44G [00:13<00:27, 72.4MB/s]
Downloading pytorch_model.bin:  91%|██████▎| 1.10G/1.22G [00:14<00:01, 88.1MB/s]
Downloading (…)on_pytorch_model.bin:  42%|▍| 1.44G/3.44G [00:14<00:23, 85.2MB/s]
Downloading pytorch_model.bin:  91%|██████▍| 1.11G/1.22G [00:14<00:01, 90.9MB/s]
Downloading (…)on_pytorch_model.bin:  42%|▍| 1.46G/3.44G [00:14<00:20, 97.5MB/s]
Downloading pytorch_model.bin:  92%|██████▍| 1.12G/1.22G [00:14<00:01, 92.8MB/s]
Downloading pytorch_model.bin:  93%|██████▌| 1.13G/1.22G [00:14<00:00, 94.2MB/s]
Downloading (…)on_pytorch_model.bin:  43%|▊ | 1.48G/3.44G [00:14<00:18, 108MB/s]
Downloading pytorch_model.bin:  94%|██████▌| 1.14G/1.22G [00:15<00:00, 95.2MB/s]
Downloading (…)on_pytorch_model.bin:  44%|▊ | 1.50G/3.44G [00:14<00:16, 118MB/s]
Downloading (…)on_pytorch_model.bin:  44%|▉ | 1.52G/3.44G [00:14<00:15, 122MB/s]
Downloading pytorch_model.bin:  95%|██████▋| 1.15G/1.22G [00:15<00:00, 71.8MB/s]
Downloading (…)on_pytorch_model.bin:  45%|▉ | 1.54G/3.44G [00:14<00:14, 128MB/s]
Downloading pytorch_model.bin:  96%|██████▋| 1.16G/1.22G [00:15<00:00, 68.9MB/s]
Downloading (…)on_pytorch_model.bin:  45%|▉ | 1.56G/3.44G [00:14<00:14, 133MB/s]
Downloading pytorch_model.bin:  97%|██████▊| 1.17G/1.22G [00:15<00:00, 66.6MB/s]
Downloading pytorch_model.bin:  97%|██████▊| 1.18G/1.22G [00:15<00:00, 73.7MB/s]
Downloading pytorch_model.bin:  98%|██████▉| 1.20G/1.22G [00:15<00:00, 79.6MB/s]
Downloading (…)on_pytorch_model.bin:  46%|▍| 1.58G/3.44G [00:15<00:19, 94.0MB/s]
Downloading pytorch_model.bin:  99%|██████▉| 1.21G/1.22G [00:15<00:00, 84.4MB/s]
Downloading pytorch_model.bin: 100%|███████| 1.22G/1.22G [00:16<00:00, 75.7MB/s]
Fetching 16 files:  31%|███████▊                 | 5/16 [00:17<00:39,  3.58s/it]
Downloading (…)on_pytorch_model.bin:  47%|▍| 1.60G/3.44G [00:15<00:21, 85.1MB/s]
Downloading (…)on_pytorch_model.bin:  47%|▍| 1.61G/3.44G [00:15<00:23, 79.2MB/s]
Downloading (…)on_pytorch_model.bin:  48%|▍| 1.64G/3.44G [00:15<00:20, 89.5MB/s]
Downloading (…)on_pytorch_model.bin:  48%|▉ | 1.66G/3.44G [00:16<00:17, 102MB/s]
Downloading (…)on_pytorch_model.bin:  49%|▉ | 1.68G/3.44G [00:16<00:15, 113MB/s]
Downloading (…)on_pytorch_model.bin:  49%|▉ | 1.70G/3.44G [00:16<00:14, 122MB/s]
Downloading (…)on_pytorch_model.bin:  50%|█ | 1.72G/3.44G [00:16<00:13, 129MB/s]
Downloading (…)on_pytorch_model.bin:  51%|█ | 1.74G/3.44G [00:16<00:12, 133MB/s]
Downloading (…)on_pytorch_model.bin:  51%|█ | 1.76G/3.44G [00:16<00:12, 137MB/s]
Downloading (…)on_pytorch_model.bin:  52%|█ | 1.78G/3.44G [00:16<00:11, 140MB/s]
Downloading (…)on_pytorch_model.bin:  52%|▌| 1.80G/3.44G [00:17<00:21, 77.4MB/s]
Downloading (…)on_pytorch_model.bin:  53%|▌| 1.82G/3.44G [00:18<00:28, 56.8MB/s]
Downloading (…)on_pytorch_model.bin:  54%|▌| 1.85G/3.44G [00:18<00:22, 69.3MB/s]
Downloading (…)on_pytorch_model.bin:  54%|▌| 1.87G/3.44G [00:18<00:19, 82.4MB/s]
Downloading (…)on_pytorch_model.bin:  55%|▌| 1.89G/3.44G [00:18<00:16, 95.0MB/s]
Downloading (…)on_pytorch_model.bin:  56%|█ | 1.91G/3.44G [00:18<00:14, 106MB/s]
Downloading (…)on_pytorch_model.bin:  56%|█ | 1.93G/3.44G [00:18<00:13, 116MB/s]
Downloading (…)on_pytorch_model.bin:  57%|█▏| 1.95G/3.44G [00:19<00:13, 112MB/s]
Downloading (…)on_pytorch_model.bin:  57%|█▏| 1.97G/3.44G [00:19<00:12, 116MB/s]
Downloading (…)on_pytorch_model.bin:  58%|█▏| 1.99G/3.44G [00:19<00:11, 124MB/s]
Downloading (…)on_pytorch_model.bin:  59%|█▏| 2.01G/3.44G [00:19<00:11, 124MB/s]
Downloading (…)on_pytorch_model.bin:  59%|█▏| 2.03G/3.44G [00:19<00:10, 130MB/s]
Downloading (…)on_pytorch_model.bin:  60%|█▏| 2.06G/3.44G [00:19<00:10, 135MB/s]
Downloading (…)on_pytorch_model.bin:  60%|█▏| 2.08G/3.44G [00:19<00:09, 138MB/s]
Downloading (…)on_pytorch_model.bin:  61%|█▏| 2.10G/3.44G [00:20<00:09, 141MB/s]
Downloading (…)on_pytorch_model.bin:  62%|█▏| 2.12G/3.44G [00:20<00:09, 143MB/s]
Downloading (…)on_pytorch_model.bin:  62%|█▏| 2.14G/3.44G [00:20<00:09, 144MB/s]
Downloading (…)on_pytorch_model.bin:  63%|█▎| 2.16G/3.44G [00:20<00:08, 145MB/s]
Downloading (…)on_pytorch_model.bin:  63%|▋| 2.18G/3.44G [00:20<00:13, 91.1MB/s]
Downloading (…)on_pytorch_model.bin:  64%|▋| 2.20G/3.44G [00:21<00:18, 68.1MB/s]
Downloading (…)on_pytorch_model.bin:  65%|▋| 2.22G/3.44G [00:21<00:14, 81.2MB/s]
Downloading (…)on_pytorch_model.bin:  65%|▋| 2.24G/3.44G [00:21<00:12, 93.8MB/s]
Downloading (…)on_pytorch_model.bin:  66%|█▎| 2.26G/3.44G [00:21<00:11, 105MB/s]
Downloading (…)on_pytorch_model.bin:  66%|█▎| 2.29G/3.44G [00:22<00:10, 115MB/s]
Downloading (…)on_pytorch_model.bin:  67%|█▎| 2.31G/3.44G [00:22<00:09, 123MB/s]
Downloading (…)on_pytorch_model.bin:  68%|█▎| 2.33G/3.44G [00:22<00:08, 129MB/s]
Downloading (…)on_pytorch_model.bin:  68%|█▎| 2.35G/3.44G [00:22<00:08, 134MB/s]
Downloading (…)on_pytorch_model.bin:  69%|▋| 2.37G/3.44G [00:22<00:12, 84.1MB/s]
Downloading (…)on_pytorch_model.bin:  70%|▋| 2.39G/3.44G [00:23<00:13, 75.3MB/s]
Downloading (…)on_pytorch_model.bin:  70%|▋| 2.41G/3.44G [00:23<00:11, 88.1MB/s]
Downloading (…)on_pytorch_model.bin:  71%|█▍| 2.43G/3.44G [00:23<00:10, 100MB/s]
Downloading (…)on_pytorch_model.bin:  71%|█▍| 2.45G/3.44G [00:23<00:08, 111MB/s]
Downloading (…)on_pytorch_model.bin:  72%|█▍| 2.47G/3.44G [00:23<00:08, 120MB/s]
Downloading (…)on_pytorch_model.bin:  73%|█▍| 2.50G/3.44G [00:23<00:07, 126MB/s]
Downloading (…)on_pytorch_model.bin:  73%|█▍| 2.52G/3.44G [00:24<00:07, 130MB/s]
Downloading (…)on_pytorch_model.bin:  74%|█▍| 2.54G/3.44G [00:24<00:06, 134MB/s]
Downloading (…)on_pytorch_model.bin:  74%|▋| 2.56G/3.44G [00:24<00:09, 96.3MB/s]
Downloading (…)on_pytorch_model.bin:  75%|▊| 2.58G/3.44G [00:24<00:08, 99.7MB/s]
Downloading (…)on_pytorch_model.bin:  76%|█▌| 2.60G/3.44G [00:24<00:07, 110MB/s]
Downloading (…)on_pytorch_model.bin:  76%|█▌| 2.62G/3.44G [00:25<00:06, 119MB/s]
Downloading (…)on_pytorch_model.bin:  77%|█▌| 2.64G/3.44G [00:25<00:06, 126MB/s]
Downloading (…)on_pytorch_model.bin:  77%|█▌| 2.66G/3.44G [00:25<00:05, 132MB/s]
Downloading (…)on_pytorch_model.bin:  78%|█▌| 2.68G/3.44G [00:25<00:05, 136MB/s]
Downloading (…)on_pytorch_model.bin:  79%|█▌| 2.71G/3.44G [00:25<00:05, 138MB/s]
Downloading (…)on_pytorch_model.bin:  79%|█▌| 2.73G/3.44G [00:25<00:05, 141MB/s]
Downloading (…)on_pytorch_model.bin:  80%|█▌| 2.75G/3.44G [00:25<00:04, 141MB/s]
Downloading (…)on_pytorch_model.bin:  81%|▊| 2.77G/3.44G [00:26<00:08, 74.5MB/s]
Downloading (…)on_pytorch_model.bin:  81%|▊| 2.79G/3.44G [00:26<00:07, 81.7MB/s]
Downloading (…)on_pytorch_model.bin:  82%|▊| 2.81G/3.44G [00:26<00:06, 94.0MB/s]
Downloading (…)on_pytorch_model.bin:  82%|█▋| 2.83G/3.44G [00:27<00:05, 104MB/s]
Downloading (…)on_pytorch_model.bin:  83%|█▋| 2.85G/3.44G [00:27<00:05, 114MB/s]
Downloading (…)on_pytorch_model.bin:  84%|█▋| 2.87G/3.44G [00:27<00:04, 122MB/s]
Downloading (…)on_pytorch_model.bin:  84%|█▋| 2.89G/3.44G [00:27<00:04, 128MB/s]
Downloading (…)on_pytorch_model.bin:  85%|█▋| 2.92G/3.44G [00:27<00:03, 133MB/s]
Downloading (…)on_pytorch_model.bin:  85%|█▋| 2.94G/3.44G [00:27<00:03, 137MB/s]
Downloading (…)on_pytorch_model.bin:  86%|▊| 2.96G/3.44G [00:28<00:07, 64.7MB/s]
Downloading (…)on_pytorch_model.bin:  87%|▊| 2.98G/3.44G [00:28<00:05, 77.4MB/s]
Downloading (…)on_pytorch_model.bin:  87%|▊| 3.00G/3.44G [00:28<00:04, 90.0MB/s]
Downloading (…)on_pytorch_model.bin:  88%|█▊| 3.02G/3.44G [00:28<00:04, 102MB/s]
Downloading (…)on_pytorch_model.bin:  88%|█▊| 3.04G/3.44G [00:29<00:03, 112MB/s]
Downloading (…)on_pytorch_model.bin:  89%|█▊| 3.06G/3.44G [00:29<00:03, 121MB/s]
Downloading (…)on_pytorch_model.bin:  90%|█▊| 3.08G/3.44G [00:29<00:02, 127MB/s]
Downloading (…)on_pytorch_model.bin:  90%|▉| 3.10G/3.44G [00:29<00:03, 88.1MB/s]
Downloading (…)on_pytorch_model.bin:  91%|▉| 3.12G/3.44G [00:30<00:04, 77.5MB/s]
Downloading (…)on_pytorch_model.bin:  91%|▉| 3.14G/3.44G [00:30<00:04, 72.7MB/s]
Downloading (…)on_pytorch_model.bin:  92%|▉| 3.16G/3.44G [00:30<00:03, 86.8MB/s]
Downloading (…)on_pytorch_model.bin:  92%|█▊| 3.18G/3.44G [00:30<00:02, 100MB/s]
Downloading (…)on_pytorch_model.bin:  93%|█▊| 3.20G/3.44G [00:30<00:02, 111MB/s]
Downloading (…)on_pytorch_model.bin:  94%|█▊| 3.22G/3.44G [00:30<00:01, 120MB/s]
Downloading (…)on_pytorch_model.bin:  94%|█▉| 3.24G/3.44G [00:31<00:01, 127MB/s]
Downloading (…)on_pytorch_model.bin:  95%|█▉| 3.26G/3.44G [00:31<00:01, 133MB/s]
Downloading (…)on_pytorch_model.bin:  95%|█▉| 3.28G/3.44G [00:31<00:01, 136MB/s]
Downloading (…)on_pytorch_model.bin:  96%|▉| 3.30G/3.44G [00:31<00:01, 92.4MB/s]
Downloading (…)on_pytorch_model.bin:  97%|▉| 3.32G/3.44G [00:32<00:01, 72.3MB/s]
Downloading (…)on_pytorch_model.bin:  97%|▉| 3.34G/3.44G [00:32<00:01, 85.3MB/s]
Downloading (…)on_pytorch_model.bin:  98%|▉| 3.37G/3.44G [00:32<00:00, 96.0MB/s]
Downloading (…)on_pytorch_model.bin:  99%|█▉| 3.39G/3.44G [00:32<00:00, 107MB/s]
Downloading (…)on_pytorch_model.bin:  99%|█▉| 3.41G/3.44G [00:32<00:00, 117MB/s]


相关实践学习
使用PAI-EAS一键部署ChatGLM及LangChain应用
本场景中主要介绍如何使用模型在线服务(PAI-EAS)部署ChatGLM的AI-Web应用以及启动WebUI进行模型推理,并通过LangChain集成自己的业务数据。
机器学习概览及常见算法
机器学习(Machine Learning, ML)是人工智能的核心,专门研究计算机怎样模拟或实现人类的学习行为,以获取新的知识或技能,重新组织已有的知识结构使之不断改善自身的性能,它是使计算机具有智能的根本途径,其应用遍及人工智能的各个领域。 本课程将带你入门机器学习,掌握机器学习的概念和常用的算法。
相关文章
|
5月前
|
机器学习/深度学习 人工智能 算法
【CVPR2024】面向StableDiffusion的编辑算法FreePromptEditing,提升图像编辑效果
近日,阿里云人工智能平台PAI与华南理工大学贾奎教授团队合作在深度学习顶级会议 CVPR2024 上发表 FPE(Free-Prompt-Editing) 算法,这是一种面向StableDiffusion的图像编辑算法。在这篇论文中,StableDiffusion可用于实现图像编辑的本质被挖掘,解释证明了基于StableDiffusion编辑的算法本质,并基于此设计了新的图像编辑算法,大幅度提升了图像编辑的效率。
ArcGIS And ENVI:如何进行植被指数的提取并制作成专题地图?
ArcGIS And ENVI:如何进行植被指数的提取并制作成专题地图?
253 0
|
人工智能 算法 物联网
探索 StableDiffusion:生成高质量图片学习及应用(中)
探索 StableDiffusion:生成高质量图片学习及应用(中)
514 1
|
人工智能 自然语言处理 搜索推荐
探索 StableDiffusion:生成高质量图片学习及应用(下)
探索 StableDiffusion:生成高质量图片学习及应用(下)
327 1
|
算法 物联网
探索 StableDiffusion:生成高质量图片学习及应用(上)
探索 StableDiffusion:生成高质量图片学习及应用(上)
756 0
|
Unix
GEE:批量下载每日数据集
GEE:批量下载每日数据集
442 0
【DSW Gallery】Grounded-SAM 马赛克熊使用示例
由IDEA-CVR主导的Grounded-SAM(https://github.com/IDEA-Research/Grounded-Segment-Anything)项目,可以通过任意组合Foundation Models,实现各种视觉工作流场景的应用。 PAI-DSW的Grounded-SAM v0.1版本中最酷炫的功能是:可以实现只输入图片,就可以无交互式完全自动化标注出图片的检测框和分割掩码。
|
缓存 自然语言处理 Shell
【DSW Gallery】基于预训练模型的多场景文本生成(以新闻标题生成为例)
EasyNLP提供多种模型的训练及预测功能,旨在帮助自然语言开发者方便快捷地构建模型并应用于生产。本文以中文文本生成为例,为您介绍如何在PAI-DSW中使用EasyNLP。
【DSW Gallery】基于预训练模型的多场景文本生成(以新闻标题生成为例)
|
机器学习/深度学习 并行计算 数据可视化
【DSW Gallery】EasyCV-基于关键点的视频分类示例
EasyCV是基于Pytorch,以自监督学习和Transformer技术为核心的 all-in-one 视觉算法建模工具,并包含图像分类,度量学习,目标检测,姿态识别等视觉任务的SOTA算法。本文以基于关键点的视频分类为例,为您介绍如何在PAI-DSW中使用EasyCV。
【DSW Gallery】EasyCV-基于关键点的视频分类示例
|
算法 PyTorch 算法框架/工具
【DSW Gallery】基于EasyCV的视频分类示例
EasyCV是基于Pytorch,以自监督学习和Transformer技术为核心的 all-in-one 视觉算法建模工具,并包含图像分类,度量学习,目标检测,姿态识别等视觉任务的SOTA算法。本文以视频分类为例,为您介绍如何在PAI-DSW中使用EasyCV。
【DSW Gallery】基于EasyCV的视频分类示例

热门文章

最新文章