remodela-ai / demo_tile_coating
- Public
- 63 runs
-
A100 (80GB)
Prediction
remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79IDrszxsg9wkdrj00cjx6qa2y017mStatusSucceededSourceAPIHardwareA100 (80GB)Total durationCreatedInput
{ "IMAGE": "https://replicate.delivery/pbxt/LtmIwMVy9jWhw78HlFkoJlOZVxXuT909Mndchee3yrjrfWD4/demo1.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtmIx2R6RONZFCEfnBdGTXGWqxaU0e7pRI6t1pO0bkAlPQf3/textil.jpg" }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", { input: { IMAGE: "https://replicate.delivery/pbxt/LtmIwMVy9jWhw78HlFkoJlOZVxXuT909Mndchee3yrjrfWD4/demo1.jpg", target: "couch", STYLE_IMAGE: "https://replicate.delivery/pbxt/LtmIx2R6RONZFCEfnBdGTXGWqxaU0e7pRI6t1pO0bkAlPQf3/textil.jpg" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", input={ "IMAGE": "https://replicate.delivery/pbxt/LtmIwMVy9jWhw78HlFkoJlOZVxXuT909Mndchee3yrjrfWD4/demo1.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtmIx2R6RONZFCEfnBdGTXGWqxaU0e7pRI6t1pO0bkAlPQf3/textil.jpg" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtmIwMVy9jWhw78HlFkoJlOZVxXuT909Mndchee3yrjrfWD4/demo1.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtmIx2R6RONZFCEfnBdGTXGWqxaU0e7pRI6t1pO0bkAlPQf3/textil.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-01T21:47:53.963657Z", "created_at": "2024-11-01T21:42:43.099000Z", "data_removed": false, "error": null, "id": "rszxsg9wkdrj00cjx6qa2y017m", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtmIwMVy9jWhw78HlFkoJlOZVxXuT909Mndchee3yrjrfWD4/demo1.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtmIx2R6RONZFCEfnBdGTXGWqxaU0e7pRI6t1pO0bkAlPQf3/textil.jpg" }, "logs": "trying to load grounding dino directly\ndownloading dino model weights\nfinal text_encoder_type: bert-base-uncased\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13)\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\nCollecting git+https://github.com/openai/CLIP.git\nCloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-5zjxku7q\nRunning command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-5zjxku7q\nResolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1\nPreparing metadata (setup.py): started\nPreparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1)\nRequirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6)\nRequirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118)\nRequirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13)\nRequirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0)\nRequirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2)\nRequirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2)\nRequirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3)\nRequirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4)\nRequirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0)\nRequirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3)\nRequirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8)\nRequirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4)\nRequirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0)\nRequirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5)\nRequirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2)\nRequirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3)\nRequirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30)\nRequirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0)\nBuilding wheels for collected packages: clip\nBuilding wheel for clip (setup.py): started\nBuilding wheel for clip (setup.py): finished with status 'done'\nCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=bd165fe601987011491285bc93735d1c8d269cc2072deb6a0206582ba9d4b14c\nStored in directory: /tmp/pip-ephem-wheel-cache-ol70y0el/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a\nSuccessfully built clip\nInstalling collected packages: clip\nSuccessfully installed clip-1.0\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\n 0%| | 0.00/338M [00:00<?, ?iB/s]\n 0%| | 80.0k/338M [00:00<10:16, 574kiB/s]\n 0%| | 224k/338M [00:00<05:49, 1.01MiB/s]\n 0%| | 384k/338M [00:00<04:59, 1.18MiB/s]\n 0%| | 544k/338M [00:00<04:25, 1.33MiB/s]\n 0%| | 720k/338M [00:00<04:03, 1.45MiB/s]\n 0%| | 896k/338M [00:00<03:48, 1.55MiB/s]\n 0%| | 1.06M/338M [00:00<03:31, 1.67MiB/s]\n 0%|β | 1.25M/338M [00:00<03:20, 1.76MiB/s]\n 0%|β | 1.47M/338M [00:00<03:05, 1.90MiB/s]\n 1%|β | 1.70M/338M [00:01<02:52, 2.04MiB/s]\n 1%|β | 1.94M/338M [00:01<02:44, 2.14MiB/s]\n 1%|β | 2.22M/338M [00:01<02:28, 2.37MiB/s]\n 1%|β | 2.48M/338M [00:01<02:22, 2.47MiB/s]\n 1%|β | 2.78M/338M [00:01<02:12, 2.66MiB/s]\n 1%|β | 3.12M/338M [00:01<02:00, 2.91MiB/s]\n 1%|β | 3.45M/338M [00:01<01:54, 3.05MiB/s]\n 1%|β | 3.84M/338M [00:01<01:45, 3.33MiB/s]\n 1%|β | 4.22M/338M [00:01<01:40, 3.48MiB/s]\n 1%|β | 4.64M/338M [00:02<01:34, 3.71MiB/s]\n 2%|β | 5.11M/338M [00:02<01:26, 4.03MiB/s]\n 2%|β | 5.59M/338M [00:02<01:20, 4.32MiB/s]\n 2%|β | 6.12M/338M [00:02<01:14, 4.65MiB/s]\n 2%|β | 6.67M/338M [00:02<01:09, 4.97MiB/s]\n 2%|β | 7.25M/338M [00:02<01:05, 5.26MiB/s]\n 2%|β | 7.91M/338M [00:02<01:00, 5.71MiB/s]\n 3%|β | 8.59M/338M [00:02<00:56, 6.11MiB/s]\n 3%|β | 9.31M/338M [00:02<00:52, 6.51MiB/s]\n 3%|ββ | 10.1M/338M [00:02<00:49, 7.00MiB/s]\n 3%|ββ | 10.9M/338M [00:03<00:45, 7.50MiB/s]\n 3%|ββ | 11.8M/338M [00:03<00:42, 8.04MiB/s]\n 4%|ββ | 12.7M/338M [00:03<00:40, 8.43MiB/s]\n 4%|ββ | 13.7M/338M [00:03<00:37, 9.09MiB/s]\n 4%|ββ | 14.8M/338M [00:03<00:34, 9.79MiB/s]\n 5%|ββ | 15.9M/338M [00:03<00:32, 10.3MiB/s]\n 5%|ββ | 17.2M/338M [00:03<00:30, 11.2MiB/s]\n 5%|ββ | 18.5M/338M [00:03<00:28, 11.9MiB/s]\n 6%|βββ | 19.9M/338M [00:03<00:26, 12.7MiB/s]\n 6%|βββ | 21.3M/338M [00:03<00:24, 13.3MiB/s]\n 7%|βββ | 22.7M/338M [00:04<00:24, 13.6MiB/s]\n 7%|βββ | 24.2M/338M [00:04<00:23, 14.1MiB/s]\n 8%|βββ | 25.9M/338M [00:04<00:21, 15.2MiB/s]\n 8%|ββββ | 27.8M/338M [00:04<00:19, 16.6MiB/s]\n 9%|ββββ | 29.8M/338M [00:04<00:18, 17.9MiB/s]\n 9%|ββββ | 31.9M/338M [00:04<00:16, 19.2MiB/s]\n 10%|ββββ | 34.3M/338M [00:04<00:15, 20.7MiB/s]\n 11%|βββββ | 36.7M/338M [00:04<00:14, 22.0MiB/s]\n 12%|βββββ | 39.2M/338M [00:04<00:13, 23.4MiB/s]\n 12%|βββββ | 41.8M/338M [00:04<00:12, 24.5MiB/s]\n 13%|βββββ | 44.6M/338M [00:05<00:11, 25.8MiB/s]\n 14%|ββββββ | 47.7M/338M [00:05<00:10, 28.0MiB/s]\n 15%|ββββββ | 51.2M/338M [00:05<00:09, 30.3MiB/s]\n 16%|βββββββ | 54.9M/338M [00:05<00:09, 32.8MiB/s]\n 17%|βββββββ | 58.6M/338M [00:05<00:08, 34.6MiB/s]\n 19%|βββββββ | 62.7M/338M [00:05<00:07, 36.7MiB/s]\n 20%|ββββββββ | 67.2M/338M [00:05<00:07, 39.7MiB/s]\n 21%|ββββββββ | 71.5M/338M [00:05<00:06, 41.2MiB/s]\n 23%|βββββββββ | 76.7M/338M [00:05<00:06, 45.1MiB/s]\n 24%|ββββββββββ | 82.1M/338M [00:05<00:05, 48.4MiB/s]\n 26%|ββββββββββ | 87.9M/338M [00:06<00:05, 51.9MiB/s]\n 28%|βββββββββββ | 94.2M/338M [00:06<00:04, 56.3MiB/s]\n 30%|ββββββββββββ | 101M/338M [00:06<00:04, 60.2MiB/s]\n 32%|βββββββββββββ | 108M/338M [00:06<00:03, 63.7MiB/s]\n 34%|ββββββββββββββ | 115M/338M [00:06<00:03, 67.8MiB/s]\n 36%|βββββββββββββββ | 123M/338M [00:06<00:03, 72.3MiB/s]\n 39%|βββββββββββββββ | 130M/338M [00:06<00:03, 62.6MiB/s]\n 41%|ββββββββββββββββ | 139M/338M [00:06<00:02, 71.8MiB/s]\n 44%|ββββββββββββββββββ | 149M/338M [00:06<00:02, 79.4MiB/s]\n 47%|βββββββββββββββββββ | 159M/338M [00:07<00:02, 86.7MiB/s]\n 50%|ββββββββββββββββββββ | 170M/338M [00:07<00:01, 94.8MiB/s]\n 53%|ββββββββββββββββββββββ | 181M/338M [00:07<00:01, 100MiB/s]\n 57%|βββββββββββββββββββββββ | 193M/338M [00:07<00:01, 109MiB/s]\n 61%|βββββββββββββββββββββββββ | 207M/338M [00:07<00:01, 118MiB/s]\n 65%|ββββββββββββββββββββββββββ | 218M/338M [00:07<00:01, 119MiB/s]\n 69%|ββββββββββββββββββββββββββββ | 232M/338M [00:07<00:00, 128MiB/s]\n 74%|ββββββββββββββββββββββββββββββ | 249M/338M [00:07<00:00, 141MiB/s]\n 79%|ββββββββββββββββββββββββββββββββ | 266M/338M [00:07<00:00, 153MiB/s]\n 83%|ββββββββββββββββββββββββββββββββββ | 280M/338M [00:07<00:00, 137MiB/s]\n 88%|βββββββββββββββββββββββββββββββββββ | 295M/338M [00:08<00:00, 142MiB/s]\n 92%|βββββββββββββββββββββββββββββββββββββ | 309M/338M [00:08<00:00, 138MiB/s]\n 96%|βββββββββββββββββββββββββββββββββββββββ | 323M/338M [00:08<00:00, 136MiB/s]\n100%|ββββββββββββββββββββββββββββββββββββββββ| 336M/338M [00:08<00:00, 138MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:08<00:00, 42.3MiB/s]\nThe `device` argument is deprecated and will be removed in v5 of Transformers.\nNone of the inputs have requires_grad=True. Gradients will be None", "metrics": { "predict_time": 252.996252934, "total_time": 310.864657 }, "output": "https://replicate.delivery/yhqm/ZiNgmhQvnt7KMRN8jza2rfMqlQpWK2MwlVJoTasCF2gE9X2JA/image_another_color_annotate.jpg", "started_at": "2024-11-01T21:43:40.967404Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-owbwtv76kgtgkeh27wmu76razxxzfrev5wz3ecszaoygnbelhcca", "get": "https://api.replicate.com/v1/predictions/rszxsg9wkdrj00cjx6qa2y017m", "cancel": "https://api.replicate.com/v1/predictions/rszxsg9wkdrj00cjx6qa2y017m/cancel" }, "version": "c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79" }
Generated intrying to load grounding dino directly downloading dino model weights final text_encoder_type: bert-base-uncased Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13) 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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip Collecting git+https://github.com/openai/CLIP.git Cloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-5zjxku7q Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-5zjxku7q Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1) Requirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6) Requirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118) Requirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13) Requirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0) Requirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2) Requirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2) Requirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3) Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4) Requirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0) Requirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3) Requirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8) Requirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4) Requirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0) Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0) Building wheels for collected packages: clip Building wheel for clip (setup.py): started Building wheel for clip (setup.py): finished with status 'done' Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=bd165fe601987011491285bc93735d1c8d269cc2072deb6a0206582ba9d4b14c Stored in directory: /tmp/pip-ephem-wheel-cache-ol70y0el/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a Successfully built clip Installing collected packages: clip Successfully installed clip-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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 0%| | 0.00/338M [00:00<?, ?iB/s] 0%| | 80.0k/338M [00:00<10:16, 574kiB/s] 0%| | 224k/338M [00:00<05:49, 1.01MiB/s] 0%| | 384k/338M [00:00<04:59, 1.18MiB/s] 0%| | 544k/338M [00:00<04:25, 1.33MiB/s] 0%| | 720k/338M [00:00<04:03, 1.45MiB/s] 0%| | 896k/338M [00:00<03:48, 1.55MiB/s] 0%| | 1.06M/338M [00:00<03:31, 1.67MiB/s] 0%|β | 1.25M/338M [00:00<03:20, 1.76MiB/s] 0%|β | 1.47M/338M [00:00<03:05, 1.90MiB/s] 1%|β | 1.70M/338M [00:01<02:52, 2.04MiB/s] 1%|β | 1.94M/338M [00:01<02:44, 2.14MiB/s] 1%|β | 2.22M/338M [00:01<02:28, 2.37MiB/s] 1%|β | 2.48M/338M [00:01<02:22, 2.47MiB/s] 1%|β | 2.78M/338M [00:01<02:12, 2.66MiB/s] 1%|β | 3.12M/338M [00:01<02:00, 2.91MiB/s] 1%|β | 3.45M/338M [00:01<01:54, 3.05MiB/s] 1%|β | 3.84M/338M [00:01<01:45, 3.33MiB/s] 1%|β | 4.22M/338M [00:01<01:40, 3.48MiB/s] 1%|β | 4.64M/338M [00:02<01:34, 3.71MiB/s] 2%|β | 5.11M/338M [00:02<01:26, 4.03MiB/s] 2%|β | 5.59M/338M [00:02<01:20, 4.32MiB/s] 2%|β | 6.12M/338M [00:02<01:14, 4.65MiB/s] 2%|β | 6.67M/338M [00:02<01:09, 4.97MiB/s] 2%|β | 7.25M/338M [00:02<01:05, 5.26MiB/s] 2%|β | 7.91M/338M [00:02<01:00, 5.71MiB/s] 3%|β | 8.59M/338M [00:02<00:56, 6.11MiB/s] 3%|β | 9.31M/338M [00:02<00:52, 6.51MiB/s] 3%|ββ | 10.1M/338M [00:02<00:49, 7.00MiB/s] 3%|ββ | 10.9M/338M [00:03<00:45, 7.50MiB/s] 3%|ββ | 11.8M/338M [00:03<00:42, 8.04MiB/s] 4%|ββ | 12.7M/338M [00:03<00:40, 8.43MiB/s] 4%|ββ | 13.7M/338M [00:03<00:37, 9.09MiB/s] 4%|ββ | 14.8M/338M [00:03<00:34, 9.79MiB/s] 5%|ββ | 15.9M/338M [00:03<00:32, 10.3MiB/s] 5%|ββ | 17.2M/338M [00:03<00:30, 11.2MiB/s] 5%|ββ | 18.5M/338M [00:03<00:28, 11.9MiB/s] 6%|βββ | 19.9M/338M [00:03<00:26, 12.7MiB/s] 6%|βββ | 21.3M/338M [00:03<00:24, 13.3MiB/s] 7%|βββ | 22.7M/338M [00:04<00:24, 13.6MiB/s] 7%|βββ | 24.2M/338M [00:04<00:23, 14.1MiB/s] 8%|βββ | 25.9M/338M [00:04<00:21, 15.2MiB/s] 8%|ββββ | 27.8M/338M [00:04<00:19, 16.6MiB/s] 9%|ββββ | 29.8M/338M [00:04<00:18, 17.9MiB/s] 9%|ββββ | 31.9M/338M [00:04<00:16, 19.2MiB/s] 10%|ββββ | 34.3M/338M [00:04<00:15, 20.7MiB/s] 11%|βββββ | 36.7M/338M [00:04<00:14, 22.0MiB/s] 12%|βββββ | 39.2M/338M [00:04<00:13, 23.4MiB/s] 12%|βββββ | 41.8M/338M [00:04<00:12, 24.5MiB/s] 13%|βββββ | 44.6M/338M [00:05<00:11, 25.8MiB/s] 14%|ββββββ | 47.7M/338M [00:05<00:10, 28.0MiB/s] 15%|ββββββ | 51.2M/338M [00:05<00:09, 30.3MiB/s] 16%|βββββββ | 54.9M/338M [00:05<00:09, 32.8MiB/s] 17%|βββββββ | 58.6M/338M [00:05<00:08, 34.6MiB/s] 19%|βββββββ | 62.7M/338M [00:05<00:07, 36.7MiB/s] 20%|ββββββββ | 67.2M/338M [00:05<00:07, 39.7MiB/s] 21%|ββββββββ | 71.5M/338M [00:05<00:06, 41.2MiB/s] 23%|βββββββββ | 76.7M/338M [00:05<00:06, 45.1MiB/s] 24%|ββββββββββ | 82.1M/338M [00:05<00:05, 48.4MiB/s] 26%|ββββββββββ | 87.9M/338M [00:06<00:05, 51.9MiB/s] 28%|βββββββββββ | 94.2M/338M [00:06<00:04, 56.3MiB/s] 30%|ββββββββββββ | 101M/338M [00:06<00:04, 60.2MiB/s] 32%|βββββββββββββ | 108M/338M [00:06<00:03, 63.7MiB/s] 34%|ββββββββββββββ | 115M/338M [00:06<00:03, 67.8MiB/s] 36%|βββββββββββββββ | 123M/338M [00:06<00:03, 72.3MiB/s] 39%|βββββββββββββββ | 130M/338M [00:06<00:03, 62.6MiB/s] 41%|ββββββββββββββββ | 139M/338M [00:06<00:02, 71.8MiB/s] 44%|ββββββββββββββββββ | 149M/338M [00:06<00:02, 79.4MiB/s] 47%|βββββββββββββββββββ | 159M/338M [00:07<00:02, 86.7MiB/s] 50%|ββββββββββββββββββββ | 170M/338M [00:07<00:01, 94.8MiB/s] 53%|ββββββββββββββββββββββ | 181M/338M [00:07<00:01, 100MiB/s] 57%|βββββββββββββββββββββββ | 193M/338M [00:07<00:01, 109MiB/s] 61%|βββββββββββββββββββββββββ | 207M/338M [00:07<00:01, 118MiB/s] 65%|ββββββββββββββββββββββββββ | 218M/338M [00:07<00:01, 119MiB/s] 69%|ββββββββββββββββββββββββββββ | 232M/338M [00:07<00:00, 128MiB/s] 74%|ββββββββββββββββββββββββββββββ | 249M/338M [00:07<00:00, 141MiB/s] 79%|ββββββββββββββββββββββββββββββββ | 266M/338M [00:07<00:00, 153MiB/s] 83%|ββββββββββββββββββββββββββββββββββ | 280M/338M [00:07<00:00, 137MiB/s] 88%|βββββββββββββββββββββββββββββββββββ | 295M/338M [00:08<00:00, 142MiB/s] 92%|βββββββββββββββββββββββββββββββββββββ | 309M/338M [00:08<00:00, 138MiB/s] 96%|βββββββββββββββββββββββββββββββββββββββ | 323M/338M [00:08<00:00, 136MiB/s] 100%|ββββββββββββββββββββββββββββββββββββββββ| 336M/338M [00:08<00:00, 138MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:08<00:00, 42.3MiB/s] The `device` argument is deprecated and will be removed in v5 of Transformers. None of the inputs have requires_grad=True. Gradients will be None
Prediction
remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79ID8snqs6k00srj40cjx8dtzqjg44StatusSucceededSourceAPIHardwareA100 (80GB)Total durationCreatedInput
{ "IMAGE": "https://replicate.delivery/pbxt/Lto5mODffUm3i8SFN9Jp8OsZuN3Yicswdf9TP7A39ApGM4R4/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/Lto5lZhtAEA5KCfeT2FyQvEMq1jvMOS3ofiCUnFi42uCvcq0/072.png" }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", { input: { IMAGE: "https://replicate.delivery/pbxt/Lto5mODffUm3i8SFN9Jp8OsZuN3Yicswdf9TP7A39ApGM4R4/DEMO.jpg", target: "couch", STYLE_IMAGE: "https://replicate.delivery/pbxt/Lto5lZhtAEA5KCfeT2FyQvEMq1jvMOS3ofiCUnFi42uCvcq0/072.png" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", input={ "IMAGE": "https://replicate.delivery/pbxt/Lto5mODffUm3i8SFN9Jp8OsZuN3Yicswdf9TP7A39ApGM4R4/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/Lto5lZhtAEA5KCfeT2FyQvEMq1jvMOS3ofiCUnFi42uCvcq0/072.png" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", "input": { "IMAGE": "https://replicate.delivery/pbxt/Lto5mODffUm3i8SFN9Jp8OsZuN3Yicswdf9TP7A39ApGM4R4/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/Lto5lZhtAEA5KCfeT2FyQvEMq1jvMOS3ofiCUnFi42uCvcq0/072.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-01T23:45:51.297955Z", "created_at": "2024-11-01T23:41:55.590000Z", "data_removed": false, "error": null, "id": "8snqs6k00srj40cjx8dtzqjg44", "input": { "IMAGE": "https://replicate.delivery/pbxt/Lto5mODffUm3i8SFN9Jp8OsZuN3Yicswdf9TP7A39ApGM4R4/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/Lto5lZhtAEA5KCfeT2FyQvEMq1jvMOS3ofiCUnFi42uCvcq0/072.png" }, "logs": "trying to load grounding dino directly\ndownloading dino model weights\nfinal text_encoder_type: bert-base-uncased\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13)\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\nCollecting git+https://github.com/openai/CLIP.git\nCloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-nt3mfovp\nRunning command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-nt3mfovp\nResolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1\nPreparing metadata (setup.py): started\nPreparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1)\nRequirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6)\nRequirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118)\nRequirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13)\nRequirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0)\nRequirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2)\nRequirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2)\nRequirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3)\nRequirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4)\nRequirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0)\nRequirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3)\nRequirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8)\nRequirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4)\nRequirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0)\nRequirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5)\nRequirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2)\nRequirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3)\nRequirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30)\nRequirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0)\nBuilding wheels for collected packages: clip\nBuilding wheel for clip (setup.py): started\nBuilding wheel for clip (setup.py): finished with status 'done'\nCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=c226ab7d236bd82fbd66fe74b0a2749010a8b58f7b8e88e2bbba3791b667ff9d\nStored in directory: /tmp/pip-ephem-wheel-cache-dn3f0fxk/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a\nSuccessfully built clip\nInstalling collected packages: clip\nSuccessfully installed clip-1.0\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\n 0%| | 0.00/338M [00:00<?, ?iB/s]\n 0%| | 80.0k/338M [00:00<08:51, 666kiB/s]\n 0%| | 368k/338M [00:00<03:08, 1.88MiB/s]\n 0%| | 1.00M/338M [00:00<01:28, 3.97MiB/s]\n 1%|β | 3.33M/338M [00:00<00:30, 11.5MiB/s]\n 3%|ββ | 10.8M/338M [00:00<00:09, 34.7MiB/s]\n 6%|βββ | 20.1M/338M [00:00<00:05, 55.6MiB/s]\n 9%|ββββ | 31.7M/338M [00:00<00:04, 76.4MiB/s]\n 12%|βββββ | 41.3M/338M [00:00<00:03, 83.9MiB/s]\n 15%|ββββββ | 51.9M/338M [00:00<00:03, 92.3MiB/s]\n 18%|βββββββ | 60.7M/338M [00:01<00:03, 81.6MiB/s]\n 20%|ββββββββ | 68.8M/338M [00:01<00:04, 68.7MiB/s]\n 24%|βββββββββ | 79.8M/338M [00:01<00:03, 80.0MiB/s]\n 26%|ββββββββββ | 87.9M/338M [00:01<00:04, 63.9MiB/s]\n 30%|ββββββββββββ | 102M/338M [00:01<00:02, 83.7MiB/s]\n 33%|βββββββββββββ | 112M/338M [00:01<00:02, 88.1MiB/s]\n 36%|ββββββββββββββ | 122M/338M [00:01<00:02, 91.7MiB/s]\n 39%|ββββββββββββββββ | 132M/338M [00:01<00:02, 94.8MiB/s]\n 42%|βββββββββββββββββ | 143M/338M [00:02<00:02, 101MiB/s]\n 45%|ββββββββββββββββββ | 153M/338M [00:02<00:02, 80.6MiB/s]\n 48%|βββββββββββββββββββ | 163M/338M [00:02<00:02, 85.8MiB/s]\n 51%|ββββββββββββββββββββ | 172M/338M [00:02<00:02, 67.2MiB/s]\n 53%|βββββββββββββββββββββ | 180M/338M [00:02<00:02, 70.2MiB/s]\n 55%|ββββββββββββββββββββββ | 187M/338M [00:02<00:02, 72.4MiB/s]\n 58%|βββββββββββββββββββββββ | 195M/338M [00:02<00:02, 71.0MiB/s]\n 60%|ββββββββββββββββββββββββ | 202M/338M [00:03<00:02, 61.5MiB/s]\n 63%|βββββββββββββββββββββββββ | 212M/338M [00:03<00:01, 70.6MiB/s]\n 65%|ββββββββββββββββββββββββββ | 219M/338M [00:03<00:01, 71.8MiB/s]\n 67%|βββββββββββββββββββββββββββ | 227M/338M [00:03<00:01, 74.5MiB/s]\n 70%|ββββββββββββββββββββββββββββ | 236M/338M [00:03<00:01, 76.9MiB/s]\n 72%|ββββββββββββββββββββββββββββ | 243M/338M [00:03<00:01, 77.2MiB/s]\n 75%|ββββββββββββββββββββββββββββββ | 254M/338M [00:03<00:01, 86.7MiB/s]\n 78%|βββββββββββββββββββββββββββββββ | 263M/338M [00:03<00:00, 81.5MiB/s]\n 80%|ββββββββββββββββββββββββββββββββ | 271M/338M [00:03<00:00, 77.7MiB/s]\n 82%|βββββββββββββββββββββββββββββββββ | 278M/338M [00:04<00:00, 74.5MiB/s]\n 85%|βββββββββββββββββββββββββββββββββ | 285M/338M [00:04<00:00, 66.6MiB/s]\n 87%|ββββββββββββββββββββββββββββββββββ | 293M/338M [00:04<00:00, 71.0MiB/s]\n 89%|βββββββββββββββββββββββββββββββββββ | 300M/338M [00:04<00:00, 70.3MiB/s]\n 92%|ββββββββββββββββββββββββββββββββββββ | 310M/338M [00:04<00:00, 77.4MiB/s]\n 94%|βββββββββββββββββββββββββββββββββββββ | 317M/338M [00:04<00:00, 55.4MiB/s]\n 96%|ββββββββββββββββββββββββββββββββββββββ | 325M/338M [00:04<00:00, 62.8MiB/s]\n 99%|βββββββββββββββββββββββββββββββββββββββ| 334M/338M [00:04<00:00, 68.8MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:04<00:00, 71.0MiB/s]\nThe `device` argument is deprecated and will be removed in v5 of Transformers.\nNone of the inputs have requires_grad=True. Gradients will be None", "metrics": { "predict_time": 179.23917876, "total_time": 235.707955 }, "output": "https://replicate.delivery/yhqm/mJbRRgIfjt3ZBSjgk405rycDsrlcH9DUsSotFNwzZT6X0Y2JA/image_another_color_annotate.jpg", "started_at": "2024-11-01T23:42:52.058776Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-fc6yslicjhiuvgkmsegolrbe2sttytlsgh52yh7tt7cg3k7esr6a", "get": "https://api.replicate.com/v1/predictions/8snqs6k00srj40cjx8dtzqjg44", "cancel": "https://api.replicate.com/v1/predictions/8snqs6k00srj40cjx8dtzqjg44/cancel" }, "version": "c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79" }
Generated intrying to load grounding dino directly downloading dino model weights final text_encoder_type: bert-base-uncased Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13) 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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip Collecting git+https://github.com/openai/CLIP.git Cloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-nt3mfovp Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-nt3mfovp Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1) Requirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6) Requirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118) Requirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13) Requirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0) Requirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2) Requirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2) Requirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3) Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4) Requirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0) Requirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3) Requirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8) Requirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4) Requirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0) Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0) Building wheels for collected packages: clip Building wheel for clip (setup.py): started Building wheel for clip (setup.py): finished with status 'done' Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=c226ab7d236bd82fbd66fe74b0a2749010a8b58f7b8e88e2bbba3791b667ff9d Stored in directory: /tmp/pip-ephem-wheel-cache-dn3f0fxk/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a Successfully built clip Installing collected packages: clip Successfully installed clip-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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 0%| | 0.00/338M [00:00<?, ?iB/s] 0%| | 80.0k/338M [00:00<08:51, 666kiB/s] 0%| | 368k/338M [00:00<03:08, 1.88MiB/s] 0%| | 1.00M/338M [00:00<01:28, 3.97MiB/s] 1%|β | 3.33M/338M [00:00<00:30, 11.5MiB/s] 3%|ββ | 10.8M/338M [00:00<00:09, 34.7MiB/s] 6%|βββ | 20.1M/338M [00:00<00:05, 55.6MiB/s] 9%|ββββ | 31.7M/338M [00:00<00:04, 76.4MiB/s] 12%|βββββ | 41.3M/338M [00:00<00:03, 83.9MiB/s] 15%|ββββββ | 51.9M/338M [00:00<00:03, 92.3MiB/s] 18%|βββββββ | 60.7M/338M [00:01<00:03, 81.6MiB/s] 20%|ββββββββ | 68.8M/338M [00:01<00:04, 68.7MiB/s] 24%|βββββββββ | 79.8M/338M [00:01<00:03, 80.0MiB/s] 26%|ββββββββββ | 87.9M/338M [00:01<00:04, 63.9MiB/s] 30%|ββββββββββββ | 102M/338M [00:01<00:02, 83.7MiB/s] 33%|βββββββββββββ | 112M/338M [00:01<00:02, 88.1MiB/s] 36%|ββββββββββββββ | 122M/338M [00:01<00:02, 91.7MiB/s] 39%|ββββββββββββββββ | 132M/338M [00:01<00:02, 94.8MiB/s] 42%|βββββββββββββββββ | 143M/338M [00:02<00:02, 101MiB/s] 45%|ββββββββββββββββββ | 153M/338M [00:02<00:02, 80.6MiB/s] 48%|βββββββββββββββββββ | 163M/338M [00:02<00:02, 85.8MiB/s] 51%|ββββββββββββββββββββ | 172M/338M [00:02<00:02, 67.2MiB/s] 53%|βββββββββββββββββββββ | 180M/338M [00:02<00:02, 70.2MiB/s] 55%|ββββββββββββββββββββββ | 187M/338M [00:02<00:02, 72.4MiB/s] 58%|βββββββββββββββββββββββ | 195M/338M [00:02<00:02, 71.0MiB/s] 60%|ββββββββββββββββββββββββ | 202M/338M [00:03<00:02, 61.5MiB/s] 63%|βββββββββββββββββββββββββ | 212M/338M [00:03<00:01, 70.6MiB/s] 65%|ββββββββββββββββββββββββββ | 219M/338M [00:03<00:01, 71.8MiB/s] 67%|βββββββββββββββββββββββββββ | 227M/338M [00:03<00:01, 74.5MiB/s] 70%|ββββββββββββββββββββββββββββ | 236M/338M [00:03<00:01, 76.9MiB/s] 72%|ββββββββββββββββββββββββββββ | 243M/338M [00:03<00:01, 77.2MiB/s] 75%|ββββββββββββββββββββββββββββββ | 254M/338M [00:03<00:01, 86.7MiB/s] 78%|βββββββββββββββββββββββββββββββ | 263M/338M [00:03<00:00, 81.5MiB/s] 80%|ββββββββββββββββββββββββββββββββ | 271M/338M [00:03<00:00, 77.7MiB/s] 82%|βββββββββββββββββββββββββββββββββ | 278M/338M [00:04<00:00, 74.5MiB/s] 85%|βββββββββββββββββββββββββββββββββ | 285M/338M [00:04<00:00, 66.6MiB/s] 87%|ββββββββββββββββββββββββββββββββββ | 293M/338M [00:04<00:00, 71.0MiB/s] 89%|βββββββββββββββββββββββββββββββββββ | 300M/338M [00:04<00:00, 70.3MiB/s] 92%|ββββββββββββββββββββββββββββββββββββ | 310M/338M [00:04<00:00, 77.4MiB/s] 94%|βββββββββββββββββββββββββββββββββββββ | 317M/338M [00:04<00:00, 55.4MiB/s] 96%|ββββββββββββββββββββββββββββββββββββββ | 325M/338M [00:04<00:00, 62.8MiB/s] 99%|βββββββββββββββββββββββββββββββββββββββ| 334M/338M [00:04<00:00, 68.8MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:04<00:00, 71.0MiB/s] The `device` argument is deprecated and will be removed in v5 of Transformers. None of the inputs have requires_grad=True. Gradients will be None
Prediction
remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79IDrjd69rp9exrj40cjx8mb96jzerStatusSucceededSourceAPIHardwareA100 (80GB)Total durationCreatedInput
{ "IMAGE": "https://replicate.delivery/pbxt/LtoJXJIGHbXSkW3i6B2qtQ4m7kp3tzHmR6jXrTufTai5nub8/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoJX15lZYiGRksKHRf485nZRYbFLy0hSWGeWmP5T3iKqXMT/101.png" }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", { input: { IMAGE: "https://replicate.delivery/pbxt/LtoJXJIGHbXSkW3i6B2qtQ4m7kp3tzHmR6jXrTufTai5nub8/DEMO.jpg", target: "couch", STYLE_IMAGE: "https://replicate.delivery/pbxt/LtoJX15lZYiGRksKHRf485nZRYbFLy0hSWGeWmP5T3iKqXMT/101.png" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", input={ "IMAGE": "https://replicate.delivery/pbxt/LtoJXJIGHbXSkW3i6B2qtQ4m7kp3tzHmR6jXrTufTai5nub8/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoJX15lZYiGRksKHRf485nZRYbFLy0hSWGeWmP5T3iKqXMT/101.png" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtoJXJIGHbXSkW3i6B2qtQ4m7kp3tzHmR6jXrTufTai5nub8/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoJX15lZYiGRksKHRf485nZRYbFLy0hSWGeWmP5T3iKqXMT/101.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-02T00:00:28.075735Z", "created_at": "2024-11-01T23:56:34.551000Z", "data_removed": false, "error": null, "id": "rjd69rp9exrj40cjx8mb96jzer", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtoJXJIGHbXSkW3i6B2qtQ4m7kp3tzHmR6jXrTufTai5nub8/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoJX15lZYiGRksKHRf485nZRYbFLy0hSWGeWmP5T3iKqXMT/101.png" }, "logs": "trying to load grounding dino directly\ndownloading dino model weights\nfinal text_encoder_type: bert-base-uncased\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13)\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\nCollecting git+https://github.com/openai/CLIP.git\nCloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-684cqjsl\nRunning command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-684cqjsl\nResolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1\nPreparing metadata (setup.py): started\nPreparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1)\nRequirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6)\nRequirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118)\nRequirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13)\nRequirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0)\nRequirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2)\nRequirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2)\nRequirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3)\nRequirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4)\nRequirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0)\nRequirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3)\nRequirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8)\nRequirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4)\nRequirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0)\nRequirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5)\nRequirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2)\nRequirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3)\nRequirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30)\nRequirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0)\nBuilding wheels for collected packages: clip\nBuilding wheel for clip (setup.py): started\nBuilding wheel for clip (setup.py): finished with status 'done'\nCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=8b5c1a5c95bb4ad01195267336666032e770cbd27b3124dbe96a1721766997bd\nStored in directory: /tmp/pip-ephem-wheel-cache-k71ax72r/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a\nSuccessfully built clip\nInstalling collected packages: clip\nSuccessfully installed clip-1.0\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\n 0%| | 0.00/338M [00:00<?, ?iB/s]\n 0%| | 80.0k/338M [00:00<08:51, 665kiB/s]\n 0%| | 384k/338M [00:00<03:00, 1.96MiB/s]\n 0%| | 816k/338M [00:00<01:57, 3.01MiB/s]\n 0%|β | 1.34M/338M [00:00<01:27, 4.04MiB/s]\n 1%|β | 1.92M/338M [00:00<01:14, 4.71MiB/s]\n 1%|β | 2.55M/338M [00:00<01:06, 5.32MiB/s]\n 1%|β | 3.17M/338M [00:00<01:02, 5.65MiB/s]\n 1%|β | 3.88M/338M [00:00<00:56, 6.16MiB/s]\n 1%|β | 4.62M/338M [00:00<00:52, 6.66MiB/s]\n 2%|β | 5.44M/338M [00:01<00:48, 7.15MiB/s]\n 2%|β | 6.17M/338M [00:01<00:47, 7.30MiB/s]\n 2%|β | 6.97M/338M [00:01<00:45, 7.59MiB/s]\n 2%|β | 7.73M/338M [00:01<00:44, 7.72MiB/s]\n 3%|β | 8.48M/338M [00:01<00:45, 7.62MiB/s]\n 3%|β | 9.34M/338M [00:01<00:42, 8.03MiB/s]\n 3%|ββ | 10.2M/338M [00:01<00:41, 8.19MiB/s]\n 3%|ββ | 11.0M/338M [00:01<00:40, 8.42MiB/s]\n 4%|ββ | 11.9M/338M [00:01<00:39, 8.54MiB/s]\n 4%|ββ | 12.7M/338M [00:01<00:39, 8.58MiB/s]\n 4%|ββ | 13.6M/338M [00:02<00:38, 8.74MiB/s]\n 4%|ββ | 14.4M/338M [00:02<00:38, 8.76MiB/s]\n 5%|ββ | 15.3M/338M [00:02<00:38, 8.73MiB/s]\n 5%|ββ | 16.2M/338M [00:02<00:37, 8.95MiB/s]\n 5%|ββ | 17.1M/338M [00:02<00:38, 8.83MiB/s]\n 5%|ββ | 17.9M/338M [00:02<00:37, 8.82MiB/s]\n 6%|ββ | 18.8M/338M [00:02<00:37, 8.88MiB/s]\n 6%|βββ | 19.7M/338M [00:02<00:37, 8.93MiB/s]\n 6%|βββ | 20.6M/338M [00:02<00:37, 8.95MiB/s]\n 6%|βββ | 21.4M/338M [00:02<00:36, 8.99MiB/s]\n 7%|βββ | 22.3M/338M [00:03<00:36, 9.00MiB/s]\n 7%|βββ | 23.2M/338M [00:03<00:36, 9.09MiB/s]\n 7%|βββ | 24.1M/338M [00:03<00:36, 9.03MiB/s]\n 7%|βββ | 24.9M/338M [00:03<00:36, 9.06MiB/s]\n 8%|βββ | 25.8M/338M [00:03<00:36, 9.06MiB/s]\n 8%|βββ | 26.7M/338M [00:03<00:35, 9.08MiB/s]\n 8%|βββ | 27.6M/338M [00:03<00:35, 9.13MiB/s]\n 8%|ββββ | 28.5M/338M [00:03<00:35, 9.15MiB/s]\n 9%|ββββ | 29.4M/338M [00:03<00:35, 9.16MiB/s]\n 9%|ββββ | 30.3M/338M [00:03<00:34, 9.26MiB/s]\n 9%|ββββ | 31.2M/338M [00:04<00:35, 9.18MiB/s]\n 9%|ββββ | 32.1M/338M [00:04<00:34, 9.20MiB/s]\n 10%|ββββ | 33.0M/338M [00:04<00:34, 9.32MiB/s]\n 10%|ββββ | 33.9M/338M [00:04<00:34, 9.23MiB/s]\n 10%|ββββ | 34.8M/338M [00:04<00:34, 9.30MiB/s]\n 11%|ββββ | 35.7M/338M [00:04<00:33, 9.38MiB/s]\n 11%|ββββ | 36.6M/338M [00:04<00:33, 9.36MiB/s]\n 11%|βββββ | 37.5M/338M [00:04<00:33, 9.40MiB/s]\n 11%|βββββ | 38.4M/338M [00:04<00:33, 9.31MiB/s]\n 12%|βββββ | 39.3M/338M [00:05<00:33, 9.30MiB/s]\n 12%|βββββ | 40.2M/338M [00:05<00:33, 9.38MiB/s]\n 12%|βββββ | 41.2M/338M [00:05<00:32, 9.42MiB/s]\n 12%|βββββ | 42.1M/338M [00:05<00:32, 9.42MiB/s]\n 13%|βββββ | 43.0M/338M [00:05<00:32, 9.40MiB/s]\n 13%|βββββ | 43.9M/338M [00:05<00:32, 9.49MiB/s]\n 13%|βββββ | 44.9M/338M [00:05<00:32, 9.51MiB/s]\n 14%|ββββββ | 45.8M/338M [00:05<00:32, 9.46MiB/s]\n 14%|ββββββ | 46.7M/338M [00:05<00:31, 9.59MiB/s]\n 14%|ββββββ | 47.6M/338M [00:05<00:31, 9.56MiB/s]\n 14%|ββββββ | 48.6M/338M [00:06<00:31, 9.64MiB/s]\n 15%|ββββββ | 49.6M/338M [00:06<00:30, 9.75MiB/s]\n 15%|ββββββ | 50.5M/338M [00:06<00:30, 9.74MiB/s]\n 15%|ββββββ | 51.5M/338M [00:06<00:30, 9.86MiB/s]\n 16%|ββββββ | 52.4M/338M [00:06<00:30, 9.93MiB/s]\n 16%|ββββββ | 53.4M/338M [00:06<00:29, 9.98MiB/s]\n 16%|βββββββ | 54.4M/338M [00:06<00:29, 10.1MiB/s]\n 16%|βββββββ | 55.4M/338M [00:06<00:29, 10.1MiB/s]\n 17%|βββββββ | 56.4M/338M [00:06<00:29, 10.1MiB/s]\n 17%|βββββββ | 57.4M/338M [00:06<00:28, 10.2MiB/s]\n 17%|βββββββ | 58.4M/338M [00:07<00:28, 10.4MiB/s]\n 18%|βββββββ | 59.4M/338M [00:07<00:27, 10.4MiB/s]\n 18%|βββββββ | 60.5M/338M [00:07<00:27, 10.6MiB/s]\n 18%|βββββββ | 61.6M/338M [00:07<00:27, 10.7MiB/s]\n 19%|βββββββ | 62.6M/338M [00:07<00:26, 10.8MiB/s]\n 19%|ββββββββ | 63.8M/338M [00:07<00:26, 11.0MiB/s]\n 19%|ββββββββ | 64.8M/338M [00:07<00:26, 10.9MiB/s]\n 20%|ββββββββ | 65.9M/338M [00:07<00:25, 11.1MiB/s]\n 20%|ββββββββ | 67.0M/338M [00:07<00:25, 11.2MiB/s]\n 20%|ββββββββ | 68.1M/338M [00:07<00:25, 11.2MiB/s]\n 21%|ββββββββ | 69.3M/338M [00:08<00:24, 11.5MiB/s]\n 21%|ββββββββ | 70.4M/338M [00:08<00:24, 11.6MiB/s]\n 21%|ββββββββ | 71.5M/338M [00:08<00:24, 11.6MiB/s]\n 22%|βββββββββ | 72.6M/338M [00:08<00:23, 11.6MiB/s]\n 22%|βββββββββ | 73.9M/338M [00:08<00:23, 11.8MiB/s]\n 22%|βββββββββ | 75.1M/338M [00:08<00:22, 12.1MiB/s]\n 23%|βββββββββ | 76.3M/338M [00:08<00:22, 12.2MiB/s]\n 23%|βββββββββ | 77.6M/338M [00:08<00:21, 12.5MiB/s]\n 23%|βββββββββ | 78.8M/338M [00:08<00:22, 12.3MiB/s]\n 24%|βββββββββ | 80.0M/338M [00:08<00:21, 12.5MiB/s]\n 24%|ββββββββββ | 81.2M/338M [00:09<00:21, 12.6MiB/s]\n 24%|ββββββββββ | 82.6M/338M [00:09<00:20, 13.1MiB/s]\n 25%|ββββββββββ | 83.9M/338M [00:09<00:20, 13.1MiB/s]\n 25%|ββββββββββ | 85.2M/338M [00:09<00:19, 13.4MiB/s]\n 26%|ββββββββββ | 86.6M/338M [00:09<00:19, 13.6MiB/s]\n 26%|ββββββββββ | 87.9M/338M [00:09<00:19, 13.7MiB/s]\n 26%|ββββββββββ | 89.3M/338M [00:09<00:18, 14.0MiB/s]\n 27%|βββββββββββ | 90.7M/338M [00:09<00:18, 14.1MiB/s]\n 27%|βββββββββββ | 92.1M/338M [00:09<00:17, 14.3MiB/s]\n 28%|βββββββββββ | 93.6M/338M [00:09<00:17, 14.6MiB/s]\n 28%|βββββββββββ | 95.0M/338M [00:10<00:17, 14.8MiB/s]\n 29%|βββββββββββ | 96.6M/338M [00:10<00:16, 15.1MiB/s]\n 29%|βββββββββββ | 98.0M/338M [00:10<00:16, 15.2MiB/s]\n 29%|ββββββββββββ | 99.6M/338M [00:10<00:16, 15.4MiB/s]\n 30%|ββββββββββββ | 101M/338M [00:10<00:15, 15.7MiB/s]\n 30%|ββββββββββββ | 103M/338M [00:10<00:15, 16.0MiB/s]\n 31%|ββββββββββββ | 104M/338M [00:10<00:15, 16.1MiB/s]\n 31%|βββββββββββββ | 106M/338M [00:10<00:14, 16.5MiB/s]\n 32%|βββββββββββββ | 108M/338M [00:10<00:14, 16.5MiB/s]\n 32%|βββββββββββββ | 109M/338M [00:10<00:14, 17.0MiB/s]\n 33%|βββββββββββββ | 111M/338M [00:11<00:13, 17.0MiB/s]\n 33%|βββββββββββββ | 113M/338M [00:11<00:13, 17.2MiB/s]\n 34%|ββββββββββββββ | 115M/338M [00:11<00:13, 17.8MiB/s]\n 34%|ββββββββββββββ | 116M/338M [00:11<00:12, 17.9MiB/s]\n 35%|ββββββββββββββ | 118M/338M [00:11<00:12, 18.4MiB/s]\n 36%|ββββββββββββββ | 120M/338M [00:11<00:12, 18.6MiB/s]\n 36%|ββββββββββββββ | 122M/338M [00:11<00:12, 18.7MiB/s]\n 37%|βββββββββββββββ | 124M/338M [00:11<00:11, 19.3MiB/s]\n 37%|βββββββββββββββ | 126M/338M [00:11<00:11, 19.4MiB/s]\n 38%|βββββββββββββββ | 128M/338M [00:11<00:11, 19.6MiB/s]\n 38%|βββββββββββββββ | 130M/338M [00:12<00:10, 20.1MiB/s]\n 39%|ββββββββββββββββ | 132M/338M [00:12<00:10, 20.3MiB/s]\n 40%|ββββββββββββββββ | 134M/338M [00:12<00:10, 20.6MiB/s]\n 40%|ββββββββββββββββ | 136M/338M [00:12<00:10, 20.8MiB/s]\n 41%|ββββββββββββββββ | 138M/338M [00:12<00:09, 21.6MiB/s]\n 41%|βββββββββββββββββ | 140M/338M [00:12<00:09, 21.6MiB/s]\n 42%|βββββββββββββββββ | 142M/338M [00:12<00:09, 21.7MiB/s]\n 43%|βββββββββββββββββ | 144M/338M [00:12<00:09, 21.8MiB/s]\n 43%|βββββββββββββββββ | 147M/338M [00:12<00:08, 22.5MiB/s]\n 44%|ββββββββββββββββββ | 149M/338M [00:12<00:08, 22.8MiB/s]\n 45%|ββββββββββββββββββ | 151M/338M [00:13<00:08, 23.2MiB/s]\n 45%|ββββββββββββββββββ | 154M/338M [00:13<00:08, 23.6MiB/s]\n 46%|ββββββββββββββββββ | 156M/338M [00:13<00:07, 24.2MiB/s]\n 47%|βββββββββββββββββββ | 158M/338M [00:13<00:07, 24.6MiB/s]\n 48%|βββββββββββββββββββ | 161M/338M [00:13<00:07, 24.9MiB/s]\n 48%|βββββββββββββββββββ | 164M/338M [00:13<00:07, 25.8MiB/s]\n 49%|ββββββββββββββββββββ | 166M/338M [00:13<00:06, 25.9MiB/s]\n 50%|ββββββββββββββββββββ | 169M/338M [00:13<00:06, 26.3MiB/s]\n 51%|ββββββββββββββββββββ | 171M/338M [00:13<00:06, 27.1MiB/s]\n 52%|ββββββββββββββββββββ | 174M/338M [00:13<00:06, 27.2MiB/s]\n 52%|βββββββββββββββββββββ | 177M/338M [00:14<00:06, 27.8MiB/s]\n 53%|βββββββββββββββββββββ | 180M/338M [00:14<00:05, 27.9MiB/s]\n 54%|βββββββββββββββββββββ | 182M/338M [00:14<00:05, 28.2MiB/s]\n 55%|ββββββββββββββββββββββ | 185M/338M [00:14<00:05, 29.3MiB/s]\n 56%|ββββββββββββββββββββββ | 188M/338M [00:14<00:05, 29.4MiB/s]\n 57%|ββββββββββββββββββββββ | 191M/338M [00:14<00:05, 30.3MiB/s]\n 58%|βββββββββββββββββββββββ | 194M/338M [00:14<00:04, 30.5MiB/s]\n 58%|βββββββββββββββββββββββ | 197M/338M [00:14<00:04, 30.8MiB/s]\n 59%|ββββββββββββββββββββββββ | 201M/338M [00:14<00:04, 31.7MiB/s]\n 60%|ββββββββββββββββββββββββ | 204M/338M [00:15<00:04, 31.9MiB/s]\n 61%|ββββββββββββββββββββββββ | 207M/338M [00:15<00:04, 32.2MiB/s]\n 62%|βββββββββββββββββββββββββ | 210M/338M [00:15<00:04, 33.3MiB/s]\n 63%|βββββββββββββββββββββββββ | 214M/338M [00:15<00:03, 33.5MiB/s]\n 64%|βββββββββββββββββββββββββ | 217M/338M [00:15<00:03, 34.6MiB/s]\n 65%|ββββββββββββββββββββββββββ | 220M/338M [00:15<00:03, 34.7MiB/s]\n 66%|ββββββββββββββββββββββββββ | 224M/338M [00:15<00:03, 35.0MiB/s]\n 67%|βββββββββββββββββββββββββββ | 227M/338M [00:15<00:03, 35.1MiB/s]\n 68%|βββββββββββββββββββββββββββ | 231M/338M [00:15<00:03, 36.5MiB/s]\n 70%|βββββββββββββββββββββββββββ | 235M/338M [00:15<00:02, 36.7MiB/s]\n 71%|ββββββββββββββββββββββββββββ | 238M/338M [00:16<00:02, 37.1MiB/s]\n 72%|ββββββββββββββββββββββββββββ | 242M/338M [00:16<00:02, 38.1MiB/s]\n 73%|βββββββββββββββββββββββββββββ | 246M/338M [00:16<00:02, 38.2MiB/s]\n 74%|βββββββββββββββββββββββββββββ | 250M/338M [00:16<00:02, 39.5MiB/s]\n 75%|ββββββββββββββββββββββββββββββ | 254M/338M [00:16<00:02, 39.9MiB/s]\n 76%|ββββββββββββββββββββββββββββββ | 258M/338M [00:16<00:02, 40.3MiB/s]\n 78%|βββββββββββββββββββββββββββββββ | 262M/338M [00:16<00:01, 41.3MiB/s]\n 79%|βββββββββββββββββββββββββββββββ | 266M/338M [00:16<00:01, 41.6MiB/s]\n 80%|ββββββββββββββββββββββββββββββββ | 270M/338M [00:16<00:01, 42.1MiB/s]\n 81%|ββββββββββββββββββββββββββββββββ | 275M/338M [00:16<00:01, 43.3MiB/s]\n 83%|βββββββββββββββββββββββββββββββββ | 279M/338M [00:17<00:01, 43.7MiB/s]\n 84%|βββββββββββββββββββββββββββββββββ | 283M/338M [00:17<00:01, 44.5MiB/s]\n 85%|ββββββββββββββββββββββββββββββββββ | 288M/338M [00:17<00:01, 45.3MiB/s]\n 87%|ββββββββββββββββββββββββββββββββββ | 292M/338M [00:17<00:01, 45.7MiB/s]\n 88%|βββββββββββββββββββββββββββββββββββ | 297M/338M [00:17<00:00, 47.0MiB/s]\n 89%|βββββββββββββββββββββββββββββββββββ | 302M/338M [00:17<00:00, 47.2MiB/s]\n 91%|ββββββββββββββββββββββββββββββββββββ | 306M/338M [00:17<00:00, 47.8MiB/s]\n 92%|ββββββββββββββββββββββββββββββββββββ | 311M/338M [00:17<00:00, 49.1MiB/s]\n 94%|βββββββββββββββββββββββββββββββββββββ | 316M/338M [00:17<00:00, 49.4MiB/s]\n 95%|βββββββββββββββββββββββββββββββββββββ | 321M/338M [00:17<00:00, 50.1MiB/s]\n 97%|ββββββββββββββββββββββββββββββββββββββ | 326M/338M [00:18<00:00, 51.3MiB/s]\n 98%|βββββββββββββββββββββββββββββββββββββββ| 331M/338M [00:18<00:00, 51.8MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 337M/338M [00:18<00:00, 52.7MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:18<00:00, 19.4MiB/s]\nThe `device` argument is deprecated and will be removed in v5 of Transformers.\nNone of the inputs have requires_grad=True. Gradients will be None", "metrics": { "predict_time": 222.751464496, "total_time": 233.524735 }, "output": "https://replicate.delivery/yhqm/gcrTRjWUMTpfPyGjfy4o7fNWSTwae7V1rNX8TqGQYxczZHzOB/image_another_color_annotate.jpg", "started_at": "2024-11-01T23:56:45.324270Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-h5fg463gebohotbzpowhw42tdyum74cll7or35xu7cronwvq5b3a", "get": "https://api.replicate.com/v1/predictions/rjd69rp9exrj40cjx8mb96jzer", "cancel": "https://api.replicate.com/v1/predictions/rjd69rp9exrj40cjx8mb96jzer/cancel" }, "version": "c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79" }
Generated intrying to load grounding dino directly downloading dino model weights final text_encoder_type: bert-base-uncased Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13) 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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip Collecting git+https://github.com/openai/CLIP.git Cloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-684cqjsl Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-684cqjsl Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1) Requirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6) Requirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118) Requirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13) Requirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0) Requirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2) Requirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2) Requirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3) Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4) Requirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0) Requirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3) Requirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8) Requirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4) Requirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0) Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0) Building wheels for collected packages: clip Building wheel for clip (setup.py): started Building wheel for clip (setup.py): finished with status 'done' Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=8b5c1a5c95bb4ad01195267336666032e770cbd27b3124dbe96a1721766997bd Stored in directory: /tmp/pip-ephem-wheel-cache-k71ax72r/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a Successfully built clip Installing collected packages: clip Successfully installed clip-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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 0%| | 0.00/338M [00:00<?, ?iB/s] 0%| | 80.0k/338M [00:00<08:51, 665kiB/s] 0%| | 384k/338M [00:00<03:00, 1.96MiB/s] 0%| | 816k/338M [00:00<01:57, 3.01MiB/s] 0%|β | 1.34M/338M [00:00<01:27, 4.04MiB/s] 1%|β | 1.92M/338M [00:00<01:14, 4.71MiB/s] 1%|β | 2.55M/338M [00:00<01:06, 5.32MiB/s] 1%|β | 3.17M/338M [00:00<01:02, 5.65MiB/s] 1%|β | 3.88M/338M [00:00<00:56, 6.16MiB/s] 1%|β | 4.62M/338M [00:00<00:52, 6.66MiB/s] 2%|β | 5.44M/338M [00:01<00:48, 7.15MiB/s] 2%|β | 6.17M/338M [00:01<00:47, 7.30MiB/s] 2%|β | 6.97M/338M [00:01<00:45, 7.59MiB/s] 2%|β | 7.73M/338M [00:01<00:44, 7.72MiB/s] 3%|β | 8.48M/338M [00:01<00:45, 7.62MiB/s] 3%|β | 9.34M/338M [00:01<00:42, 8.03MiB/s] 3%|ββ | 10.2M/338M [00:01<00:41, 8.19MiB/s] 3%|ββ | 11.0M/338M [00:01<00:40, 8.42MiB/s] 4%|ββ | 11.9M/338M [00:01<00:39, 8.54MiB/s] 4%|ββ | 12.7M/338M [00:01<00:39, 8.58MiB/s] 4%|ββ | 13.6M/338M [00:02<00:38, 8.74MiB/s] 4%|ββ | 14.4M/338M [00:02<00:38, 8.76MiB/s] 5%|ββ | 15.3M/338M [00:02<00:38, 8.73MiB/s] 5%|ββ | 16.2M/338M [00:02<00:37, 8.95MiB/s] 5%|ββ | 17.1M/338M [00:02<00:38, 8.83MiB/s] 5%|ββ | 17.9M/338M [00:02<00:37, 8.82MiB/s] 6%|ββ | 18.8M/338M [00:02<00:37, 8.88MiB/s] 6%|βββ | 19.7M/338M [00:02<00:37, 8.93MiB/s] 6%|βββ | 20.6M/338M [00:02<00:37, 8.95MiB/s] 6%|βββ | 21.4M/338M [00:02<00:36, 8.99MiB/s] 7%|βββ | 22.3M/338M [00:03<00:36, 9.00MiB/s] 7%|βββ | 23.2M/338M [00:03<00:36, 9.09MiB/s] 7%|βββ | 24.1M/338M [00:03<00:36, 9.03MiB/s] 7%|βββ | 24.9M/338M [00:03<00:36, 9.06MiB/s] 8%|βββ | 25.8M/338M [00:03<00:36, 9.06MiB/s] 8%|βββ | 26.7M/338M [00:03<00:35, 9.08MiB/s] 8%|βββ | 27.6M/338M [00:03<00:35, 9.13MiB/s] 8%|ββββ | 28.5M/338M [00:03<00:35, 9.15MiB/s] 9%|ββββ | 29.4M/338M [00:03<00:35, 9.16MiB/s] 9%|ββββ | 30.3M/338M [00:03<00:34, 9.26MiB/s] 9%|ββββ | 31.2M/338M [00:04<00:35, 9.18MiB/s] 9%|ββββ | 32.1M/338M [00:04<00:34, 9.20MiB/s] 10%|ββββ | 33.0M/338M [00:04<00:34, 9.32MiB/s] 10%|ββββ | 33.9M/338M [00:04<00:34, 9.23MiB/s] 10%|ββββ | 34.8M/338M [00:04<00:34, 9.30MiB/s] 11%|ββββ | 35.7M/338M [00:04<00:33, 9.38MiB/s] 11%|ββββ | 36.6M/338M [00:04<00:33, 9.36MiB/s] 11%|βββββ | 37.5M/338M [00:04<00:33, 9.40MiB/s] 11%|βββββ | 38.4M/338M [00:04<00:33, 9.31MiB/s] 12%|βββββ | 39.3M/338M [00:05<00:33, 9.30MiB/s] 12%|βββββ | 40.2M/338M [00:05<00:33, 9.38MiB/s] 12%|βββββ | 41.2M/338M [00:05<00:32, 9.42MiB/s] 12%|βββββ | 42.1M/338M [00:05<00:32, 9.42MiB/s] 13%|βββββ | 43.0M/338M [00:05<00:32, 9.40MiB/s] 13%|βββββ | 43.9M/338M [00:05<00:32, 9.49MiB/s] 13%|βββββ | 44.9M/338M [00:05<00:32, 9.51MiB/s] 14%|ββββββ | 45.8M/338M [00:05<00:32, 9.46MiB/s] 14%|ββββββ | 46.7M/338M [00:05<00:31, 9.59MiB/s] 14%|ββββββ | 47.6M/338M [00:05<00:31, 9.56MiB/s] 14%|ββββββ | 48.6M/338M [00:06<00:31, 9.64MiB/s] 15%|ββββββ | 49.6M/338M [00:06<00:30, 9.75MiB/s] 15%|ββββββ | 50.5M/338M [00:06<00:30, 9.74MiB/s] 15%|ββββββ | 51.5M/338M [00:06<00:30, 9.86MiB/s] 16%|ββββββ | 52.4M/338M [00:06<00:30, 9.93MiB/s] 16%|ββββββ | 53.4M/338M [00:06<00:29, 9.98MiB/s] 16%|βββββββ | 54.4M/338M [00:06<00:29, 10.1MiB/s] 16%|βββββββ | 55.4M/338M [00:06<00:29, 10.1MiB/s] 17%|βββββββ | 56.4M/338M [00:06<00:29, 10.1MiB/s] 17%|βββββββ | 57.4M/338M [00:06<00:28, 10.2MiB/s] 17%|βββββββ | 58.4M/338M [00:07<00:28, 10.4MiB/s] 18%|βββββββ | 59.4M/338M [00:07<00:27, 10.4MiB/s] 18%|βββββββ | 60.5M/338M [00:07<00:27, 10.6MiB/s] 18%|βββββββ | 61.6M/338M [00:07<00:27, 10.7MiB/s] 19%|βββββββ | 62.6M/338M [00:07<00:26, 10.8MiB/s] 19%|ββββββββ | 63.8M/338M [00:07<00:26, 11.0MiB/s] 19%|ββββββββ | 64.8M/338M [00:07<00:26, 10.9MiB/s] 20%|ββββββββ | 65.9M/338M [00:07<00:25, 11.1MiB/s] 20%|ββββββββ | 67.0M/338M [00:07<00:25, 11.2MiB/s] 20%|ββββββββ | 68.1M/338M [00:07<00:25, 11.2MiB/s] 21%|ββββββββ | 69.3M/338M [00:08<00:24, 11.5MiB/s] 21%|ββββββββ | 70.4M/338M [00:08<00:24, 11.6MiB/s] 21%|ββββββββ | 71.5M/338M [00:08<00:24, 11.6MiB/s] 22%|βββββββββ | 72.6M/338M [00:08<00:23, 11.6MiB/s] 22%|βββββββββ | 73.9M/338M [00:08<00:23, 11.8MiB/s] 22%|βββββββββ | 75.1M/338M [00:08<00:22, 12.1MiB/s] 23%|βββββββββ | 76.3M/338M [00:08<00:22, 12.2MiB/s] 23%|βββββββββ | 77.6M/338M [00:08<00:21, 12.5MiB/s] 23%|βββββββββ | 78.8M/338M [00:08<00:22, 12.3MiB/s] 24%|βββββββββ | 80.0M/338M [00:08<00:21, 12.5MiB/s] 24%|ββββββββββ | 81.2M/338M [00:09<00:21, 12.6MiB/s] 24%|ββββββββββ | 82.6M/338M [00:09<00:20, 13.1MiB/s] 25%|ββββββββββ | 83.9M/338M [00:09<00:20, 13.1MiB/s] 25%|ββββββββββ | 85.2M/338M [00:09<00:19, 13.4MiB/s] 26%|ββββββββββ | 86.6M/338M [00:09<00:19, 13.6MiB/s] 26%|ββββββββββ | 87.9M/338M [00:09<00:19, 13.7MiB/s] 26%|ββββββββββ | 89.3M/338M [00:09<00:18, 14.0MiB/s] 27%|βββββββββββ | 90.7M/338M [00:09<00:18, 14.1MiB/s] 27%|βββββββββββ | 92.1M/338M [00:09<00:17, 14.3MiB/s] 28%|βββββββββββ | 93.6M/338M [00:09<00:17, 14.6MiB/s] 28%|βββββββββββ | 95.0M/338M [00:10<00:17, 14.8MiB/s] 29%|βββββββββββ | 96.6M/338M [00:10<00:16, 15.1MiB/s] 29%|βββββββββββ | 98.0M/338M [00:10<00:16, 15.2MiB/s] 29%|ββββββββββββ | 99.6M/338M [00:10<00:16, 15.4MiB/s] 30%|ββββββββββββ | 101M/338M [00:10<00:15, 15.7MiB/s] 30%|ββββββββββββ | 103M/338M [00:10<00:15, 16.0MiB/s] 31%|ββββββββββββ | 104M/338M [00:10<00:15, 16.1MiB/s] 31%|βββββββββββββ | 106M/338M [00:10<00:14, 16.5MiB/s] 32%|βββββββββββββ | 108M/338M [00:10<00:14, 16.5MiB/s] 32%|βββββββββββββ | 109M/338M [00:10<00:14, 17.0MiB/s] 33%|βββββββββββββ | 111M/338M [00:11<00:13, 17.0MiB/s] 33%|βββββββββββββ | 113M/338M [00:11<00:13, 17.2MiB/s] 34%|ββββββββββββββ | 115M/338M [00:11<00:13, 17.8MiB/s] 34%|ββββββββββββββ | 116M/338M [00:11<00:12, 17.9MiB/s] 35%|ββββββββββββββ | 118M/338M [00:11<00:12, 18.4MiB/s] 36%|ββββββββββββββ | 120M/338M [00:11<00:12, 18.6MiB/s] 36%|ββββββββββββββ | 122M/338M [00:11<00:12, 18.7MiB/s] 37%|βββββββββββββββ | 124M/338M [00:11<00:11, 19.3MiB/s] 37%|βββββββββββββββ | 126M/338M [00:11<00:11, 19.4MiB/s] 38%|βββββββββββββββ | 128M/338M [00:11<00:11, 19.6MiB/s] 38%|βββββββββββββββ | 130M/338M [00:12<00:10, 20.1MiB/s] 39%|ββββββββββββββββ | 132M/338M [00:12<00:10, 20.3MiB/s] 40%|ββββββββββββββββ | 134M/338M [00:12<00:10, 20.6MiB/s] 40%|ββββββββββββββββ | 136M/338M [00:12<00:10, 20.8MiB/s] 41%|ββββββββββββββββ | 138M/338M [00:12<00:09, 21.6MiB/s] 41%|βββββββββββββββββ | 140M/338M [00:12<00:09, 21.6MiB/s] 42%|βββββββββββββββββ | 142M/338M [00:12<00:09, 21.7MiB/s] 43%|βββββββββββββββββ | 144M/338M [00:12<00:09, 21.8MiB/s] 43%|βββββββββββββββββ | 147M/338M [00:12<00:08, 22.5MiB/s] 44%|ββββββββββββββββββ | 149M/338M [00:12<00:08, 22.8MiB/s] 45%|ββββββββββββββββββ | 151M/338M [00:13<00:08, 23.2MiB/s] 45%|ββββββββββββββββββ | 154M/338M [00:13<00:08, 23.6MiB/s] 46%|ββββββββββββββββββ | 156M/338M [00:13<00:07, 24.2MiB/s] 47%|βββββββββββββββββββ | 158M/338M [00:13<00:07, 24.6MiB/s] 48%|βββββββββββββββββββ | 161M/338M [00:13<00:07, 24.9MiB/s] 48%|βββββββββββββββββββ | 164M/338M [00:13<00:07, 25.8MiB/s] 49%|ββββββββββββββββββββ | 166M/338M [00:13<00:06, 25.9MiB/s] 50%|ββββββββββββββββββββ | 169M/338M [00:13<00:06, 26.3MiB/s] 51%|ββββββββββββββββββββ | 171M/338M [00:13<00:06, 27.1MiB/s] 52%|ββββββββββββββββββββ | 174M/338M [00:13<00:06, 27.2MiB/s] 52%|βββββββββββββββββββββ | 177M/338M [00:14<00:06, 27.8MiB/s] 53%|βββββββββββββββββββββ | 180M/338M [00:14<00:05, 27.9MiB/s] 54%|βββββββββββββββββββββ | 182M/338M [00:14<00:05, 28.2MiB/s] 55%|ββββββββββββββββββββββ | 185M/338M [00:14<00:05, 29.3MiB/s] 56%|ββββββββββββββββββββββ | 188M/338M [00:14<00:05, 29.4MiB/s] 57%|ββββββββββββββββββββββ | 191M/338M [00:14<00:05, 30.3MiB/s] 58%|βββββββββββββββββββββββ | 194M/338M [00:14<00:04, 30.5MiB/s] 58%|βββββββββββββββββββββββ | 197M/338M [00:14<00:04, 30.8MiB/s] 59%|ββββββββββββββββββββββββ | 201M/338M [00:14<00:04, 31.7MiB/s] 60%|ββββββββββββββββββββββββ | 204M/338M [00:15<00:04, 31.9MiB/s] 61%|ββββββββββββββββββββββββ | 207M/338M [00:15<00:04, 32.2MiB/s] 62%|βββββββββββββββββββββββββ | 210M/338M [00:15<00:04, 33.3MiB/s] 63%|βββββββββββββββββββββββββ | 214M/338M [00:15<00:03, 33.5MiB/s] 64%|βββββββββββββββββββββββββ | 217M/338M [00:15<00:03, 34.6MiB/s] 65%|ββββββββββββββββββββββββββ | 220M/338M [00:15<00:03, 34.7MiB/s] 66%|ββββββββββββββββββββββββββ | 224M/338M [00:15<00:03, 35.0MiB/s] 67%|βββββββββββββββββββββββββββ | 227M/338M [00:15<00:03, 35.1MiB/s] 68%|βββββββββββββββββββββββββββ | 231M/338M [00:15<00:03, 36.5MiB/s] 70%|βββββββββββββββββββββββββββ | 235M/338M [00:15<00:02, 36.7MiB/s] 71%|ββββββββββββββββββββββββββββ | 238M/338M [00:16<00:02, 37.1MiB/s] 72%|ββββββββββββββββββββββββββββ | 242M/338M [00:16<00:02, 38.1MiB/s] 73%|βββββββββββββββββββββββββββββ | 246M/338M [00:16<00:02, 38.2MiB/s] 74%|βββββββββββββββββββββββββββββ | 250M/338M [00:16<00:02, 39.5MiB/s] 75%|ββββββββββββββββββββββββββββββ | 254M/338M [00:16<00:02, 39.9MiB/s] 76%|ββββββββββββββββββββββββββββββ | 258M/338M [00:16<00:02, 40.3MiB/s] 78%|βββββββββββββββββββββββββββββββ | 262M/338M [00:16<00:01, 41.3MiB/s] 79%|βββββββββββββββββββββββββββββββ | 266M/338M [00:16<00:01, 41.6MiB/s] 80%|ββββββββββββββββββββββββββββββββ | 270M/338M [00:16<00:01, 42.1MiB/s] 81%|ββββββββββββββββββββββββββββββββ | 275M/338M [00:16<00:01, 43.3MiB/s] 83%|βββββββββββββββββββββββββββββββββ | 279M/338M [00:17<00:01, 43.7MiB/s] 84%|βββββββββββββββββββββββββββββββββ | 283M/338M [00:17<00:01, 44.5MiB/s] 85%|ββββββββββββββββββββββββββββββββββ | 288M/338M [00:17<00:01, 45.3MiB/s] 87%|ββββββββββββββββββββββββββββββββββ | 292M/338M [00:17<00:01, 45.7MiB/s] 88%|βββββββββββββββββββββββββββββββββββ | 297M/338M [00:17<00:00, 47.0MiB/s] 89%|βββββββββββββββββββββββββββββββββββ | 302M/338M [00:17<00:00, 47.2MiB/s] 91%|ββββββββββββββββββββββββββββββββββββ | 306M/338M [00:17<00:00, 47.8MiB/s] 92%|ββββββββββββββββββββββββββββββββββββ | 311M/338M [00:17<00:00, 49.1MiB/s] 94%|βββββββββββββββββββββββββββββββββββββ | 316M/338M [00:17<00:00, 49.4MiB/s] 95%|βββββββββββββββββββββββββββββββββββββ | 321M/338M [00:17<00:00, 50.1MiB/s] 97%|ββββββββββββββββββββββββββββββββββββββ | 326M/338M [00:18<00:00, 51.3MiB/s] 98%|βββββββββββββββββββββββββββββββββββββββ| 331M/338M [00:18<00:00, 51.8MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 337M/338M [00:18<00:00, 52.7MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:18<00:00, 19.4MiB/s] The `device` argument is deprecated and will be removed in v5 of Transformers. None of the inputs have requires_grad=True. Gradients will be None
Prediction
remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79ID344gjmntzsrj20cjx8rak8mar0StatusSucceededSourceAPIHardwareA100 (80GB)Total durationCreatedInput
{ "IMAGE": "https://replicate.delivery/pbxt/LtoRE6rOGeZSwwOdj9NqArgIJw1SyGehHydpwKGuwoDBKl1k/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoRDznJ0fuEAwcdwnoDWlfVmInIgdgAXdxxKyDxQqMXnukk/126.png" }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", { input: { IMAGE: "https://replicate.delivery/pbxt/LtoRE6rOGeZSwwOdj9NqArgIJw1SyGehHydpwKGuwoDBKl1k/DEMO.jpg", target: "couch", STYLE_IMAGE: "https://replicate.delivery/pbxt/LtoRDznJ0fuEAwcdwnoDWlfVmInIgdgAXdxxKyDxQqMXnukk/126.png" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", input={ "IMAGE": "https://replicate.delivery/pbxt/LtoRE6rOGeZSwwOdj9NqArgIJw1SyGehHydpwKGuwoDBKl1k/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoRDznJ0fuEAwcdwnoDWlfVmInIgdgAXdxxKyDxQqMXnukk/126.png" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtoRE6rOGeZSwwOdj9NqArgIJw1SyGehHydpwKGuwoDBKl1k/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoRDznJ0fuEAwcdwnoDWlfVmInIgdgAXdxxKyDxQqMXnukk/126.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-02T00:08:48.830118Z", "created_at": "2024-11-02T00:05:15.134000Z", "data_removed": false, "error": null, "id": "344gjmntzsrj20cjx8rak8mar0", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtoRE6rOGeZSwwOdj9NqArgIJw1SyGehHydpwKGuwoDBKl1k/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoRDznJ0fuEAwcdwnoDWlfVmInIgdgAXdxxKyDxQqMXnukk/126.png" }, "logs": "trying to load grounding dino directly\ndownloading dino model weights\nfinal text_encoder_type: bert-base-uncased\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13)\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\nCollecting git+https://github.com/openai/CLIP.git\nCloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-cq6p85g1\nRunning command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-cq6p85g1\nResolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1\nPreparing metadata (setup.py): started\nPreparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1)\nRequirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6)\nRequirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118)\nRequirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13)\nRequirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0)\nRequirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2)\nRequirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2)\nRequirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3)\nRequirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4)\nRequirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0)\nRequirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3)\nRequirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8)\nRequirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4)\nRequirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0)\nRequirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5)\nRequirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2)\nRequirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3)\nRequirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30)\nRequirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0)\nBuilding wheels for collected packages: clip\nBuilding wheel for clip (setup.py): started\nBuilding wheel for clip (setup.py): finished with status 'done'\nCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=56c39e3cf4fd790d25578ea9f7d954ef6569e5a50ad114188110c2ff0eec3ae1\nStored in directory: /tmp/pip-ephem-wheel-cache-6q5p6_ck/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a\nSuccessfully built clip\nInstalling collected packages: clip\nSuccessfully installed clip-1.0\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\n 0%| | 0.00/338M [00:00<?, ?iB/s]\n 0%| | 80.0k/338M [00:00<08:50, 667kiB/s]\n 0%| | 240k/338M [00:00<05:01, 1.18MiB/s]\n 0%| | 400k/338M [00:00<04:24, 1.34MiB/s]\n 0%| | 576k/338M [00:00<03:57, 1.49MiB/s]\n 0%| | 784k/338M [00:00<03:33, 1.66MiB/s]\n 0%| | 992k/338M [00:00<03:16, 1.80MiB/s]\n 0%|β | 1.19M/338M [00:00<03:02, 1.94MiB/s]\n 0%|β | 1.42M/338M [00:00<02:48, 2.09MiB/s]\n 0%|β | 1.69M/338M [00:00<02:36, 2.24MiB/s]\n 1%|β | 1.98M/338M [00:01<02:22, 2.46MiB/s]\n 1%|β | 2.28M/338M [00:01<02:12, 2.65MiB/s]\n 1%|β | 2.61M/338M [00:01<02:02, 2.87MiB/s]\n 1%|β | 2.97M/338M [00:01<01:52, 3.12MiB/s]\n 1%|β | 3.34M/338M [00:01<01:44, 3.36MiB/s]\n 1%|β | 3.77M/338M [00:01<01:35, 3.65MiB/s]\n 1%|β | 4.17M/338M [00:01<01:31, 3.83MiB/s]\n 1%|β | 4.61M/338M [00:01<01:26, 4.02MiB/s]\n 1%|β | 5.05M/338M [00:01<01:23, 4.18MiB/s]\n 2%|β | 5.47M/338M [00:01<01:22, 4.23MiB/s]\n 2%|β | 5.91M/338M [00:02<01:20, 4.30MiB/s]\n 2%|β | 6.34M/338M [00:02<01:19, 4.38MiB/s]\n 2%|β | 6.78M/338M [00:02<01:18, 4.41MiB/s]\n 2%|β | 7.22M/338M [00:02<01:18, 4.43MiB/s]\n 2%|β | 7.66M/338M [00:02<01:17, 4.48MiB/s]\n 2%|β | 8.11M/338M [00:02<01:16, 4.52MiB/s]\n 3%|β | 8.56M/338M [00:02<01:16, 4.53MiB/s]\n 3%|β | 9.02M/338M [00:02<01:15, 4.56MiB/s]\n 3%|β | 9.47M/338M [00:02<01:15, 4.59MiB/s]\n 3%|β | 9.92M/338M [00:03<01:15, 4.56MiB/s]\n 3%|ββ | 10.4M/338M [00:03<01:14, 4.64MiB/s]\n 3%|ββ | 10.8M/338M [00:03<01:14, 4.60MiB/s]\n 3%|ββ | 11.3M/338M [00:03<01:13, 4.63MiB/s]\n 3%|ββ | 11.8M/338M [00:03<01:12, 4.69MiB/s]\n 4%|ββ | 12.2M/338M [00:03<01:43, 3.30MiB/s]\n 4%|ββ | 12.8M/338M [00:03<01:37, 3.50MiB/s]\n 4%|ββ | 13.1M/338M [00:04<02:20, 2.43MiB/s]\n 4%|ββ | 13.4M/338M [00:04<03:03, 1.85MiB/s]\n 4%|ββ | 13.7M/338M [00:04<03:44, 1.52MiB/s]\n 4%|ββ | 13.9M/338M [00:04<04:17, 1.32MiB/s]\n 4%|ββ | 14.0M/338M [00:05<04:33, 1.24MiB/s]\n 4%|ββ | 14.2M/338M [00:05<04:47, 1.18MiB/s]\n 4%|ββ | 14.3M/338M [00:05<04:57, 1.14MiB/s]\n 4%|ββ | 14.4M/338M [00:05<05:08, 1.10MiB/s]\n 4%|ββ | 14.5M/338M [00:05<05:16, 1.07MiB/s]\n 4%|ββ | 14.6M/338M [00:05<05:14, 1.08MiB/s]\n 4%|ββ | 14.8M/338M [00:05<05:14, 1.08MiB/s]\n 4%|ββ | 14.9M/338M [00:05<05:13, 1.08MiB/s]\n 4%|ββ | 15.0M/338M [00:06<05:12, 1.08MiB/s]\n 4%|ββ | 15.1M/338M [00:06<05:05, 1.11MiB/s]\n 5%|ββ | 15.2M/338M [00:06<04:58, 1.13MiB/s]\n 5%|ββ | 15.3M/338M [00:06<04:55, 1.14MiB/s]\n 5%|ββ | 15.5M/338M [00:06<04:52, 1.15MiB/s]\n 5%|ββ | 15.6M/338M [00:06<04:44, 1.19MiB/s]\n 5%|ββ | 15.7M/338M [00:06<04:43, 1.19MiB/s]\n 5%|ββ | 15.8M/338M [00:06<04:38, 1.21MiB/s]\n 5%|ββ | 16.0M/338M [00:06<04:31, 1.24MiB/s]\n 5%|ββ | 16.1M/338M [00:07<04:20, 1.29MiB/s]\n 5%|ββ | 16.3M/338M [00:07<04:20, 1.29MiB/s]\n 5%|ββ | 16.4M/338M [00:07<04:18, 1.30MiB/s]\n 5%|ββ | 16.5M/338M [00:07<04:18, 1.30MiB/s]\n 5%|ββ | 16.7M/338M [00:07<04:15, 1.32MiB/s]\n 5%|ββ | 16.8M/338M [00:07<04:12, 1.33MiB/s]\n 5%|ββ | 16.9M/338M [00:07<04:10, 1.34MiB/s]\n 5%|ββ | 17.1M/338M [00:07<04:06, 1.36MiB/s]\n 5%|ββ | 17.2M/338M [00:07<04:01, 1.39MiB/s]\n 5%|ββ | 17.4M/338M [00:08<03:52, 1.44MiB/s]\n 5%|ββ | 17.5M/338M [00:08<03:52, 1.44MiB/s]\n 5%|ββ | 17.7M/338M [00:08<03:48, 1.47MiB/s]\n 5%|ββ | 17.8M/338M [00:08<03:42, 1.51MiB/s]\n 5%|ββ | 18.0M/338M [00:08<03:39, 1.53MiB/s]\n 5%|ββ | 18.1M/338M [00:08<03:38, 1.54MiB/s]\n 5%|ββ | 18.3M/338M [00:08<03:33, 1.57MiB/s]\n 5%|ββ | 18.5M/338M [00:08<03:29, 1.60MiB/s]\n 6%|ββ | 18.6M/338M [00:08<03:28, 1.61MiB/s]\n 6%|ββ | 18.8M/338M [00:08<03:25, 1.63MiB/s]\n 6%|βββ | 19.0M/338M [00:09<03:21, 1.66MiB/s]\n 6%|βββ | 19.2M/338M [00:09<03:20, 1.67MiB/s]\n 6%|βββ | 19.3M/338M [00:09<03:20, 1.67MiB/s]\n 6%|βββ | 19.5M/338M [00:09<03:21, 1.66MiB/s]\n 6%|βββ | 19.7M/338M [00:09<03:19, 1.67MiB/s]\n 6%|βββ | 19.9M/338M [00:09<03:11, 1.74MiB/s]\n 6%|βββ | 20.0M/338M [00:09<03:11, 1.74MiB/s]\n 6%|βββ | 20.2M/338M [00:09<03:09, 1.75MiB/s]\n 6%|βββ | 20.4M/338M [00:09<03:04, 1.80MiB/s]\n 6%|βββ | 20.6M/338M [00:09<03:01, 1.83MiB/s]\n 6%|βββ | 20.8M/338M [00:10<03:00, 1.84MiB/s]\n 6%|βββ | 20.9M/338M [00:10<02:57, 1.87MiB/s]\n 6%|βββ | 21.1M/338M [00:10<02:55, 1.89MiB/s]\n 6%|βββ | 21.3M/338M [00:10<02:53, 1.91MiB/s]\n 6%|βββ | 21.5M/338M [00:10<02:51, 1.93MiB/s]\n 6%|βββ | 21.7M/338M [00:10<02:51, 1.94MiB/s]\n 6%|βββ | 21.9M/338M [00:10<02:48, 1.97MiB/s]\n 7%|βββ | 22.1M/338M [00:10<02:46, 1.99MiB/s]\n 7%|βββ | 22.3M/338M [00:10<02:45, 1.99MiB/s]\n 7%|βββ | 22.5M/338M [00:11<02:42, 2.03MiB/s]\n 7%|βββ | 22.7M/338M [00:11<02:41, 2.05MiB/s]\n 7%|βββ | 22.9M/338M [00:11<02:39, 2.07MiB/s]\n 7%|βββ | 23.1M/338M [00:11<02:38, 2.08MiB/s]\n 7%|βββ | 23.3M/338M [00:11<02:37, 2.09MiB/s]\n 7%|βββ | 23.6M/338M [00:11<02:34, 2.14MiB/s]\n 7%|βββ | 23.8M/338M [00:11<02:32, 2.15MiB/s]\n 7%|βββ | 24.0M/338M [00:11<02:31, 2.17MiB/s]\n 7%|βββ | 24.2M/338M [00:11<02:30, 2.18MiB/s]\n 7%|βββ | 24.4M/338M [00:11<02:30, 2.18MiB/s]\n 7%|βββ | 24.6M/338M [00:12<02:27, 2.23MiB/s]\n 7%|βββ | 24.9M/338M [00:12<02:26, 2.24MiB/s]\n 7%|βββ | 25.1M/338M [00:12<02:25, 2.26MiB/s]\n 8%|βββ | 25.3M/338M [00:12<02:22, 2.29MiB/s]\n 8%|βββ | 25.6M/338M [00:12<02:18, 2.37MiB/s]\n 8%|βββ | 25.8M/338M [00:12<02:14, 2.42MiB/s]\n 8%|βββ | 26.1M/338M [00:12<02:12, 2.46MiB/s]\n 8%|βββ | 26.3M/338M [00:12<02:07, 2.55MiB/s]\n 8%|βββ | 26.6M/338M [00:12<02:06, 2.58MiB/s]\n 8%|βββ | 26.9M/338M [00:12<02:01, 2.67MiB/s]\n 8%|βββ | 27.2M/338M [00:13<01:58, 2.74MiB/s]\n 8%|βββ | 27.5M/338M [00:13<01:53, 2.87MiB/s]\n 8%|ββββ | 27.8M/338M [00:13<01:48, 2.99MiB/s]\n 8%|ββββ | 28.1M/338M [00:13<01:44, 3.09MiB/s]\n 8%|ββββ | 28.4M/338M [00:13<01:43, 3.15MiB/s]\n 9%|ββββ | 28.8M/338M [00:13<01:39, 3.24MiB/s]\n 9%|ββββ | 29.2M/338M [00:13<01:35, 3.39MiB/s]\n 9%|ββββ | 29.6M/338M [00:13<01:30, 3.56MiB/s]\n 9%|ββββ | 29.9M/338M [00:13<01:28, 3.66MiB/s]\n 9%|ββββ | 30.4M/338M [00:14<01:24, 3.83MiB/s]\n 9%|ββββ | 30.8M/338M [00:14<01:21, 3.95MiB/s]\n 9%|ββββ | 31.2M/338M [00:14<01:18, 4.09MiB/s]\n 9%|ββββ | 31.7M/338M [00:14<01:15, 4.25MiB/s]\n 10%|ββββ | 32.1M/338M [00:14<01:13, 4.38MiB/s]\n 10%|ββββ | 32.6M/338M [00:14<01:11, 4.48MiB/s]\n 10%|ββββ | 33.0M/338M [00:14<01:12, 4.42MiB/s]\n 10%|ββββ | 33.5M/338M [00:14<01:09, 4.58MiB/s]\n 10%|ββββ | 34.0M/338M [00:14<01:06, 4.82MiB/s]\n 10%|ββββ | 34.5M/338M [00:14<01:03, 5.01MiB/s]\n 10%|ββββ | 35.1M/338M [00:15<01:00, 5.24MiB/s]\n 11%|ββββ | 35.7M/338M [00:15<00:57, 5.47MiB/s]\n 11%|ββββ | 36.3M/338M [00:15<00:56, 5.61MiB/s]\n 11%|βββββ | 36.9M/338M [00:15<00:53, 5.84MiB/s]\n 11%|βββββ | 37.5M/338M [00:15<00:52, 6.03MiB/s]\n 11%|βββββ | 38.2M/338M [00:15<00:50, 6.22MiB/s]\n 12%|βββββ | 38.8M/338M [00:15<00:48, 6.46MiB/s]\n 12%|βββββ | 39.5M/338M [00:15<00:47, 6.58MiB/s]\n 12%|βββββ | 40.2M/338M [00:15<00:45, 6.81MiB/s]\n 12%|βββββ | 40.9M/338M [00:15<00:45, 6.85MiB/s]\n 12%|βββββ | 41.5M/338M [00:16<00:45, 6.82MiB/s]\n 13%|βββββ | 42.3M/338M [00:16<00:43, 7.18MiB/s]\n 13%|βββββ | 43.0M/338M [00:16<00:42, 7.22MiB/s]\n 13%|βββββ | 43.8M/338M [00:16<00:40, 7.65MiB/s]\n 13%|βββββ | 44.6M/338M [00:16<00:38, 7.90MiB/s]\n 13%|ββββββ | 45.5M/338M [00:16<00:36, 8.32MiB/s]\n 14%|ββββββ | 46.4M/338M [00:16<00:36, 8.41MiB/s]\n 14%|ββββββ | 47.3M/338M [00:16<00:34, 8.73MiB/s]\n 14%|ββββββ | 48.2M/338M [00:16<00:33, 9.09MiB/s]\n 15%|ββββββ | 49.2M/338M [00:16<00:32, 9.33MiB/s]\n 15%|ββββββ | 50.2M/338M [00:17<00:31, 9.60MiB/s]\n 15%|ββββββ | 51.2M/338M [00:17<00:30, 9.90MiB/s]\n 15%|ββββββ | 52.3M/338M [00:17<00:29, 10.2MiB/s]\n 16%|ββββββ | 53.3M/338M [00:17<00:28, 10.4MiB/s]\n 16%|βββββββ | 54.4M/338M [00:17<00:27, 10.7MiB/s]\n 16%|βββββββ | 55.6M/338M [00:17<00:26, 11.1MiB/s]\n 17%|βββββββ | 56.7M/338M [00:17<00:25, 11.4MiB/s]\n 17%|βββββββ | 57.9M/338M [00:17<00:25, 11.6MiB/s]\n 18%|βββββββ | 59.1M/338M [00:17<00:24, 11.9MiB/s]\n 18%|βββββββ | 60.4M/338M [00:17<00:23, 12.3MiB/s]\n 18%|βββββββ | 61.7M/338M [00:18<00:23, 12.5MiB/s]\n 19%|βββββββ | 63.0M/338M [00:18<00:22, 12.9MiB/s]\n 19%|ββββββββ | 64.3M/338M [00:18<00:21, 13.2MiB/s]\n 19%|ββββββββ | 65.6M/338M [00:18<00:21, 13.2MiB/s]\n 20%|ββββββββ | 67.1M/338M [00:18<00:20, 13.9MiB/s]\n 20%|ββββββββ | 68.5M/338M [00:18<00:19, 14.1MiB/s]\n 21%|ββββββββ | 70.1M/338M [00:18<00:19, 14.5MiB/s]\n 21%|ββββββββ | 71.6M/338M [00:18<00:18, 15.1MiB/s]\n 22%|βββββββββ | 73.1M/338M [00:18<00:18, 15.3MiB/s]\n 22%|βββββββββ | 74.8M/338M [00:18<00:17, 15.9MiB/s]\n 23%|βββββββββ | 76.4M/338M [00:19<00:16, 16.1MiB/s]\n 23%|βββββββββ | 78.0M/338M [00:19<00:16, 16.3MiB/s]\n 24%|βββββββββ | 79.8M/338M [00:19<00:15, 16.9MiB/s]\n 24%|ββββββββββ | 81.5M/338M [00:19<00:15, 17.4MiB/s]\n 25%|ββββββββββ | 83.3M/338M [00:19<00:15, 17.6MiB/s]\n 25%|ββββββββββ | 85.2M/338M [00:19<00:14, 18.3MiB/s]\n 26%|ββββββββββ | 87.0M/338M [00:19<00:14, 18.5MiB/s]\n 26%|ββββββββββ | 88.9M/338M [00:19<00:13, 18.9MiB/s]\n 27%|βββββββββββ | 90.9M/338M [00:19<00:13, 19.5MiB/s]\n 27%|βββββββββββ | 92.8M/338M [00:19<00:13, 19.4MiB/s]\n 28%|βββββββββββ | 94.8M/338M [00:20<00:12, 20.1MiB/s]\n 29%|βββββββββββ | 96.8M/338M [00:20<00:12, 20.3MiB/s]\n 29%|ββββββββββββ | 99.0M/338M [00:20<00:11, 21.0MiB/s]\n 30%|ββββββββββββ | 101M/338M [00:20<00:11, 21.6MiB/s]\n 31%|ββββββββββββ | 103M/338M [00:20<00:11, 21.9MiB/s]\n 31%|βββββββββββββ | 106M/338M [00:20<00:10, 22.8MiB/s]\n 32%|βββββββββββββ | 108M/338M [00:20<00:10, 23.1MiB/s]\n 33%|βββββββββββββ | 110M/338M [00:20<00:10, 23.5MiB/s]\n 33%|βββββββββββββ | 113M/338M [00:20<00:09, 24.3MiB/s]\n 34%|ββββββββββββββ | 115M/338M [00:20<00:09, 24.6MiB/s]\n 35%|ββββββββββββββ | 118M/338M [00:21<00:09, 25.3MiB/s]\n 36%|ββββββββββββββ | 121M/338M [00:21<00:08, 25.7MiB/s]\n 36%|βββββββββββββββ | 123M/338M [00:21<00:08, 26.0MiB/s]\n 37%|βββββββββββββββ | 126M/338M [00:21<00:08, 26.7MiB/s]\n 38%|βββββββββββββββ | 128M/338M [00:21<00:08, 27.1MiB/s]\n 39%|ββββββββββββββββ | 131M/338M [00:21<00:07, 28.0MiB/s]\n 40%|ββββββββββββββββ | 134M/338M [00:21<00:07, 28.5MiB/s]\n 41%|ββββββββββββββββ | 137M/338M [00:21<00:07, 28.9MiB/s]\n 42%|βββββββββββββββββ | 140M/338M [00:21<00:06, 29.9MiB/s]\n 42%|βββββββββββββββββ | 143M/338M [00:21<00:06, 30.1MiB/s]\n 43%|βββββββββββββββββ | 146M/338M [00:22<00:06, 30.9MiB/s]\n 44%|ββββββββββββββββββ | 149M/338M [00:22<00:06, 31.6MiB/s]\n 45%|ββββββββββββββββββ | 152M/338M [00:22<00:06, 31.0MiB/s]\n 46%|ββββββββββββββββββ | 156M/338M [00:22<00:05, 32.4MiB/s]\n 47%|βββββββββββββββββββ | 159M/338M [00:22<00:05, 32.7MiB/s]\n 48%|βββββββββββββββββββ | 163M/338M [00:22<00:05, 34.0MiB/s]\n 49%|ββββββββββββββββββββ | 166M/338M [00:22<00:05, 34.4MiB/s]\n 50%|ββββββββββββββββββββ | 169M/338M [00:22<00:05, 34.9MiB/s]\n 51%|ββββββββββββββββββββ | 173M/338M [00:22<00:04, 36.2MiB/s]\n 52%|βββββββββββββββββββββ | 177M/338M [00:23<00:04, 36.6MiB/s]\n 53%|βββββββββββββββββββββ | 180M/338M [00:23<00:04, 37.2MiB/s]\n 55%|ββββββββββββββββββββββ | 184M/338M [00:23<00:04, 38.0MiB/s]\n 56%|ββββββββββββββββββββββ | 188M/338M [00:23<00:04, 38.5MiB/s]\n 57%|βββββββββββββββββββββββ | 192M/338M [00:23<00:03, 40.0MiB/s]\n 58%|βββββββββββββββββββββββ | 196M/338M [00:23<00:03, 40.1MiB/s]\n 59%|βββββββββββββββββββββββ | 200M/338M [00:23<00:03, 40.4MiB/s]\n 61%|ββββββββββββββββββββββββ | 204M/338M [00:23<00:03, 42.1MiB/s]\n 62%|ββββββββββββββββββββββββ | 209M/338M [00:23<00:03, 42.3MiB/s]\n 63%|βββββββββββββββββββββββββ | 213M/338M [00:23<00:03, 43.3MiB/s]\n 64%|βββββββββββββββββββββββββ | 217M/338M [00:24<00:02, 42.5MiB/s]\n 66%|ββββββββββββββββββββββββββ | 221M/338M [00:24<00:02, 43.6MiB/s]\n 67%|ββββββββββββββββββββββββββ | 226M/338M [00:24<00:02, 44.2MiB/s]\n 68%|βββββββββββββββββββββββββββ | 230M/338M [00:24<00:02, 45.4MiB/s]\n 70%|ββββββββββββββββββββββββββββ | 235M/338M [00:24<00:02, 46.5MiB/s]\n 71%|ββββββββββββββββββββββββββββ | 240M/338M [00:24<00:02, 48.0MiB/s]\n 72%|βββββββββββββββββββββββββββββ | 245M/338M [00:24<00:02, 48.2MiB/s]\n 74%|βββββββββββββββββββββββββββββ | 250M/338M [00:24<00:01, 49.6MiB/s]\n 75%|ββββββββββββββββββββββββββββββ | 255M/338M [00:24<00:01, 50.2MiB/s]\n 77%|ββββββββββββββββββββββββββββββ | 260M/338M [00:24<00:01, 51.2MiB/s]\n 78%|βββββββββββββββββββββββββββββββ | 265M/338M [00:25<00:01, 51.9MiB/s]\n 80%|ββββββββββββββββββββββββββββββββ | 270M/338M [00:25<00:01, 52.1MiB/s]\n 82%|ββββββββββββββββββββββββββββββββ | 276M/338M [00:25<00:01, 54.1MiB/s]\n 83%|βββββββββββββββββββββββββββββββββ | 281M/338M [00:25<00:01, 54.0MiB/s]\n 85%|βββββββββββββββββββββββββββββββββ | 286M/338M [00:25<00:01, 53.9MiB/s]\n 86%|ββββββββββββββββββββββββββββββββββ | 292M/338M [00:25<00:00, 54.5MiB/s]\n 88%|βββββββββββββββββββββββββββββββββββ | 297M/338M [00:25<00:00, 55.6MiB/s]\n 90%|βββββββββββββββββββββββββββββββββββ | 303M/338M [00:25<00:00, 56.2MiB/s]\n 91%|ββββββββββββββββββββββββββββββββββββ | 308M/338M [00:25<00:00, 57.0MiB/s]\n 93%|βββββββββββββββββββββββββββββββββββββ | 314M/338M [00:25<00:00, 58.1MiB/s]\n 95%|βββββββββββββββββββββββββββββββββββββ | 320M/338M [00:26<00:00, 59.1MiB/s]\n 97%|ββββββββββββββββββββββββββββββββββββββ | 327M/338M [00:26<00:00, 61.6MiB/s]\n 99%|βββββββββββββββββββββββββββββββββββββββ| 333M/338M [00:26<00:00, 62.2MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:26<00:00, 13.5MiB/s]\nThe `device` argument is deprecated and will be removed in v5 of Transformers.\nNone of the inputs have requires_grad=True. Gradients will be None", "metrics": { "predict_time": 158.311426047, "total_time": 213.696118 }, "output": "https://replicate.delivery/yhqm/fGRl10olcyWREKytA6S0YV0Lx9nd5tzNIw2gS5z9FpQIfxsTA/image_another_color_annotate.jpg", "started_at": "2024-11-02T00:06:10.518692Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-yvdejrpemjicdw375mihbkefpewfvbncyhoo2j7jklof4vwq4iyq", "get": "https://api.replicate.com/v1/predictions/344gjmntzsrj20cjx8rak8mar0", "cancel": "https://api.replicate.com/v1/predictions/344gjmntzsrj20cjx8rak8mar0/cancel" }, "version": "c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79" }
Generated intrying to load grounding dino directly downloading dino model weights final text_encoder_type: bert-base-uncased Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13) 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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip Collecting git+https://github.com/openai/CLIP.git Cloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-cq6p85g1 Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-cq6p85g1 Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1) Requirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6) Requirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118) Requirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13) Requirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0) Requirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2) Requirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2) Requirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3) Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4) Requirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0) Requirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3) Requirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8) Requirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4) Requirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0) Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0) Building wheels for collected packages: clip Building wheel for clip (setup.py): started Building wheel for clip (setup.py): finished with status 'done' Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=56c39e3cf4fd790d25578ea9f7d954ef6569e5a50ad114188110c2ff0eec3ae1 Stored in directory: /tmp/pip-ephem-wheel-cache-6q5p6_ck/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a Successfully built clip Installing collected packages: clip Successfully installed clip-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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 0%| | 0.00/338M [00:00<?, ?iB/s] 0%| | 80.0k/338M [00:00<08:50, 667kiB/s] 0%| | 240k/338M [00:00<05:01, 1.18MiB/s] 0%| | 400k/338M [00:00<04:24, 1.34MiB/s] 0%| | 576k/338M [00:00<03:57, 1.49MiB/s] 0%| | 784k/338M [00:00<03:33, 1.66MiB/s] 0%| | 992k/338M [00:00<03:16, 1.80MiB/s] 0%|β | 1.19M/338M [00:00<03:02, 1.94MiB/s] 0%|β | 1.42M/338M [00:00<02:48, 2.09MiB/s] 0%|β | 1.69M/338M [00:00<02:36, 2.24MiB/s] 1%|β | 1.98M/338M [00:01<02:22, 2.46MiB/s] 1%|β | 2.28M/338M [00:01<02:12, 2.65MiB/s] 1%|β | 2.61M/338M [00:01<02:02, 2.87MiB/s] 1%|β | 2.97M/338M [00:01<01:52, 3.12MiB/s] 1%|β | 3.34M/338M [00:01<01:44, 3.36MiB/s] 1%|β | 3.77M/338M [00:01<01:35, 3.65MiB/s] 1%|β | 4.17M/338M [00:01<01:31, 3.83MiB/s] 1%|β | 4.61M/338M [00:01<01:26, 4.02MiB/s] 1%|β | 5.05M/338M [00:01<01:23, 4.18MiB/s] 2%|β | 5.47M/338M [00:01<01:22, 4.23MiB/s] 2%|β | 5.91M/338M [00:02<01:20, 4.30MiB/s] 2%|β | 6.34M/338M [00:02<01:19, 4.38MiB/s] 2%|β | 6.78M/338M [00:02<01:18, 4.41MiB/s] 2%|β | 7.22M/338M [00:02<01:18, 4.43MiB/s] 2%|β | 7.66M/338M [00:02<01:17, 4.48MiB/s] 2%|β | 8.11M/338M [00:02<01:16, 4.52MiB/s] 3%|β | 8.56M/338M [00:02<01:16, 4.53MiB/s] 3%|β | 9.02M/338M [00:02<01:15, 4.56MiB/s] 3%|β | 9.47M/338M [00:02<01:15, 4.59MiB/s] 3%|β | 9.92M/338M [00:03<01:15, 4.56MiB/s] 3%|ββ | 10.4M/338M [00:03<01:14, 4.64MiB/s] 3%|ββ | 10.8M/338M [00:03<01:14, 4.60MiB/s] 3%|ββ | 11.3M/338M [00:03<01:13, 4.63MiB/s] 3%|ββ | 11.8M/338M [00:03<01:12, 4.69MiB/s] 4%|ββ | 12.2M/338M [00:03<01:43, 3.30MiB/s] 4%|ββ | 12.8M/338M [00:03<01:37, 3.50MiB/s] 4%|ββ | 13.1M/338M [00:04<02:20, 2.43MiB/s] 4%|ββ | 13.4M/338M [00:04<03:03, 1.85MiB/s] 4%|ββ | 13.7M/338M [00:04<03:44, 1.52MiB/s] 4%|ββ | 13.9M/338M [00:04<04:17, 1.32MiB/s] 4%|ββ | 14.0M/338M [00:05<04:33, 1.24MiB/s] 4%|ββ | 14.2M/338M [00:05<04:47, 1.18MiB/s] 4%|ββ | 14.3M/338M [00:05<04:57, 1.14MiB/s] 4%|ββ | 14.4M/338M [00:05<05:08, 1.10MiB/s] 4%|ββ | 14.5M/338M [00:05<05:16, 1.07MiB/s] 4%|ββ | 14.6M/338M [00:05<05:14, 1.08MiB/s] 4%|ββ | 14.8M/338M [00:05<05:14, 1.08MiB/s] 4%|ββ | 14.9M/338M [00:05<05:13, 1.08MiB/s] 4%|ββ | 15.0M/338M [00:06<05:12, 1.08MiB/s] 4%|ββ | 15.1M/338M [00:06<05:05, 1.11MiB/s] 5%|ββ | 15.2M/338M [00:06<04:58, 1.13MiB/s] 5%|ββ | 15.3M/338M [00:06<04:55, 1.14MiB/s] 5%|ββ | 15.5M/338M [00:06<04:52, 1.15MiB/s] 5%|ββ | 15.6M/338M [00:06<04:44, 1.19MiB/s] 5%|ββ | 15.7M/338M [00:06<04:43, 1.19MiB/s] 5%|ββ | 15.8M/338M [00:06<04:38, 1.21MiB/s] 5%|ββ | 16.0M/338M [00:06<04:31, 1.24MiB/s] 5%|ββ | 16.1M/338M [00:07<04:20, 1.29MiB/s] 5%|ββ | 16.3M/338M [00:07<04:20, 1.29MiB/s] 5%|ββ | 16.4M/338M [00:07<04:18, 1.30MiB/s] 5%|ββ | 16.5M/338M [00:07<04:18, 1.30MiB/s] 5%|ββ | 16.7M/338M [00:07<04:15, 1.32MiB/s] 5%|ββ | 16.8M/338M [00:07<04:12, 1.33MiB/s] 5%|ββ | 16.9M/338M [00:07<04:10, 1.34MiB/s] 5%|ββ | 17.1M/338M [00:07<04:06, 1.36MiB/s] 5%|ββ | 17.2M/338M [00:07<04:01, 1.39MiB/s] 5%|ββ | 17.4M/338M [00:08<03:52, 1.44MiB/s] 5%|ββ | 17.5M/338M [00:08<03:52, 1.44MiB/s] 5%|ββ | 17.7M/338M [00:08<03:48, 1.47MiB/s] 5%|ββ | 17.8M/338M [00:08<03:42, 1.51MiB/s] 5%|ββ | 18.0M/338M [00:08<03:39, 1.53MiB/s] 5%|ββ | 18.1M/338M [00:08<03:38, 1.54MiB/s] 5%|ββ | 18.3M/338M [00:08<03:33, 1.57MiB/s] 5%|ββ | 18.5M/338M [00:08<03:29, 1.60MiB/s] 6%|ββ | 18.6M/338M [00:08<03:28, 1.61MiB/s] 6%|ββ | 18.8M/338M [00:08<03:25, 1.63MiB/s] 6%|βββ | 19.0M/338M [00:09<03:21, 1.66MiB/s] 6%|βββ | 19.2M/338M [00:09<03:20, 1.67MiB/s] 6%|βββ | 19.3M/338M [00:09<03:20, 1.67MiB/s] 6%|βββ | 19.5M/338M [00:09<03:21, 1.66MiB/s] 6%|βββ | 19.7M/338M [00:09<03:19, 1.67MiB/s] 6%|βββ | 19.9M/338M [00:09<03:11, 1.74MiB/s] 6%|βββ | 20.0M/338M [00:09<03:11, 1.74MiB/s] 6%|βββ | 20.2M/338M [00:09<03:09, 1.75MiB/s] 6%|βββ | 20.4M/338M [00:09<03:04, 1.80MiB/s] 6%|βββ | 20.6M/338M [00:09<03:01, 1.83MiB/s] 6%|βββ | 20.8M/338M [00:10<03:00, 1.84MiB/s] 6%|βββ | 20.9M/338M [00:10<02:57, 1.87MiB/s] 6%|βββ | 21.1M/338M [00:10<02:55, 1.89MiB/s] 6%|βββ | 21.3M/338M [00:10<02:53, 1.91MiB/s] 6%|βββ | 21.5M/338M [00:10<02:51, 1.93MiB/s] 6%|βββ | 21.7M/338M [00:10<02:51, 1.94MiB/s] 6%|βββ | 21.9M/338M [00:10<02:48, 1.97MiB/s] 7%|βββ | 22.1M/338M [00:10<02:46, 1.99MiB/s] 7%|βββ | 22.3M/338M [00:10<02:45, 1.99MiB/s] 7%|βββ | 22.5M/338M [00:11<02:42, 2.03MiB/s] 7%|βββ | 22.7M/338M [00:11<02:41, 2.05MiB/s] 7%|βββ | 22.9M/338M [00:11<02:39, 2.07MiB/s] 7%|βββ | 23.1M/338M [00:11<02:38, 2.08MiB/s] 7%|βββ | 23.3M/338M [00:11<02:37, 2.09MiB/s] 7%|βββ | 23.6M/338M [00:11<02:34, 2.14MiB/s] 7%|βββ | 23.8M/338M [00:11<02:32, 2.15MiB/s] 7%|βββ | 24.0M/338M [00:11<02:31, 2.17MiB/s] 7%|βββ | 24.2M/338M [00:11<02:30, 2.18MiB/s] 7%|βββ | 24.4M/338M [00:11<02:30, 2.18MiB/s] 7%|βββ | 24.6M/338M [00:12<02:27, 2.23MiB/s] 7%|βββ | 24.9M/338M [00:12<02:26, 2.24MiB/s] 7%|βββ | 25.1M/338M [00:12<02:25, 2.26MiB/s] 8%|βββ | 25.3M/338M [00:12<02:22, 2.29MiB/s] 8%|βββ | 25.6M/338M [00:12<02:18, 2.37MiB/s] 8%|βββ | 25.8M/338M [00:12<02:14, 2.42MiB/s] 8%|βββ | 26.1M/338M [00:12<02:12, 2.46MiB/s] 8%|βββ | 26.3M/338M [00:12<02:07, 2.55MiB/s] 8%|βββ | 26.6M/338M [00:12<02:06, 2.58MiB/s] 8%|βββ | 26.9M/338M [00:12<02:01, 2.67MiB/s] 8%|βββ | 27.2M/338M [00:13<01:58, 2.74MiB/s] 8%|βββ | 27.5M/338M [00:13<01:53, 2.87MiB/s] 8%|ββββ | 27.8M/338M [00:13<01:48, 2.99MiB/s] 8%|ββββ | 28.1M/338M [00:13<01:44, 3.09MiB/s] 8%|ββββ | 28.4M/338M [00:13<01:43, 3.15MiB/s] 9%|ββββ | 28.8M/338M [00:13<01:39, 3.24MiB/s] 9%|ββββ | 29.2M/338M [00:13<01:35, 3.39MiB/s] 9%|ββββ | 29.6M/338M [00:13<01:30, 3.56MiB/s] 9%|ββββ | 29.9M/338M [00:13<01:28, 3.66MiB/s] 9%|ββββ | 30.4M/338M [00:14<01:24, 3.83MiB/s] 9%|ββββ | 30.8M/338M [00:14<01:21, 3.95MiB/s] 9%|ββββ | 31.2M/338M [00:14<01:18, 4.09MiB/s] 9%|ββββ | 31.7M/338M [00:14<01:15, 4.25MiB/s] 10%|ββββ | 32.1M/338M [00:14<01:13, 4.38MiB/s] 10%|ββββ | 32.6M/338M [00:14<01:11, 4.48MiB/s] 10%|ββββ | 33.0M/338M [00:14<01:12, 4.42MiB/s] 10%|ββββ | 33.5M/338M [00:14<01:09, 4.58MiB/s] 10%|ββββ | 34.0M/338M [00:14<01:06, 4.82MiB/s] 10%|ββββ | 34.5M/338M [00:14<01:03, 5.01MiB/s] 10%|ββββ | 35.1M/338M [00:15<01:00, 5.24MiB/s] 11%|ββββ | 35.7M/338M [00:15<00:57, 5.47MiB/s] 11%|ββββ | 36.3M/338M [00:15<00:56, 5.61MiB/s] 11%|βββββ | 36.9M/338M [00:15<00:53, 5.84MiB/s] 11%|βββββ | 37.5M/338M [00:15<00:52, 6.03MiB/s] 11%|βββββ | 38.2M/338M [00:15<00:50, 6.22MiB/s] 12%|βββββ | 38.8M/338M [00:15<00:48, 6.46MiB/s] 12%|βββββ | 39.5M/338M [00:15<00:47, 6.58MiB/s] 12%|βββββ | 40.2M/338M [00:15<00:45, 6.81MiB/s] 12%|βββββ | 40.9M/338M [00:15<00:45, 6.85MiB/s] 12%|βββββ | 41.5M/338M [00:16<00:45, 6.82MiB/s] 13%|βββββ | 42.3M/338M [00:16<00:43, 7.18MiB/s] 13%|βββββ | 43.0M/338M [00:16<00:42, 7.22MiB/s] 13%|βββββ | 43.8M/338M [00:16<00:40, 7.65MiB/s] 13%|βββββ | 44.6M/338M [00:16<00:38, 7.90MiB/s] 13%|ββββββ | 45.5M/338M [00:16<00:36, 8.32MiB/s] 14%|ββββββ | 46.4M/338M [00:16<00:36, 8.41MiB/s] 14%|ββββββ | 47.3M/338M [00:16<00:34, 8.73MiB/s] 14%|ββββββ | 48.2M/338M [00:16<00:33, 9.09MiB/s] 15%|ββββββ | 49.2M/338M [00:16<00:32, 9.33MiB/s] 15%|ββββββ | 50.2M/338M [00:17<00:31, 9.60MiB/s] 15%|ββββββ | 51.2M/338M [00:17<00:30, 9.90MiB/s] 15%|ββββββ | 52.3M/338M [00:17<00:29, 10.2MiB/s] 16%|ββββββ | 53.3M/338M [00:17<00:28, 10.4MiB/s] 16%|βββββββ | 54.4M/338M [00:17<00:27, 10.7MiB/s] 16%|βββββββ | 55.6M/338M [00:17<00:26, 11.1MiB/s] 17%|βββββββ | 56.7M/338M [00:17<00:25, 11.4MiB/s] 17%|βββββββ | 57.9M/338M [00:17<00:25, 11.6MiB/s] 18%|βββββββ | 59.1M/338M [00:17<00:24, 11.9MiB/s] 18%|βββββββ | 60.4M/338M [00:17<00:23, 12.3MiB/s] 18%|βββββββ | 61.7M/338M [00:18<00:23, 12.5MiB/s] 19%|βββββββ | 63.0M/338M [00:18<00:22, 12.9MiB/s] 19%|ββββββββ | 64.3M/338M [00:18<00:21, 13.2MiB/s] 19%|ββββββββ | 65.6M/338M [00:18<00:21, 13.2MiB/s] 20%|ββββββββ | 67.1M/338M [00:18<00:20, 13.9MiB/s] 20%|ββββββββ | 68.5M/338M [00:18<00:19, 14.1MiB/s] 21%|ββββββββ | 70.1M/338M [00:18<00:19, 14.5MiB/s] 21%|ββββββββ | 71.6M/338M [00:18<00:18, 15.1MiB/s] 22%|βββββββββ | 73.1M/338M [00:18<00:18, 15.3MiB/s] 22%|βββββββββ | 74.8M/338M [00:18<00:17, 15.9MiB/s] 23%|βββββββββ | 76.4M/338M [00:19<00:16, 16.1MiB/s] 23%|βββββββββ | 78.0M/338M [00:19<00:16, 16.3MiB/s] 24%|βββββββββ | 79.8M/338M [00:19<00:15, 16.9MiB/s] 24%|ββββββββββ | 81.5M/338M [00:19<00:15, 17.4MiB/s] 25%|ββββββββββ | 83.3M/338M [00:19<00:15, 17.6MiB/s] 25%|ββββββββββ | 85.2M/338M [00:19<00:14, 18.3MiB/s] 26%|ββββββββββ | 87.0M/338M [00:19<00:14, 18.5MiB/s] 26%|ββββββββββ | 88.9M/338M [00:19<00:13, 18.9MiB/s] 27%|βββββββββββ | 90.9M/338M [00:19<00:13, 19.5MiB/s] 27%|βββββββββββ | 92.8M/338M [00:19<00:13, 19.4MiB/s] 28%|βββββββββββ | 94.8M/338M [00:20<00:12, 20.1MiB/s] 29%|βββββββββββ | 96.8M/338M [00:20<00:12, 20.3MiB/s] 29%|ββββββββββββ | 99.0M/338M [00:20<00:11, 21.0MiB/s] 30%|ββββββββββββ | 101M/338M [00:20<00:11, 21.6MiB/s] 31%|ββββββββββββ | 103M/338M [00:20<00:11, 21.9MiB/s] 31%|βββββββββββββ | 106M/338M [00:20<00:10, 22.8MiB/s] 32%|βββββββββββββ | 108M/338M [00:20<00:10, 23.1MiB/s] 33%|βββββββββββββ | 110M/338M [00:20<00:10, 23.5MiB/s] 33%|βββββββββββββ | 113M/338M [00:20<00:09, 24.3MiB/s] 34%|ββββββββββββββ | 115M/338M [00:20<00:09, 24.6MiB/s] 35%|ββββββββββββββ | 118M/338M [00:21<00:09, 25.3MiB/s] 36%|ββββββββββββββ | 121M/338M [00:21<00:08, 25.7MiB/s] 36%|βββββββββββββββ | 123M/338M [00:21<00:08, 26.0MiB/s] 37%|βββββββββββββββ | 126M/338M [00:21<00:08, 26.7MiB/s] 38%|βββββββββββββββ | 128M/338M [00:21<00:08, 27.1MiB/s] 39%|ββββββββββββββββ | 131M/338M [00:21<00:07, 28.0MiB/s] 40%|ββββββββββββββββ | 134M/338M [00:21<00:07, 28.5MiB/s] 41%|ββββββββββββββββ | 137M/338M [00:21<00:07, 28.9MiB/s] 42%|βββββββββββββββββ | 140M/338M [00:21<00:06, 29.9MiB/s] 42%|βββββββββββββββββ | 143M/338M [00:21<00:06, 30.1MiB/s] 43%|βββββββββββββββββ | 146M/338M [00:22<00:06, 30.9MiB/s] 44%|ββββββββββββββββββ | 149M/338M [00:22<00:06, 31.6MiB/s] 45%|ββββββββββββββββββ | 152M/338M [00:22<00:06, 31.0MiB/s] 46%|ββββββββββββββββββ | 156M/338M [00:22<00:05, 32.4MiB/s] 47%|βββββββββββββββββββ | 159M/338M [00:22<00:05, 32.7MiB/s] 48%|βββββββββββββββββββ | 163M/338M [00:22<00:05, 34.0MiB/s] 49%|ββββββββββββββββββββ | 166M/338M [00:22<00:05, 34.4MiB/s] 50%|ββββββββββββββββββββ | 169M/338M [00:22<00:05, 34.9MiB/s] 51%|ββββββββββββββββββββ | 173M/338M [00:22<00:04, 36.2MiB/s] 52%|βββββββββββββββββββββ | 177M/338M [00:23<00:04, 36.6MiB/s] 53%|βββββββββββββββββββββ | 180M/338M [00:23<00:04, 37.2MiB/s] 55%|ββββββββββββββββββββββ | 184M/338M [00:23<00:04, 38.0MiB/s] 56%|ββββββββββββββββββββββ | 188M/338M [00:23<00:04, 38.5MiB/s] 57%|βββββββββββββββββββββββ | 192M/338M [00:23<00:03, 40.0MiB/s] 58%|βββββββββββββββββββββββ | 196M/338M [00:23<00:03, 40.1MiB/s] 59%|βββββββββββββββββββββββ | 200M/338M [00:23<00:03, 40.4MiB/s] 61%|ββββββββββββββββββββββββ | 204M/338M [00:23<00:03, 42.1MiB/s] 62%|ββββββββββββββββββββββββ | 209M/338M [00:23<00:03, 42.3MiB/s] 63%|βββββββββββββββββββββββββ | 213M/338M [00:23<00:03, 43.3MiB/s] 64%|βββββββββββββββββββββββββ | 217M/338M [00:24<00:02, 42.5MiB/s] 66%|ββββββββββββββββββββββββββ | 221M/338M [00:24<00:02, 43.6MiB/s] 67%|ββββββββββββββββββββββββββ | 226M/338M [00:24<00:02, 44.2MiB/s] 68%|βββββββββββββββββββββββββββ | 230M/338M [00:24<00:02, 45.4MiB/s] 70%|ββββββββββββββββββββββββββββ | 235M/338M [00:24<00:02, 46.5MiB/s] 71%|ββββββββββββββββββββββββββββ | 240M/338M [00:24<00:02, 48.0MiB/s] 72%|βββββββββββββββββββββββββββββ | 245M/338M [00:24<00:02, 48.2MiB/s] 74%|βββββββββββββββββββββββββββββ | 250M/338M [00:24<00:01, 49.6MiB/s] 75%|ββββββββββββββββββββββββββββββ | 255M/338M [00:24<00:01, 50.2MiB/s] 77%|ββββββββββββββββββββββββββββββ | 260M/338M [00:24<00:01, 51.2MiB/s] 78%|βββββββββββββββββββββββββββββββ | 265M/338M [00:25<00:01, 51.9MiB/s] 80%|ββββββββββββββββββββββββββββββββ | 270M/338M [00:25<00:01, 52.1MiB/s] 82%|ββββββββββββββββββββββββββββββββ | 276M/338M [00:25<00:01, 54.1MiB/s] 83%|βββββββββββββββββββββββββββββββββ | 281M/338M [00:25<00:01, 54.0MiB/s] 85%|βββββββββββββββββββββββββββββββββ | 286M/338M [00:25<00:01, 53.9MiB/s] 86%|ββββββββββββββββββββββββββββββββββ | 292M/338M [00:25<00:00, 54.5MiB/s] 88%|βββββββββββββββββββββββββββββββββββ | 297M/338M [00:25<00:00, 55.6MiB/s] 90%|βββββββββββββββββββββββββββββββββββ | 303M/338M [00:25<00:00, 56.2MiB/s] 91%|ββββββββββββββββββββββββββββββββββββ | 308M/338M [00:25<00:00, 57.0MiB/s] 93%|βββββββββββββββββββββββββββββββββββββ | 314M/338M [00:25<00:00, 58.1MiB/s] 95%|βββββββββββββββββββββββββββββββββββββ | 320M/338M [00:26<00:00, 59.1MiB/s] 97%|ββββββββββββββββββββββββββββββββββββββ | 327M/338M [00:26<00:00, 61.6MiB/s] 99%|βββββββββββββββββββββββββββββββββββββββ| 333M/338M [00:26<00:00, 62.2MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:26<00:00, 13.5MiB/s] The `device` argument is deprecated and will be removed in v5 of Transformers. None of the inputs have requires_grad=True. Gradients will be None
Prediction
remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79IDvks9gvncd5rj20cjx8vvap7k30StatusSucceededSourceAPIHardwareA100 (80GB)Total durationCreatedInput
{ "IMAGE": "https://replicate.delivery/pbxt/LtoYpEIoHjnN3I6gC1crq1pqYnN5CyImZLdJRmRjRxy2mZ81/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoYp8kIeasrxSmyZ6xkBwsgbOoGnA3SjdLiGfxKWXthScIC/110.png" }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", { input: { IMAGE: "https://replicate.delivery/pbxt/LtoYpEIoHjnN3I6gC1crq1pqYnN5CyImZLdJRmRjRxy2mZ81/DEMO.jpg", target: "couch", STYLE_IMAGE: "https://replicate.delivery/pbxt/LtoYp8kIeasrxSmyZ6xkBwsgbOoGnA3SjdLiGfxKWXthScIC/110.png" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", input={ "IMAGE": "https://replicate.delivery/pbxt/LtoYpEIoHjnN3I6gC1crq1pqYnN5CyImZLdJRmRjRxy2mZ81/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoYp8kIeasrxSmyZ6xkBwsgbOoGnA3SjdLiGfxKWXthScIC/110.png" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtoYpEIoHjnN3I6gC1crq1pqYnN5CyImZLdJRmRjRxy2mZ81/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoYp8kIeasrxSmyZ6xkBwsgbOoGnA3SjdLiGfxKWXthScIC/110.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-02T00:16:06.114440Z", "created_at": "2024-11-02T00:12:50.153000Z", "data_removed": false, "error": null, "id": "vks9gvncd5rj20cjx8vvap7k30", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtoYpEIoHjnN3I6gC1crq1pqYnN5CyImZLdJRmRjRxy2mZ81/DEMO.jpg", "target": "couch", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtoYp8kIeasrxSmyZ6xkBwsgbOoGnA3SjdLiGfxKWXthScIC/110.png" }, "logs": "trying to load grounding dino directly\ndownloading dino model weights\nfinal text_encoder_type: bert-base-uncased\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13)\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\nCollecting git+https://github.com/openai/CLIP.git\nCloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-9fvdi0v9\nRunning command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-9fvdi0v9\nResolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1\nPreparing metadata (setup.py): started\nPreparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1)\nRequirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6)\nRequirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118)\nRequirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13)\nRequirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0)\nRequirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2)\nRequirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2)\nRequirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3)\nRequirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4)\nRequirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0)\nRequirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3)\nRequirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8)\nRequirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4)\nRequirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0)\nRequirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5)\nRequirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2)\nRequirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3)\nRequirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30)\nRequirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0)\nBuilding wheels for collected packages: clip\nBuilding wheel for clip (setup.py): started\nBuilding wheel for clip (setup.py): finished with status 'done'\nCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=ead946be1fb753d6852b23b629efdbc98c0ea20eb0449c942b9452f018346673\nStored in directory: /tmp/pip-ephem-wheel-cache-t85cs756/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a\nSuccessfully built clip\nInstalling collected packages: clip\nSuccessfully installed clip-1.0\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\n 0%| | 0.00/338M [00:00<?, ?iB/s]\n 0%| | 64.0k/338M [00:00<09:17, 634kiB/s]\n 0%| | 192k/338M [00:00<06:09, 957kiB/s]\n 0%| | 448k/338M [00:00<03:32, 1.66MiB/s]\n 0%| | 720k/338M [00:00<02:50, 2.08MiB/s]\n 0%| | 992k/338M [00:00<02:33, 2.30MiB/s]\n 0%|β | 1.27M/338M [00:00<02:17, 2.56MiB/s]\n 0%|β | 1.58M/338M [00:00<02:07, 2.77MiB/s]\n 1%|β | 1.92M/338M [00:00<01:56, 3.02MiB/s]\n 1%|β | 2.30M/338M [00:00<01:46, 3.29MiB/s]\n 1%|β | 2.67M/338M [00:01<01:40, 3.48MiB/s]\n 1%|β | 3.09M/338M [00:01<01:33, 3.74MiB/s]\n 1%|β | 3.53M/338M [00:01<01:28, 3.97MiB/s]\n 1%|β | 4.02M/338M [00:01<01:21, 4.28MiB/s]\n 1%|β | 4.50M/338M [00:01<01:17, 4.51MiB/s]\n 1%|β | 5.06M/338M [00:01<01:10, 4.91MiB/s]\n 2%|β | 5.64M/338M [00:01<01:06, 5.24MiB/s]\n 2%|β | 6.27M/338M [00:01<01:02, 5.60MiB/s]\n 2%|β | 6.92M/338M [00:01<00:58, 5.96MiB/s]\n 2%|β | 7.64M/338M [00:01<00:54, 6.40MiB/s]\n 2%|β | 8.42M/338M [00:02<00:49, 6.92MiB/s]\n 3%|β | 9.23M/338M [00:02<00:46, 7.39MiB/s]\n 3%|ββ | 10.1M/338M [00:02<00:43, 7.85MiB/s]\n 3%|ββ | 11.0M/338M [00:02<00:41, 8.33MiB/s]\n 4%|ββ | 12.0M/338M [00:02<00:37, 9.00MiB/s]\n 4%|ββ | 13.1M/338M [00:02<00:35, 9.70MiB/s]\n 4%|ββ | 14.2M/338M [00:02<00:33, 10.3MiB/s]\n 5%|ββ | 15.5M/338M [00:02<00:30, 11.1MiB/s]\n 5%|ββ | 16.7M/338M [00:02<00:28, 11.7MiB/s]\n 5%|ββ | 18.2M/338M [00:02<00:26, 12.7MiB/s]\n 6%|βββ | 19.7M/338M [00:03<00:24, 13.7MiB/s]\n 6%|βββ | 21.3M/338M [00:03<00:22, 14.5MiB/s]\n 7%|βββ | 23.0M/338M [00:03<00:21, 15.6MiB/s]\n 7%|βββ | 24.8M/338M [00:03<00:19, 16.5MiB/s]\n 8%|βββ | 26.8M/338M [00:03<00:18, 17.7MiB/s]\n 9%|ββββ | 28.9M/338M [00:03<00:17, 19.0MiB/s]\n 9%|ββββ | 31.0M/338M [00:03<00:16, 20.0MiB/s]\n 10%|ββββ | 33.3M/338M [00:03<00:15, 21.2MiB/s]\n 11%|ββββ | 35.9M/338M [00:03<00:13, 22.9MiB/s]\n 11%|βββββ | 38.7M/338M [00:03<00:12, 24.8MiB/s]\n 12%|βββββ | 41.6M/338M [00:04<00:11, 26.3MiB/s]\n 13%|βββββ | 44.6M/338M [00:04<00:10, 27.9MiB/s]\n 14%|ββββββ | 47.9M/338M [00:04<00:10, 29.8MiB/s]\n 15%|ββββββ | 51.5M/338M [00:04<00:09, 32.2MiB/s]\n 16%|βββββββ | 55.2M/338M [00:04<00:08, 34.1MiB/s]\n 18%|βββββββ | 59.3M/338M [00:04<00:07, 36.8MiB/s]\n 19%|ββββββββ | 63.8M/338M [00:04<00:07, 39.6MiB/s]\n 20%|ββββββββ | 68.4M/338M [00:04<00:06, 42.3MiB/s]\n 22%|βββββββββ | 73.4M/338M [00:04<00:06, 45.3MiB/s]\n 23%|βββββββββ | 78.6M/338M [00:04<00:05, 48.0MiB/s]\n 25%|ββββββββββ | 84.3M/338M [00:05<00:05, 51.3MiB/s]\n 27%|βββββββββββ | 90.5M/338M [00:05<00:04, 55.5MiB/s]\n 29%|βββββββββββ | 96.9M/338M [00:05<00:04, 58.8MiB/s]\n 31%|ββββββββββββ | 104M/338M [00:05<00:03, 63.8MiB/s]\n 33%|βββββββββββββ | 111M/338M [00:05<00:03, 67.7MiB/s]\n 35%|ββββββββββββββ | 119M/338M [00:05<00:03, 72.1MiB/s]\n 38%|βββββββββββββββ | 127M/338M [00:05<00:02, 75.4MiB/s]\n 40%|ββββββββββββββββ | 135M/338M [00:05<00:02, 77.0MiB/s]\n 42%|βββββββββββββββββ | 143M/338M [00:05<00:02, 79.3MiB/s]\n 45%|ββββββββββββββββββ | 151M/338M [00:05<00:02, 79.1MiB/s]\n 47%|βββββββββββββββββββ | 159M/338M [00:06<00:02, 81.3MiB/s]\n 49%|ββββββββββββββββββββ | 167M/338M [00:06<00:02, 81.5MiB/s]\n 52%|βββββββββββββββββββββ | 175M/338M [00:06<00:02, 81.7MiB/s]\n 54%|ββββββββββββββββββββββ | 183M/338M [00:06<00:01, 83.1MiB/s]\n 57%|ββββββββββββββββββββββ | 191M/338M [00:06<00:01, 82.0MiB/s]\n 59%|βββββββββββββββββββββββ | 199M/338M [00:06<00:01, 83.0MiB/s]\n 61%|ββββββββββββββββββββββββ | 207M/338M [00:06<00:01, 83.0MiB/s]\n 64%|βββββββββββββββββββββββββ | 215M/338M [00:06<00:01, 82.6MiB/s]\n 66%|ββββββββββββββββββββββββββ | 223M/338M [00:06<00:01, 82.3MiB/s]\n 68%|βββββββββββββββββββββββββββ | 231M/338M [00:06<00:01, 82.3MiB/s]\n 71%|ββββββββββββββββββββββββββββ | 239M/338M [00:07<00:01, 82.3MiB/s]\n 73%|βββββββββββββββββββββββββββββ | 247M/338M [00:07<00:01, 83.4MiB/s]\n 75%|ββββββββββββββββββββββββββββββ | 255M/338M [00:07<00:01, 83.4MiB/s]\n 78%|βββββββββββββββββββββββββββββββ | 263M/338M [00:07<00:00, 83.3MiB/s]\n 80%|ββββββββββββββββββββββββββββββββ | 271M/338M [00:07<00:00, 82.9MiB/s]\n 83%|βββββββββββββββββββββββββββββββββ | 279M/338M [00:07<00:00, 83.4MiB/s]\n 85%|ββββββββββββββββββββββββββββββββββ | 287M/338M [00:07<00:00, 83.5MiB/s]\n 87%|ββββββββββββββββββββββββββββββββββ | 295M/338M [00:07<00:00, 84.0MiB/s]\n 90%|βββββββββββββββββββββββββββββββββββ | 303M/338M [00:07<00:00, 83.6MiB/s]\n 92%|ββββββββββββββββββββββββββββββββββββ | 311M/338M [00:07<00:00, 83.7MiB/s]\n 94%|βββββββββββββββββββββββββββββββββββββ | 319M/338M [00:08<00:00, 83.5MiB/s]\n 97%|ββββββββββββββββββββββββββββββββββββββ | 327M/338M [00:08<00:00, 83.8MiB/s]\n 99%|βββββββββββββββββββββββββββββββββββββββ| 335M/338M [00:08<00:00, 84.4MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:08<00:00, 42.6MiB/s]\nThe `device` argument is deprecated and will be removed in v5 of Transformers.\nNone of the inputs have requires_grad=True. Gradients will be None", "metrics": { "predict_time": 132.783539197, "total_time": 195.96144 }, "output": "https://replicate.delivery/yhqm/Q66Dv8ik0O4jAd0u5D5spGQbKuICtauMDCaDZDT4YeLjCZ2JA/image_another_color_annotate.jpg", "started_at": "2024-11-02T00:13:53.330901Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-jnk7vtlvuxqi3clfsqgltahjqlbfk2cz5mie462u4fwovjs2ae3a", "get": "https://api.replicate.com/v1/predictions/vks9gvncd5rj20cjx8vvap7k30", "cancel": "https://api.replicate.com/v1/predictions/vks9gvncd5rj20cjx8vvap7k30/cancel" }, "version": "c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79" }
Generated intrying to load grounding dino directly downloading dino model weights final text_encoder_type: bert-base-uncased Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13) 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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip Collecting git+https://github.com/openai/CLIP.git Cloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-9fvdi0v9 Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-9fvdi0v9 Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1) Requirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6) Requirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118) Requirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13) Requirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0) Requirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2) Requirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2) Requirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3) Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4) Requirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0) Requirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3) Requirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8) Requirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4) Requirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0) Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0) Building wheels for collected packages: clip Building wheel for clip (setup.py): started Building wheel for clip (setup.py): finished with status 'done' Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=ead946be1fb753d6852b23b629efdbc98c0ea20eb0449c942b9452f018346673 Stored in directory: /tmp/pip-ephem-wheel-cache-t85cs756/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a Successfully built clip Installing collected packages: clip Successfully installed clip-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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 0%| | 0.00/338M [00:00<?, ?iB/s] 0%| | 64.0k/338M [00:00<09:17, 634kiB/s] 0%| | 192k/338M [00:00<06:09, 957kiB/s] 0%| | 448k/338M [00:00<03:32, 1.66MiB/s] 0%| | 720k/338M [00:00<02:50, 2.08MiB/s] 0%| | 992k/338M [00:00<02:33, 2.30MiB/s] 0%|β | 1.27M/338M [00:00<02:17, 2.56MiB/s] 0%|β | 1.58M/338M [00:00<02:07, 2.77MiB/s] 1%|β | 1.92M/338M [00:00<01:56, 3.02MiB/s] 1%|β | 2.30M/338M [00:00<01:46, 3.29MiB/s] 1%|β | 2.67M/338M [00:01<01:40, 3.48MiB/s] 1%|β | 3.09M/338M [00:01<01:33, 3.74MiB/s] 1%|β | 3.53M/338M [00:01<01:28, 3.97MiB/s] 1%|β | 4.02M/338M [00:01<01:21, 4.28MiB/s] 1%|β | 4.50M/338M [00:01<01:17, 4.51MiB/s] 1%|β | 5.06M/338M [00:01<01:10, 4.91MiB/s] 2%|β | 5.64M/338M [00:01<01:06, 5.24MiB/s] 2%|β | 6.27M/338M [00:01<01:02, 5.60MiB/s] 2%|β | 6.92M/338M [00:01<00:58, 5.96MiB/s] 2%|β | 7.64M/338M [00:01<00:54, 6.40MiB/s] 2%|β | 8.42M/338M [00:02<00:49, 6.92MiB/s] 3%|β | 9.23M/338M [00:02<00:46, 7.39MiB/s] 3%|ββ | 10.1M/338M [00:02<00:43, 7.85MiB/s] 3%|ββ | 11.0M/338M [00:02<00:41, 8.33MiB/s] 4%|ββ | 12.0M/338M [00:02<00:37, 9.00MiB/s] 4%|ββ | 13.1M/338M [00:02<00:35, 9.70MiB/s] 4%|ββ | 14.2M/338M [00:02<00:33, 10.3MiB/s] 5%|ββ | 15.5M/338M [00:02<00:30, 11.1MiB/s] 5%|ββ | 16.7M/338M [00:02<00:28, 11.7MiB/s] 5%|ββ | 18.2M/338M [00:02<00:26, 12.7MiB/s] 6%|βββ | 19.7M/338M [00:03<00:24, 13.7MiB/s] 6%|βββ | 21.3M/338M [00:03<00:22, 14.5MiB/s] 7%|βββ | 23.0M/338M [00:03<00:21, 15.6MiB/s] 7%|βββ | 24.8M/338M [00:03<00:19, 16.5MiB/s] 8%|βββ | 26.8M/338M [00:03<00:18, 17.7MiB/s] 9%|ββββ | 28.9M/338M [00:03<00:17, 19.0MiB/s] 9%|ββββ | 31.0M/338M [00:03<00:16, 20.0MiB/s] 10%|ββββ | 33.3M/338M [00:03<00:15, 21.2MiB/s] 11%|ββββ | 35.9M/338M [00:03<00:13, 22.9MiB/s] 11%|βββββ | 38.7M/338M [00:03<00:12, 24.8MiB/s] 12%|βββββ | 41.6M/338M [00:04<00:11, 26.3MiB/s] 13%|βββββ | 44.6M/338M [00:04<00:10, 27.9MiB/s] 14%|ββββββ | 47.9M/338M [00:04<00:10, 29.8MiB/s] 15%|ββββββ | 51.5M/338M [00:04<00:09, 32.2MiB/s] 16%|βββββββ | 55.2M/338M [00:04<00:08, 34.1MiB/s] 18%|βββββββ | 59.3M/338M [00:04<00:07, 36.8MiB/s] 19%|ββββββββ | 63.8M/338M [00:04<00:07, 39.6MiB/s] 20%|ββββββββ | 68.4M/338M [00:04<00:06, 42.3MiB/s] 22%|βββββββββ | 73.4M/338M [00:04<00:06, 45.3MiB/s] 23%|βββββββββ | 78.6M/338M [00:04<00:05, 48.0MiB/s] 25%|ββββββββββ | 84.3M/338M [00:05<00:05, 51.3MiB/s] 27%|βββββββββββ | 90.5M/338M [00:05<00:04, 55.5MiB/s] 29%|βββββββββββ | 96.9M/338M [00:05<00:04, 58.8MiB/s] 31%|ββββββββββββ | 104M/338M [00:05<00:03, 63.8MiB/s] 33%|βββββββββββββ | 111M/338M [00:05<00:03, 67.7MiB/s] 35%|ββββββββββββββ | 119M/338M [00:05<00:03, 72.1MiB/s] 38%|βββββββββββββββ | 127M/338M [00:05<00:02, 75.4MiB/s] 40%|ββββββββββββββββ | 135M/338M [00:05<00:02, 77.0MiB/s] 42%|βββββββββββββββββ | 143M/338M [00:05<00:02, 79.3MiB/s] 45%|ββββββββββββββββββ | 151M/338M [00:05<00:02, 79.1MiB/s] 47%|βββββββββββββββββββ | 159M/338M [00:06<00:02, 81.3MiB/s] 49%|ββββββββββββββββββββ | 167M/338M [00:06<00:02, 81.5MiB/s] 52%|βββββββββββββββββββββ | 175M/338M [00:06<00:02, 81.7MiB/s] 54%|ββββββββββββββββββββββ | 183M/338M [00:06<00:01, 83.1MiB/s] 57%|ββββββββββββββββββββββ | 191M/338M [00:06<00:01, 82.0MiB/s] 59%|βββββββββββββββββββββββ | 199M/338M [00:06<00:01, 83.0MiB/s] 61%|ββββββββββββββββββββββββ | 207M/338M [00:06<00:01, 83.0MiB/s] 64%|βββββββββββββββββββββββββ | 215M/338M [00:06<00:01, 82.6MiB/s] 66%|ββββββββββββββββββββββββββ | 223M/338M [00:06<00:01, 82.3MiB/s] 68%|βββββββββββββββββββββββββββ | 231M/338M [00:06<00:01, 82.3MiB/s] 71%|ββββββββββββββββββββββββββββ | 239M/338M [00:07<00:01, 82.3MiB/s] 73%|βββββββββββββββββββββββββββββ | 247M/338M [00:07<00:01, 83.4MiB/s] 75%|ββββββββββββββββββββββββββββββ | 255M/338M [00:07<00:01, 83.4MiB/s] 78%|βββββββββββββββββββββββββββββββ | 263M/338M [00:07<00:00, 83.3MiB/s] 80%|ββββββββββββββββββββββββββββββββ | 271M/338M [00:07<00:00, 82.9MiB/s] 83%|βββββββββββββββββββββββββββββββββ | 279M/338M [00:07<00:00, 83.4MiB/s] 85%|ββββββββββββββββββββββββββββββββββ | 287M/338M [00:07<00:00, 83.5MiB/s] 87%|ββββββββββββββββββββββββββββββββββ | 295M/338M [00:07<00:00, 84.0MiB/s] 90%|βββββββββββββββββββββββββββββββββββ | 303M/338M [00:07<00:00, 83.6MiB/s] 92%|ββββββββββββββββββββββββββββββββββββ | 311M/338M [00:07<00:00, 83.7MiB/s] 94%|βββββββββββββββββββββββββββββββββββββ | 319M/338M [00:08<00:00, 83.5MiB/s] 97%|ββββββββββββββββββββββββββββββββββββββ | 327M/338M [00:08<00:00, 83.8MiB/s] 99%|βββββββββββββββββββββββββββββββββββββββ| 335M/338M [00:08<00:00, 84.4MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:08<00:00, 42.6MiB/s] The `device` argument is deprecated and will be removed in v5 of Transformers. None of the inputs have requires_grad=True. Gradients will be None
Prediction
remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79ID7th9raxnmxrj20cjx8ztm0wq6rStatusSucceededSourceAPIHardwareA100 (80GB)Total durationCreatedInput
{ "IMAGE": "https://replicate.delivery/pbxt/LtohCI0VxKRYkvlirNvVhNc95TkZPNcX2v9AlncAwomR2BVl/demo1.jpg", "target": "wall", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtohCFyBUncnvc0rxqOimnMUJyuZyMuhQ7ws4kM1xQ8Y0eY6/048.png" }
Install Replicateβs Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", { input: { IMAGE: "https://replicate.delivery/pbxt/LtohCI0VxKRYkvlirNvVhNc95TkZPNcX2v9AlncAwomR2BVl/demo1.jpg", target: "wall", STYLE_IMAGE: "https://replicate.delivery/pbxt/LtohCFyBUncnvc0rxqOimnMUJyuZyMuhQ7ws4kM1xQ8Y0eY6/048.png" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicateβs Python client library:pip install replicate
Import the client:import replicate
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", input={ "IMAGE": "https://replicate.delivery/pbxt/LtohCI0VxKRYkvlirNvVhNc95TkZPNcX2v9AlncAwomR2BVl/demo1.jpg", "target": "wall", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtohCFyBUncnvc0rxqOimnMUJyuZyMuhQ7ws4kM1xQ8Y0eY6/048.png" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run remodela-ai/demo_tile_coating using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "remodela-ai/demo_tile_coating:c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtohCI0VxKRYkvlirNvVhNc95TkZPNcX2v9AlncAwomR2BVl/demo1.jpg", "target": "wall", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtohCFyBUncnvc0rxqOimnMUJyuZyMuhQ7ws4kM1xQ8Y0eY6/048.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
Output
{ "completed_at": "2024-11-02T00:25:28.267141Z", "created_at": "2024-11-02T00:21:36.807000Z", "data_removed": false, "error": null, "id": "7th9raxnmxrj20cjx8ztm0wq6r", "input": { "IMAGE": "https://replicate.delivery/pbxt/LtohCI0VxKRYkvlirNvVhNc95TkZPNcX2v9AlncAwomR2BVl/demo1.jpg", "target": "wall", "STYLE_IMAGE": "https://replicate.delivery/pbxt/LtohCFyBUncnvc0rxqOimnMUJyuZyMuhQ7ws4kM1xQ8Y0eY6/048.png" }, "logs": "trying to load grounding dino directly\ndownloading dino model weights\nfinal text_encoder_type: bert-base-uncased\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13)\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\nCollecting git+https://github.com/openai/CLIP.git\nCloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-b6h5gro2\nRunning command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-b6h5gro2\nResolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1\nPreparing metadata (setup.py): started\nPreparing metadata (setup.py): finished with status 'done'\nRequirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1)\nRequirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1)\nRequirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11)\nRequirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6)\nRequirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118)\nRequirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118)\nRequirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13)\nRequirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0)\nRequirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2)\nRequirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2)\nRequirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3)\nRequirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4)\nRequirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0)\nRequirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3)\nRequirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8)\nRequirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4)\nRequirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0)\nRequirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5)\nRequirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2)\nRequirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3)\nRequirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30)\nRequirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0)\nBuilding wheels for collected packages: clip\nBuilding wheel for clip (setup.py): started\nBuilding wheel for clip (setup.py): finished with status 'done'\nCreated wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=e66090b04e3ab0ab069b96c2978ddff0f923d7d61eabf9cb57d70b4d9c524ee1\nStored in directory: /tmp/pip-ephem-wheel-cache-6uakn8_s/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a\nSuccessfully built clip\nInstalling collected packages: clip\nSuccessfully installed clip-1.0\nWARNING: 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\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[notice] To update, run: pip install --upgrade pip\n 0%| | 0.00/338M [00:00<?, ?iB/s]\n 0%| | 80.0k/338M [00:00<08:51, 666kiB/s]\n 0%| | 336k/338M [00:00<03:27, 1.70MiB/s]\n 0%| | 576k/338M [00:00<02:54, 2.03MiB/s]\n 0%| | 896k/338M [00:00<02:24, 2.44MiB/s]\n 0%|β | 1.12M/338M [00:00<04:06, 1.43MiB/s]\n 0%|β | 1.33M/338M [00:00<03:40, 1.60MiB/s]\n 0%|β | 1.67M/338M [00:00<02:50, 2.07MiB/s]\n 1%|β | 2.05M/338M [00:01<02:18, 2.53MiB/s]\n 1%|β | 2.45M/338M [00:01<01:58, 2.97MiB/s]\n 1%|β | 2.91M/338M [00:01<01:42, 3.44MiB/s]\n 1%|β | 3.36M/338M [00:01<01:32, 3.80MiB/s]\n 1%|β | 3.83M/338M [00:01<01:24, 4.12MiB/s]\n 1%|β | 4.28M/338M [00:01<01:21, 4.30MiB/s]\n 1%|β | 4.75M/338M [00:01<01:17, 4.48MiB/s]\n 2%|β | 5.22M/338M [00:01<01:15, 4.59MiB/s]\n 2%|β | 5.70M/338M [00:01<01:13, 4.71MiB/s]\n 2%|β | 6.17M/338M [00:01<01:12, 4.76MiB/s]\n 2%|β | 6.66M/338M [00:02<01:11, 4.82MiB/s]\n 2%|β | 7.14M/338M [00:02<01:11, 4.86MiB/s]\n 2%|β | 7.62M/338M [00:02<01:10, 4.90MiB/s]\n 2%|β | 8.11M/338M [00:02<01:10, 4.92MiB/s]\n 3%|β | 8.59M/338M [00:02<01:09, 4.96MiB/s]\n 3%|β | 9.08M/338M [00:02<01:09, 4.98MiB/s]\n 3%|β | 9.56M/338M [00:02<01:09, 4.98MiB/s]\n 3%|ββ | 10.1M/338M [00:02<01:08, 5.04MiB/s]\n 3%|ββ | 10.5M/338M [00:02<01:07, 5.07MiB/s]\n 3%|ββ | 11.0M/338M [00:02<01:07, 5.06MiB/s]\n 3%|ββ | 11.5M/338M [00:03<01:07, 5.08MiB/s]\n 4%|ββ | 12.0M/338M [00:03<01:06, 5.12MiB/s]\n 4%|ββ | 12.5M/338M [00:03<01:06, 5.12MiB/s]\n 4%|ββ | 13.0M/338M [00:03<01:05, 5.17MiB/s]\n 4%|ββ | 13.5M/338M [00:03<01:05, 5.17MiB/s]\n 4%|ββ | 14.0M/338M [00:03<01:05, 5.16MiB/s]\n 4%|ββ | 14.6M/338M [00:03<01:04, 5.22MiB/s]\n 4%|ββ | 15.1M/338M [00:03<01:04, 5.24MiB/s]\n 5%|ββ | 15.6M/338M [00:03<01:03, 5.28MiB/s]\n 5%|ββ | 16.1M/338M [00:03<01:03, 5.29MiB/s]\n 5%|ββ | 16.6M/338M [00:04<01:03, 5.30MiB/s]\n 5%|ββ | 17.1M/338M [00:04<01:03, 5.33MiB/s]\n 5%|ββ | 17.7M/338M [00:04<01:02, 5.33MiB/s]\n 5%|ββ | 18.2M/338M [00:04<01:03, 5.26MiB/s]\n 6%|ββ | 18.7M/338M [00:04<01:02, 5.38MiB/s]\n 6%|βββ | 19.2M/338M [00:04<01:02, 5.34MiB/s]\n 6%|βββ | 19.8M/338M [00:04<01:02, 5.34MiB/s]\n 6%|βββ | 20.3M/338M [00:04<01:02, 5.31MiB/s]\n 6%|βββ | 20.8M/338M [00:04<01:03, 5.27MiB/s]\n 6%|βββ | 21.3M/338M [00:05<01:04, 5.14MiB/s]\n 6%|βββ | 21.8M/338M [00:05<01:05, 5.08MiB/s]\n 7%|βββ | 22.3M/338M [00:05<01:05, 5.01MiB/s]\n 7%|βββ | 22.8M/338M [00:05<01:06, 4.98MiB/s]\n 7%|βββ | 23.2M/338M [00:05<01:07, 4.92MiB/s]\n 7%|βββ | 23.7M/338M [00:05<01:10, 4.70MiB/s]\n 7%|βββ | 24.2M/338M [00:05<01:11, 4.58MiB/s]\n 7%|βββ | 24.6M/338M [00:05<01:12, 4.51MiB/s]\n 7%|βββ | 25.1M/338M [00:05<01:12, 4.53MiB/s]\n 8%|βββ | 25.5M/338M [00:05<01:11, 4.58MiB/s]\n 8%|βββ | 26.0M/338M [00:06<01:10, 4.60MiB/s]\n 8%|βββ | 26.4M/338M [00:06<01:09, 4.72MiB/s]\n 8%|βββ | 27.0M/338M [00:06<01:04, 5.05MiB/s]\n 8%|βββ | 27.6M/338M [00:06<01:01, 5.29MiB/s]\n 8%|ββββ | 28.1M/338M [00:06<00:58, 5.50MiB/s]\n 9%|ββββ | 28.7M/338M [00:06<00:57, 5.63MiB/s]\n 9%|ββββ | 29.3M/338M [00:06<00:56, 5.74MiB/s]\n 9%|ββββ | 29.9M/338M [00:06<00:54, 5.97MiB/s]\n 9%|ββββ | 30.5M/338M [00:06<00:54, 5.91MiB/s]\n 9%|ββββ | 31.1M/338M [00:06<00:52, 6.06MiB/s]\n 9%|ββββ | 31.7M/338M [00:07<00:52, 6.13MiB/s]\n 10%|ββββ | 32.4M/338M [00:07<00:50, 6.32MiB/s]\n 10%|ββββ | 33.0M/338M [00:07<00:49, 6.44MiB/s]\n 10%|ββββ | 33.7M/338M [00:07<00:49, 6.45MiB/s]\n 10%|ββββ | 34.3M/338M [00:07<00:48, 6.55MiB/s]\n 10%|ββββ | 35.0M/338M [00:07<00:48, 6.60MiB/s]\n 11%|ββββ | 35.7M/338M [00:07<00:46, 6.86MiB/s]\n 11%|ββββ | 36.4M/338M [00:07<00:45, 6.87MiB/s]\n 11%|βββββ | 37.1M/338M [00:07<00:45, 6.97MiB/s]\n 11%|βββββ | 37.8M/338M [00:08<00:43, 7.21MiB/s]\n 11%|βββββ | 38.5M/338M [00:08<00:43, 7.25MiB/s]\n 12%|βββββ | 39.2M/338M [00:08<00:42, 7.30MiB/s]\n 12%|βββββ | 40.0M/338M [00:08<00:42, 7.40MiB/s]\n 12%|βββββ | 40.8M/338M [00:08<00:41, 7.55MiB/s]\n 12%|βββββ | 41.5M/338M [00:08<00:40, 7.72MiB/s]\n 13%|βββββ | 42.4M/338M [00:08<00:39, 7.94MiB/s]\n 13%|βββββ | 43.2M/338M [00:08<00:38, 8.08MiB/s]\n 13%|βββββ | 44.0M/338M [00:08<00:37, 8.18MiB/s]\n 13%|βββββ | 44.8M/338M [00:08<00:37, 8.15MiB/s]\n 14%|ββββββ | 45.6M/338M [00:09<00:36, 8.42MiB/s]\n 14%|ββββββ | 46.5M/338M [00:09<00:35, 8.57MiB/s]\n 14%|ββββββ | 47.4M/338M [00:09<00:34, 8.73MiB/s]\n 14%|ββββββ | 48.3M/338M [00:09<00:33, 8.94MiB/s]\n 15%|ββββββ | 49.1M/338M [00:09<01:13, 4.13MiB/s]\n 15%|ββββββ | 50.0M/338M [00:09<01:00, 4.96MiB/s]\n 15%|ββββββ | 51.0M/338M [00:10<00:50, 5.94MiB/s]\n 15%|ββββββ | 52.0M/338M [00:10<00:43, 6.87MiB/s]\n 16%|ββββββ | 53.0M/338M [00:10<00:38, 7.66MiB/s]\n 16%|ββββββ | 54.0M/338M [00:10<00:35, 8.44MiB/s]\n 16%|βββββββ | 55.1M/338M [00:10<00:32, 9.10MiB/s]\n 17%|βββββββ | 56.1M/338M [00:10<00:30, 9.70MiB/s]\n 17%|βββββββ | 57.2M/338M [00:10<00:29, 10.1MiB/s]\n 17%|βββββββ | 58.3M/338M [00:10<00:28, 10.4MiB/s]\n 18%|βββββββ | 59.3M/338M [00:10<00:27, 10.5MiB/s]\n 18%|βββββββ | 60.4M/338M [00:10<00:28, 10.4MiB/s]\n 18%|βββββββ | 61.5M/338M [00:11<00:26, 10.8MiB/s]\n 19%|βββββββ | 62.6M/338M [00:11<00:26, 11.0MiB/s]\n 19%|ββββββββ | 63.8M/338M [00:11<00:25, 11.3MiB/s]\n 19%|ββββββββ | 64.9M/338M [00:11<00:24, 11.5MiB/s]\n 20%|ββββββββ | 66.1M/338M [00:11<00:24, 11.7MiB/s]\n 20%|ββββββββ | 67.4M/338M [00:11<00:22, 12.3MiB/s]\n 20%|ββββββββ | 68.7M/338M [00:11<00:22, 12.7MiB/s]\n 21%|ββββββββ | 70.1M/338M [00:11<00:21, 13.2MiB/s]\n 21%|ββββββββ | 71.5M/338M [00:11<00:20, 13.5MiB/s]\n 22%|βββββββββ | 72.9M/338M [00:11<00:20, 13.7MiB/s]\n 22%|βββββββββ | 74.2M/338M [00:12<00:19, 13.9MiB/s]\n 22%|βββββββββ | 75.7M/338M [00:12<00:19, 14.4MiB/s]\n 23%|βββββββββ | 77.2M/338M [00:12<00:18, 14.8MiB/s]\n 23%|βββββββββ | 78.7M/338M [00:12<00:18, 14.9MiB/s]\n 24%|βββββββββ | 80.3M/338M [00:12<00:17, 15.4MiB/s]\n 24%|ββββββββββ | 81.8M/338M [00:12<00:17, 15.5MiB/s]\n 25%|ββββββββββ | 83.4M/338M [00:12<00:16, 15.9MiB/s]\n 25%|ββββββββββ | 85.0M/338M [00:12<00:16, 16.1MiB/s]\n 26%|ββββββββββ | 86.7M/338M [00:12<00:15, 16.7MiB/s]\n 26%|ββββββββββ | 88.4M/338M [00:12<00:15, 17.0MiB/s]\n 27%|βββββββββββ | 90.1M/338M [00:13<00:15, 17.3MiB/s]\n 27%|βββββββββββ | 92.0M/338M [00:13<00:14, 17.8MiB/s]\n 28%|βββββββββββ | 93.7M/338M [00:14<00:49, 5.15MiB/s]\n 28%|βββββββββββ | 95.4M/338M [00:14<00:38, 6.57MiB/s]\n 29%|βββββββββββ | 97.4M/338M [00:14<00:29, 8.49MiB/s]\n 29%|ββββββββββββ | 99.5M/338M [00:14<00:23, 10.6MiB/s]\n 30%|ββββββββββββ | 102M/338M [00:14<00:19, 12.6MiB/s]\n 31%|ββββββββββββ | 104M/338M [00:14<00:16, 14.8MiB/s]\n 31%|βββββββββββββ | 106M/338M [00:14<00:14, 16.6MiB/s]\n 32%|βββββββββββββ | 108M/338M [00:14<00:13, 18.2MiB/s]\n 33%|βββββββββββββ | 110M/338M [00:14<00:12, 19.7MiB/s]\n 33%|βββββββββββββ | 113M/338M [00:14<00:11, 20.8MiB/s]\n 34%|ββββββββββββββ | 115M/338M [00:15<00:10, 22.0MiB/s]\n 35%|ββββββββββββββ | 117M/338M [00:15<00:10, 22.8MiB/s]\n 36%|ββββββββββββββ | 120M/338M [00:15<00:09, 23.5MiB/s]\n 36%|βββββββββββββββ | 122M/338M [00:15<00:09, 24.3MiB/s]\n 37%|βββββββββββββββ | 125M/338M [00:15<00:09, 24.6MiB/s]\n 38%|βββββββββββββββ | 127M/338M [00:15<00:08, 25.4MiB/s]\n 39%|βββββββββββββββ | 130M/338M [00:15<00:08, 26.1MiB/s]\n 39%|ββββββββββββββββ | 133M/338M [00:15<00:08, 26.4MiB/s]\n 40%|ββββββββββββββββ | 136M/338M [00:15<00:07, 27.3MiB/s]\n 41%|ββββββββββββββββ | 138M/338M [00:15<00:07, 27.7MiB/s]\n 42%|βββββββββββββββββ | 141M/338M [00:16<00:07, 28.0MiB/s]\n 43%|βββββββββββββββββ | 144M/338M [00:16<00:07, 29.0MiB/s]\n 44%|βββββββββββββββββ | 147M/338M [00:16<00:06, 29.1MiB/s]\n 44%|ββββββββββββββββββ | 150M/338M [00:16<00:06, 29.4MiB/s]\n 45%|ββββββββββββββββββ | 153M/338M [00:16<00:06, 30.1MiB/s]\n 46%|ββββββββββββββββββ | 156M/338M [00:16<00:06, 30.5MiB/s]\n 47%|βββββββββββββββββββ | 159M/338M [00:16<00:06, 31.2MiB/s]\n 48%|βββββββββββββββββββ | 162M/338M [00:16<00:05, 31.0MiB/s]\n 49%|βββββββββββββββββββ | 165M/338M [00:16<00:05, 31.0MiB/s]\n 50%|ββββββββββββββββββββ | 168M/338M [00:17<00:05, 32.1MiB/s]\n 51%|ββββββββββββββββββββ | 172M/338M [00:17<00:05, 33.1MiB/s]\n 52%|βββββββββββββββββββββ | 175M/338M [00:17<00:12, 13.9MiB/s]\n 52%|βββββββββββββββββββββ | 177M/338M [00:17<00:14, 11.9MiB/s]\n 54%|βββββββββββββββββββββ | 181M/338M [00:18<00:10, 15.2MiB/s]\n 55%|ββββββββββββββββββββββ | 184M/338M [00:18<00:08, 19.1MiB/s]\n 56%|ββββββββββββββββββββββ | 188M/338M [00:18<00:06, 22.7MiB/s]\n 57%|βββββββββββββββββββββββ | 192M/338M [00:18<00:05, 26.6MiB/s]\n 58%|βββββββββββββββββββββββ | 196M/338M [00:18<00:04, 30.1MiB/s]\n 59%|βββββββββββββββββββββββ | 200M/338M [00:18<00:04, 33.1MiB/s]\n 60%|ββββββββββββββββββββββββ | 204M/338M [00:18<00:03, 35.2MiB/s]\n 62%|ββββββββββββββββββββββββ | 208M/338M [00:18<00:03, 37.6MiB/s]\n 63%|βββββββββββββββββββββββββ | 212M/338M [00:18<00:03, 39.4MiB/s]\n 64%|βββββββββββββββββββββββββ | 216M/338M [00:18<00:03, 40.7MiB/s]\n 65%|ββββββββββββββββββββββββββ | 221M/338M [00:19<00:02, 42.5MiB/s]\n 67%|ββββββββββββββββββββββββββ | 225M/338M [00:19<00:02, 43.5MiB/s]\n 68%|βββββββββββββββββββββββββββ | 230M/338M [00:19<00:02, 44.5MiB/s]\n 69%|βββββββββββββββββββββββββββ | 234M/338M [00:19<00:02, 45.6MiB/s]\n 71%|ββββββββββββββββββββββββββββ | 239M/338M [00:19<00:02, 46.5MiB/s]\n 72%|βββββββββββββββββββββββββββββ | 244M/338M [00:19<00:02, 47.3MiB/s]\n 74%|βββββββββββββββββββββββββββββ | 248M/338M [00:19<00:01, 47.6MiB/s]\n 75%|ββββββββββββββββββββββββββββββ | 253M/338M [00:19<00:01, 49.3MiB/s]\n 76%|ββββββββββββββββββββββββββββββ | 258M/338M [00:19<00:01, 49.6MiB/s]\n 78%|βββββββββββββββββββββββββββββββ | 263M/338M [00:19<00:01, 50.9MiB/s]\n 79%|βββββββββββββββββββββββββββββββ | 268M/338M [00:20<00:01, 51.3MiB/s]\n 81%|ββββββββββββββββββββββββββββββββ | 273M/338M [00:20<00:01, 51.8MiB/s]\n 83%|βββββββββββββββββββββββββββββββββ | 279M/338M [00:20<00:01, 53.4MiB/s]\n 84%|βββββββββββββββββββββββββββββββββ | 284M/338M [00:20<00:01, 53.8MiB/s]\n 86%|ββββββββββββββββββββββββββββββββββ | 290M/338M [00:20<00:00, 54.8MiB/s]\n 87%|ββββββββββββββββββββββββββββββββββ | 295M/338M [00:20<00:00, 56.0MiB/s]\n 89%|βββββββββββββββββββββββββββββββββββ | 301M/338M [00:20<00:00, 56.2MiB/s]\n 91%|ββββββββββββββββββββββββββββββββββββ | 307M/338M [00:20<00:00, 58.0MiB/s]\n 93%|ββββββββββββββββββββββββββββββββββββ | 312M/338M [00:20<00:00, 58.3MiB/s]\n 94%|βββββββββββββββββββββββββββββββββββββ | 318M/338M [00:20<00:00, 58.9MiB/s]\n 96%|ββββββββββββββββββββββββββββββββββββββ | 324M/338M [00:21<00:00, 60.4MiB/s]\n 98%|βββββββββββββββββββββββββββββββββββββββ| 330M/338M [00:21<00:00, 61.2MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 336M/338M [00:21<00:00, 62.1MiB/s]\n100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:21<00:00, 16.6MiB/s]\nThe `device` argument is deprecated and will be removed in v5 of Transformers.\nNone of the inputs have requires_grad=True. Gradients will be None", "metrics": { "predict_time": 215.476256872, "total_time": 231.460141 }, "output": "https://replicate.delivery/yhqm/b6TUfrK2Xn1sRaI1YfPf9Qyk0bxyFA6IvN0VoWHZMOei3IzOB/image_another_color_annotate.jpg", "started_at": "2024-11-02T00:21:52.790885Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-75eamydxjommbjj27m6iwv2t4ior27sssnz4wx3moocvavs2lmaa", "get": "https://api.replicate.com/v1/predictions/7th9raxnmxrj20cjx8ztm0wq6r", "cancel": "https://api.replicate.com/v1/predictions/7th9raxnmxrj20cjx8ztm0wq6r/cancel" }, "version": "c628d97322ed5bae5f3e28627d1cf06986267f14f1f8a4adaa1a259536f6bc79" }
Generated intrying to load grounding dino directly downloading dino model weights final text_encoder_type: bert-base-uncased Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (6.3.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (4.66.6) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy) (0.2.13) 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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip Collecting git+https://github.com/openai/CLIP.git Cloning https://github.com/openai/CLIP.git to /tmp/pip-req-build-b6h5gro2 Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /tmp/pip-req-build-b6h5gro2 Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: ftfy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (6.3.1) Requirement already satisfied: packaging in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (24.1) Requirement already satisfied: regex in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2024.9.11) Requirement already satisfied: tqdm in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (4.66.6) Requirement already satisfied: torch in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (2.0.1+cu118) Requirement already satisfied: torchvision in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from clip==1.0) (0.15.2+cu118) Requirement already satisfied: wcwidth in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from ftfy->clip==1.0) (0.2.13) Requirement already satisfied: filelock in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.16.0) Requirement already satisfied: typing-extensions in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (4.12.2) Requirement already satisfied: sympy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (1.13.2) Requirement already satisfied: networkx in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.3) Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (3.1.4) Requirement already satisfied: triton==2.0.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torch->clip==1.0) (2.0.0) Requirement already satisfied: cmake in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (3.30.3) Requirement already satisfied: lit in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from triton==2.0.0->torch->clip==1.0) (18.1.8) Requirement already satisfied: numpy in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (1.26.4) Requirement already satisfied: requests in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from torchvision->clip==1.0) (9.5.0) Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from jinja2->torch->clip==1.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from requests->torchvision->clip==1.0) (2024.8.30) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages (from sympy->torch->clip==1.0) (1.3.0) Building wheels for collected packages: clip Building wheel for clip (setup.py): started Building wheel for clip (setup.py): finished with status 'done' Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369489 sha256=e66090b04e3ab0ab069b96c2978ddff0f923d7d61eabf9cb57d70b4d9c524ee1 Stored in directory: /tmp/pip-ephem-wheel-cache-6uakn8_s/wheels/3f/7c/a4/9b490845988bf7a4db33674d52f709f088f64392063872eb9a Successfully built clip Installing collected packages: clip Successfully installed clip-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 [notice] A new release of pip is available: 24.0 -> 24.3.1 [notice] To update, run: pip install --upgrade pip 0%| | 0.00/338M [00:00<?, ?iB/s] 0%| | 80.0k/338M [00:00<08:51, 666kiB/s] 0%| | 336k/338M [00:00<03:27, 1.70MiB/s] 0%| | 576k/338M [00:00<02:54, 2.03MiB/s] 0%| | 896k/338M [00:00<02:24, 2.44MiB/s] 0%|β | 1.12M/338M [00:00<04:06, 1.43MiB/s] 0%|β | 1.33M/338M [00:00<03:40, 1.60MiB/s] 0%|β | 1.67M/338M [00:00<02:50, 2.07MiB/s] 1%|β | 2.05M/338M [00:01<02:18, 2.53MiB/s] 1%|β | 2.45M/338M [00:01<01:58, 2.97MiB/s] 1%|β | 2.91M/338M [00:01<01:42, 3.44MiB/s] 1%|β | 3.36M/338M [00:01<01:32, 3.80MiB/s] 1%|β | 3.83M/338M [00:01<01:24, 4.12MiB/s] 1%|β | 4.28M/338M [00:01<01:21, 4.30MiB/s] 1%|β | 4.75M/338M [00:01<01:17, 4.48MiB/s] 2%|β | 5.22M/338M [00:01<01:15, 4.59MiB/s] 2%|β | 5.70M/338M [00:01<01:13, 4.71MiB/s] 2%|β | 6.17M/338M [00:01<01:12, 4.76MiB/s] 2%|β | 6.66M/338M [00:02<01:11, 4.82MiB/s] 2%|β | 7.14M/338M [00:02<01:11, 4.86MiB/s] 2%|β | 7.62M/338M [00:02<01:10, 4.90MiB/s] 2%|β | 8.11M/338M [00:02<01:10, 4.92MiB/s] 3%|β | 8.59M/338M [00:02<01:09, 4.96MiB/s] 3%|β | 9.08M/338M [00:02<01:09, 4.98MiB/s] 3%|β | 9.56M/338M [00:02<01:09, 4.98MiB/s] 3%|ββ | 10.1M/338M [00:02<01:08, 5.04MiB/s] 3%|ββ | 10.5M/338M [00:02<01:07, 5.07MiB/s] 3%|ββ | 11.0M/338M [00:02<01:07, 5.06MiB/s] 3%|ββ | 11.5M/338M [00:03<01:07, 5.08MiB/s] 4%|ββ | 12.0M/338M [00:03<01:06, 5.12MiB/s] 4%|ββ | 12.5M/338M [00:03<01:06, 5.12MiB/s] 4%|ββ | 13.0M/338M [00:03<01:05, 5.17MiB/s] 4%|ββ | 13.5M/338M [00:03<01:05, 5.17MiB/s] 4%|ββ | 14.0M/338M [00:03<01:05, 5.16MiB/s] 4%|ββ | 14.6M/338M [00:03<01:04, 5.22MiB/s] 4%|ββ | 15.1M/338M [00:03<01:04, 5.24MiB/s] 5%|ββ | 15.6M/338M [00:03<01:03, 5.28MiB/s] 5%|ββ | 16.1M/338M [00:03<01:03, 5.29MiB/s] 5%|ββ | 16.6M/338M [00:04<01:03, 5.30MiB/s] 5%|ββ | 17.1M/338M [00:04<01:03, 5.33MiB/s] 5%|ββ | 17.7M/338M [00:04<01:02, 5.33MiB/s] 5%|ββ | 18.2M/338M [00:04<01:03, 5.26MiB/s] 6%|ββ | 18.7M/338M [00:04<01:02, 5.38MiB/s] 6%|βββ | 19.2M/338M [00:04<01:02, 5.34MiB/s] 6%|βββ | 19.8M/338M [00:04<01:02, 5.34MiB/s] 6%|βββ | 20.3M/338M [00:04<01:02, 5.31MiB/s] 6%|βββ | 20.8M/338M [00:04<01:03, 5.27MiB/s] 6%|βββ | 21.3M/338M [00:05<01:04, 5.14MiB/s] 6%|βββ | 21.8M/338M [00:05<01:05, 5.08MiB/s] 7%|βββ | 22.3M/338M [00:05<01:05, 5.01MiB/s] 7%|βββ | 22.8M/338M [00:05<01:06, 4.98MiB/s] 7%|βββ | 23.2M/338M [00:05<01:07, 4.92MiB/s] 7%|βββ | 23.7M/338M [00:05<01:10, 4.70MiB/s] 7%|βββ | 24.2M/338M [00:05<01:11, 4.58MiB/s] 7%|βββ | 24.6M/338M [00:05<01:12, 4.51MiB/s] 7%|βββ | 25.1M/338M [00:05<01:12, 4.53MiB/s] 8%|βββ | 25.5M/338M [00:05<01:11, 4.58MiB/s] 8%|βββ | 26.0M/338M [00:06<01:10, 4.60MiB/s] 8%|βββ | 26.4M/338M [00:06<01:09, 4.72MiB/s] 8%|βββ | 27.0M/338M [00:06<01:04, 5.05MiB/s] 8%|βββ | 27.6M/338M [00:06<01:01, 5.29MiB/s] 8%|ββββ | 28.1M/338M [00:06<00:58, 5.50MiB/s] 9%|ββββ | 28.7M/338M [00:06<00:57, 5.63MiB/s] 9%|ββββ | 29.3M/338M [00:06<00:56, 5.74MiB/s] 9%|ββββ | 29.9M/338M [00:06<00:54, 5.97MiB/s] 9%|ββββ | 30.5M/338M [00:06<00:54, 5.91MiB/s] 9%|ββββ | 31.1M/338M [00:06<00:52, 6.06MiB/s] 9%|ββββ | 31.7M/338M [00:07<00:52, 6.13MiB/s] 10%|ββββ | 32.4M/338M [00:07<00:50, 6.32MiB/s] 10%|ββββ | 33.0M/338M [00:07<00:49, 6.44MiB/s] 10%|ββββ | 33.7M/338M [00:07<00:49, 6.45MiB/s] 10%|ββββ | 34.3M/338M [00:07<00:48, 6.55MiB/s] 10%|ββββ | 35.0M/338M [00:07<00:48, 6.60MiB/s] 11%|ββββ | 35.7M/338M [00:07<00:46, 6.86MiB/s] 11%|ββββ | 36.4M/338M [00:07<00:45, 6.87MiB/s] 11%|βββββ | 37.1M/338M [00:07<00:45, 6.97MiB/s] 11%|βββββ | 37.8M/338M [00:08<00:43, 7.21MiB/s] 11%|βββββ | 38.5M/338M [00:08<00:43, 7.25MiB/s] 12%|βββββ | 39.2M/338M [00:08<00:42, 7.30MiB/s] 12%|βββββ | 40.0M/338M [00:08<00:42, 7.40MiB/s] 12%|βββββ | 40.8M/338M [00:08<00:41, 7.55MiB/s] 12%|βββββ | 41.5M/338M [00:08<00:40, 7.72MiB/s] 13%|βββββ | 42.4M/338M [00:08<00:39, 7.94MiB/s] 13%|βββββ | 43.2M/338M [00:08<00:38, 8.08MiB/s] 13%|βββββ | 44.0M/338M [00:08<00:37, 8.18MiB/s] 13%|βββββ | 44.8M/338M [00:08<00:37, 8.15MiB/s] 14%|ββββββ | 45.6M/338M [00:09<00:36, 8.42MiB/s] 14%|ββββββ | 46.5M/338M [00:09<00:35, 8.57MiB/s] 14%|ββββββ | 47.4M/338M [00:09<00:34, 8.73MiB/s] 14%|ββββββ | 48.3M/338M [00:09<00:33, 8.94MiB/s] 15%|ββββββ | 49.1M/338M [00:09<01:13, 4.13MiB/s] 15%|ββββββ | 50.0M/338M [00:09<01:00, 4.96MiB/s] 15%|ββββββ | 51.0M/338M [00:10<00:50, 5.94MiB/s] 15%|ββββββ | 52.0M/338M [00:10<00:43, 6.87MiB/s] 16%|ββββββ | 53.0M/338M [00:10<00:38, 7.66MiB/s] 16%|ββββββ | 54.0M/338M [00:10<00:35, 8.44MiB/s] 16%|βββββββ | 55.1M/338M [00:10<00:32, 9.10MiB/s] 17%|βββββββ | 56.1M/338M [00:10<00:30, 9.70MiB/s] 17%|βββββββ | 57.2M/338M [00:10<00:29, 10.1MiB/s] 17%|βββββββ | 58.3M/338M [00:10<00:28, 10.4MiB/s] 18%|βββββββ | 59.3M/338M [00:10<00:27, 10.5MiB/s] 18%|βββββββ | 60.4M/338M [00:10<00:28, 10.4MiB/s] 18%|βββββββ | 61.5M/338M [00:11<00:26, 10.8MiB/s] 19%|βββββββ | 62.6M/338M [00:11<00:26, 11.0MiB/s] 19%|ββββββββ | 63.8M/338M [00:11<00:25, 11.3MiB/s] 19%|ββββββββ | 64.9M/338M [00:11<00:24, 11.5MiB/s] 20%|ββββββββ | 66.1M/338M [00:11<00:24, 11.7MiB/s] 20%|ββββββββ | 67.4M/338M [00:11<00:22, 12.3MiB/s] 20%|ββββββββ | 68.7M/338M [00:11<00:22, 12.7MiB/s] 21%|ββββββββ | 70.1M/338M [00:11<00:21, 13.2MiB/s] 21%|ββββββββ | 71.5M/338M [00:11<00:20, 13.5MiB/s] 22%|βββββββββ | 72.9M/338M [00:11<00:20, 13.7MiB/s] 22%|βββββββββ | 74.2M/338M [00:12<00:19, 13.9MiB/s] 22%|βββββββββ | 75.7M/338M [00:12<00:19, 14.4MiB/s] 23%|βββββββββ | 77.2M/338M [00:12<00:18, 14.8MiB/s] 23%|βββββββββ | 78.7M/338M [00:12<00:18, 14.9MiB/s] 24%|βββββββββ | 80.3M/338M [00:12<00:17, 15.4MiB/s] 24%|ββββββββββ | 81.8M/338M [00:12<00:17, 15.5MiB/s] 25%|ββββββββββ | 83.4M/338M [00:12<00:16, 15.9MiB/s] 25%|ββββββββββ | 85.0M/338M [00:12<00:16, 16.1MiB/s] 26%|ββββββββββ | 86.7M/338M [00:12<00:15, 16.7MiB/s] 26%|ββββββββββ | 88.4M/338M [00:12<00:15, 17.0MiB/s] 27%|βββββββββββ | 90.1M/338M [00:13<00:15, 17.3MiB/s] 27%|βββββββββββ | 92.0M/338M [00:13<00:14, 17.8MiB/s] 28%|βββββββββββ | 93.7M/338M [00:14<00:49, 5.15MiB/s] 28%|βββββββββββ | 95.4M/338M [00:14<00:38, 6.57MiB/s] 29%|βββββββββββ | 97.4M/338M [00:14<00:29, 8.49MiB/s] 29%|ββββββββββββ | 99.5M/338M [00:14<00:23, 10.6MiB/s] 30%|ββββββββββββ | 102M/338M [00:14<00:19, 12.6MiB/s] 31%|ββββββββββββ | 104M/338M [00:14<00:16, 14.8MiB/s] 31%|βββββββββββββ | 106M/338M [00:14<00:14, 16.6MiB/s] 32%|βββββββββββββ | 108M/338M [00:14<00:13, 18.2MiB/s] 33%|βββββββββββββ | 110M/338M [00:14<00:12, 19.7MiB/s] 33%|βββββββββββββ | 113M/338M [00:14<00:11, 20.8MiB/s] 34%|ββββββββββββββ | 115M/338M [00:15<00:10, 22.0MiB/s] 35%|ββββββββββββββ | 117M/338M [00:15<00:10, 22.8MiB/s] 36%|ββββββββββββββ | 120M/338M [00:15<00:09, 23.5MiB/s] 36%|βββββββββββββββ | 122M/338M [00:15<00:09, 24.3MiB/s] 37%|βββββββββββββββ | 125M/338M [00:15<00:09, 24.6MiB/s] 38%|βββββββββββββββ | 127M/338M [00:15<00:08, 25.4MiB/s] 39%|βββββββββββββββ | 130M/338M [00:15<00:08, 26.1MiB/s] 39%|ββββββββββββββββ | 133M/338M [00:15<00:08, 26.4MiB/s] 40%|ββββββββββββββββ | 136M/338M [00:15<00:07, 27.3MiB/s] 41%|ββββββββββββββββ | 138M/338M [00:15<00:07, 27.7MiB/s] 42%|βββββββββββββββββ | 141M/338M [00:16<00:07, 28.0MiB/s] 43%|βββββββββββββββββ | 144M/338M [00:16<00:07, 29.0MiB/s] 44%|βββββββββββββββββ | 147M/338M [00:16<00:06, 29.1MiB/s] 44%|ββββββββββββββββββ | 150M/338M [00:16<00:06, 29.4MiB/s] 45%|ββββββββββββββββββ | 153M/338M [00:16<00:06, 30.1MiB/s] 46%|ββββββββββββββββββ | 156M/338M [00:16<00:06, 30.5MiB/s] 47%|βββββββββββββββββββ | 159M/338M [00:16<00:06, 31.2MiB/s] 48%|βββββββββββββββββββ | 162M/338M [00:16<00:05, 31.0MiB/s] 49%|βββββββββββββββββββ | 165M/338M [00:16<00:05, 31.0MiB/s] 50%|ββββββββββββββββββββ | 168M/338M [00:17<00:05, 32.1MiB/s] 51%|ββββββββββββββββββββ | 172M/338M [00:17<00:05, 33.1MiB/s] 52%|βββββββββββββββββββββ | 175M/338M [00:17<00:12, 13.9MiB/s] 52%|βββββββββββββββββββββ | 177M/338M [00:17<00:14, 11.9MiB/s] 54%|βββββββββββββββββββββ | 181M/338M [00:18<00:10, 15.2MiB/s] 55%|ββββββββββββββββββββββ | 184M/338M [00:18<00:08, 19.1MiB/s] 56%|ββββββββββββββββββββββ | 188M/338M [00:18<00:06, 22.7MiB/s] 57%|βββββββββββββββββββββββ | 192M/338M [00:18<00:05, 26.6MiB/s] 58%|βββββββββββββββββββββββ | 196M/338M [00:18<00:04, 30.1MiB/s] 59%|βββββββββββββββββββββββ | 200M/338M [00:18<00:04, 33.1MiB/s] 60%|ββββββββββββββββββββββββ | 204M/338M [00:18<00:03, 35.2MiB/s] 62%|ββββββββββββββββββββββββ | 208M/338M [00:18<00:03, 37.6MiB/s] 63%|βββββββββββββββββββββββββ | 212M/338M [00:18<00:03, 39.4MiB/s] 64%|βββββββββββββββββββββββββ | 216M/338M [00:18<00:03, 40.7MiB/s] 65%|ββββββββββββββββββββββββββ | 221M/338M [00:19<00:02, 42.5MiB/s] 67%|ββββββββββββββββββββββββββ | 225M/338M [00:19<00:02, 43.5MiB/s] 68%|βββββββββββββββββββββββββββ | 230M/338M [00:19<00:02, 44.5MiB/s] 69%|βββββββββββββββββββββββββββ | 234M/338M [00:19<00:02, 45.6MiB/s] 71%|ββββββββββββββββββββββββββββ | 239M/338M [00:19<00:02, 46.5MiB/s] 72%|βββββββββββββββββββββββββββββ | 244M/338M [00:19<00:02, 47.3MiB/s] 74%|βββββββββββββββββββββββββββββ | 248M/338M [00:19<00:01, 47.6MiB/s] 75%|ββββββββββββββββββββββββββββββ | 253M/338M [00:19<00:01, 49.3MiB/s] 76%|ββββββββββββββββββββββββββββββ | 258M/338M [00:19<00:01, 49.6MiB/s] 78%|βββββββββββββββββββββββββββββββ | 263M/338M [00:19<00:01, 50.9MiB/s] 79%|βββββββββββββββββββββββββββββββ | 268M/338M [00:20<00:01, 51.3MiB/s] 81%|ββββββββββββββββββββββββββββββββ | 273M/338M [00:20<00:01, 51.8MiB/s] 83%|βββββββββββββββββββββββββββββββββ | 279M/338M [00:20<00:01, 53.4MiB/s] 84%|βββββββββββββββββββββββββββββββββ | 284M/338M [00:20<00:01, 53.8MiB/s] 86%|ββββββββββββββββββββββββββββββββββ | 290M/338M [00:20<00:00, 54.8MiB/s] 87%|ββββββββββββββββββββββββββββββββββ | 295M/338M [00:20<00:00, 56.0MiB/s] 89%|βββββββββββββββββββββββββββββββββββ | 301M/338M [00:20<00:00, 56.2MiB/s] 91%|ββββββββββββββββββββββββββββββββββββ | 307M/338M [00:20<00:00, 58.0MiB/s] 93%|ββββββββββββββββββββββββββββββββββββ | 312M/338M [00:20<00:00, 58.3MiB/s] 94%|βββββββββββββββββββββββββββββββββββββ | 318M/338M [00:20<00:00, 58.9MiB/s] 96%|ββββββββββββββββββββββββββββββββββββββ | 324M/338M [00:21<00:00, 60.4MiB/s] 98%|βββββββββββββββββββββββββββββββββββββββ| 330M/338M [00:21<00:00, 61.2MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 336M/338M [00:21<00:00, 62.1MiB/s] 100%|βββββββββββββββββββββββββββββββββββββββ| 338M/338M [00:21<00:00, 16.6MiB/s] The `device` argument is deprecated and will be removed in v5 of Transformers. None of the inputs have requires_grad=True. Gradients will be None
Want to make some of these yourself?
Run this model