re-mix-1 / rembg
Implementation of the RemBG library
- Public
- 358 runs
-
L40S
Prediction
re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3IDg7t9s2643xrge0cfa6cb3b4d4rStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/Remyx_00001_.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 re-mix-1/rembg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3", { input: { image: "https://d1plw52kc43y11.cloudfront.net/public/generations/Remyx_00001_.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 re-mix-1/rembg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3", input={ "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/Remyx_00001_.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run re-mix-1/rembg 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": "re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3", "input": { "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/Remyx_00001_.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-07T05:50:08.365740Z", "created_at": "2024-05-07T05:48:37.279000Z", "data_removed": false, "error": null, "id": "g7t9s2643xrge0cfa6cb3b4d4r", "input": { "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/Remyx_00001_.png" }, "logs": "Downloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file '/root/.u2net/u2net.onnx'.\n 0%| | 0.00/176M [00:00<?, ?B/s]\n 1%|▍ | 2.19M/176M [00:00<00:07, 21.9MB/s]\n 4%|█▍ | 6.57M/176M [00:00<00:04, 34.8MB/s]\n 7%|██▍ | 11.5M/176M [00:00<00:03, 41.5MB/s]\n 9%|███▌ | 16.7M/176M [00:00<00:03, 45.5MB/s]\n 12%|████▋ | 22.0M/176M [00:00<00:03, 48.1MB/s]\n 15%|█████▊ | 26.9M/176M [00:00<00:03, 48.6MB/s]\n 18%|██████▊ | 31.8M/176M [00:00<00:03, 47.3MB/s]\n 21%|███████▉ | 36.8M/176M [00:00<00:02, 48.2MB/s]\n 24%|█████████ | 42.0M/176M [00:00<00:02, 49.4MB/s]\n 27%|██████████▏ | 47.0M/176M [00:01<00:02, 49.4MB/s]\n 29%|███████████▏ | 51.9M/176M [00:01<00:02, 49.3MB/s]\n 32%|████████████▎ | 56.8M/176M [00:01<00:02, 49.1MB/s]\n 35%|█████████████▎ | 61.8M/176M [00:01<00:02, 49.3MB/s]\n 38%|██████████████▍ | 66.9M/176M [00:01<00:02, 49.8MB/s]\n 41%|███████████████▌ | 72.3M/176M [00:01<00:02, 51.1MB/s]\n 44%|████████████████▋ | 77.4M/176M [00:01<00:01, 50.3MB/s]\n 47%|█████████████████▊ | 82.4M/176M [00:01<00:01, 49.6MB/s]\n 50%|██████████████████▊ | 87.4M/176M [00:01<00:01, 49.0MB/s]\n 52%|███████████████████▉ | 92.3M/176M [00:01<00:01, 49.0MB/s]\n 55%|████████████████████▉ | 97.2M/176M [00:02<00:01, 48.5MB/s]\n 58%|██████████████████████▌ | 102M/176M [00:02<00:01, 48.3MB/s]\n 61%|███████████████████████▋ | 107M/176M [00:02<00:01, 47.5MB/s]\n 64%|████████████████████████▊ | 112M/176M [00:02<00:01, 47.9MB/s]\n 66%|█████████████████████████▉ | 117M/176M [00:02<00:01, 49.1MB/s]\n 69%|███████████████████████████ | 122M/176M [00:02<00:01, 50.3MB/s]\n 72%|████████████████████████████▏ | 127M/176M [00:02<00:00, 50.7MB/s]\n 75%|█████████████████████████████▎ | 133M/176M [00:02<00:00, 48.1MB/s]\n 78%|██████████████████████████████▍ | 138M/176M [00:02<00:00, 48.5MB/s]\n 81%|███████████████████████████████▌ | 142M/176M [00:02<00:00, 47.9MB/s]\n 84%|████████████████████████████████▌ | 147M/176M [00:03<00:00, 46.9MB/s]\n 87%|█████████████████████████████████▊ | 152M/176M [00:03<00:00, 48.3MB/s]\n 90%|██████████████████████████████████▉ | 158M/176M [00:03<00:00, 49.7MB/s]\n 92%|████████████████████████████████████ | 163M/176M [00:03<00:00, 50.1MB/s]\n 95%|█████████████████████████████████████▏ | 168M/176M [00:03<00:00, 49.2MB/s]\n 98%|██████████████████████████████████████▎| 173M/176M [00:03<00:00, 49.7MB/s]\n0%| | 0.00/176M [00:00<?, ?B/s]\n100%|████████████████████████████████████████| 176M/176M [00:00<00:00, 476GB/s]", "metrics": { "predict_time": 12.824154, "total_time": 91.08674 }, "output": "https://replicate.delivery/pbxt/UUc0CNenws2nXai4mStlgd9fZr0PBCOQbpkVqpScf1KhYujlA/tmpvkpgj4c1Remyx_00001__nobg.png", "started_at": "2024-05-07T05:49:55.541586Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/g7t9s2643xrge0cfa6cb3b4d4r", "cancel": "https://api.replicate.com/v1/predictions/g7t9s2643xrge0cfa6cb3b4d4r/cancel" }, "version": "a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3" }
Generated inDownloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file '/root/.u2net/u2net.onnx'. 0%| | 0.00/176M [00:00<?, ?B/s] 1%|▍ | 2.19M/176M [00:00<00:07, 21.9MB/s] 4%|█▍ | 6.57M/176M [00:00<00:04, 34.8MB/s] 7%|██▍ | 11.5M/176M [00:00<00:03, 41.5MB/s] 9%|███▌ | 16.7M/176M [00:00<00:03, 45.5MB/s] 12%|████▋ | 22.0M/176M [00:00<00:03, 48.1MB/s] 15%|█████▊ | 26.9M/176M [00:00<00:03, 48.6MB/s] 18%|██████▊ | 31.8M/176M [00:00<00:03, 47.3MB/s] 21%|███████▉ | 36.8M/176M [00:00<00:02, 48.2MB/s] 24%|█████████ | 42.0M/176M [00:00<00:02, 49.4MB/s] 27%|██████████▏ | 47.0M/176M [00:01<00:02, 49.4MB/s] 29%|███████████▏ | 51.9M/176M [00:01<00:02, 49.3MB/s] 32%|████████████▎ | 56.8M/176M [00:01<00:02, 49.1MB/s] 35%|█████████████▎ | 61.8M/176M [00:01<00:02, 49.3MB/s] 38%|██████████████▍ | 66.9M/176M [00:01<00:02, 49.8MB/s] 41%|███████████████▌ | 72.3M/176M [00:01<00:02, 51.1MB/s] 44%|████████████████▋ | 77.4M/176M [00:01<00:01, 50.3MB/s] 47%|█████████████████▊ | 82.4M/176M [00:01<00:01, 49.6MB/s] 50%|██████████████████▊ | 87.4M/176M [00:01<00:01, 49.0MB/s] 52%|███████████████████▉ | 92.3M/176M [00:01<00:01, 49.0MB/s] 55%|████████████████████▉ | 97.2M/176M [00:02<00:01, 48.5MB/s] 58%|██████████████████████▌ | 102M/176M [00:02<00:01, 48.3MB/s] 61%|███████████████████████▋ | 107M/176M [00:02<00:01, 47.5MB/s] 64%|████████████████████████▊ | 112M/176M [00:02<00:01, 47.9MB/s] 66%|█████████████████████████▉ | 117M/176M [00:02<00:01, 49.1MB/s] 69%|███████████████████████████ | 122M/176M [00:02<00:01, 50.3MB/s] 72%|████████████████████████████▏ | 127M/176M [00:02<00:00, 50.7MB/s] 75%|█████████████████████████████▎ | 133M/176M [00:02<00:00, 48.1MB/s] 78%|██████████████████████████████▍ | 138M/176M [00:02<00:00, 48.5MB/s] 81%|███████████████████████████████▌ | 142M/176M [00:02<00:00, 47.9MB/s] 84%|████████████████████████████████▌ | 147M/176M [00:03<00:00, 46.9MB/s] 87%|█████████████████████████████████▊ | 152M/176M [00:03<00:00, 48.3MB/s] 90%|██████████████████████████████████▉ | 158M/176M [00:03<00:00, 49.7MB/s] 92%|████████████████████████████████████ | 163M/176M [00:03<00:00, 50.1MB/s] 95%|█████████████████████████████████████▏ | 168M/176M [00:03<00:00, 49.2MB/s] 98%|██████████████████████████████████████▎| 173M/176M [00:03<00:00, 49.7MB/s] 0%| | 0.00/176M [00:00<?, ?B/s] 100%|████████████████████████████████████████| 176M/176M [00:00<00:00, 476GB/s]
Prediction
re-mix-1/rembg:fbb788e8d4a54338e157ec412fec10d4494321ecdc5c625aa07b248c7c5163ffIDbzk921f4d1rgp0cfcgpr9w5j8rStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- model
- u2net
- use_gpu
- alpha_matting
- always_return_png
- post_process_mask
- alpha_matting_erode_size
- 10
- alpha_matting_background_threshold
- 10
- alpha_matting_foreground_threshold
- 120
{ "image": "https://images.pexels.com/photos/4068383/pexels-photo-4068383.jpeg?cs=srgb&dl=pexels-janikbutz-4068383.jpg&fm=jpg", "model": "u2net", "use_gpu": true, "alpha_matting": false, "always_return_png": true, "post_process_mask": true, "alpha_matting_erode_size": 10, "alpha_matting_background_threshold": 10, "alpha_matting_foreground_threshold": 120 }
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 re-mix-1/rembg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "re-mix-1/rembg:fbb788e8d4a54338e157ec412fec10d4494321ecdc5c625aa07b248c7c5163ff", { input: { image: "https://images.pexels.com/photos/4068383/pexels-photo-4068383.jpeg?cs=srgb&dl=pexels-janikbutz-4068383.jpg&fm=jpg", model: "u2net", use_gpu: true, alpha_matting: false, always_return_png: true, post_process_mask: true, alpha_matting_erode_size: 10, alpha_matting_background_threshold: 10, alpha_matting_foreground_threshold: 120 } } ); // 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 re-mix-1/rembg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "re-mix-1/rembg:fbb788e8d4a54338e157ec412fec10d4494321ecdc5c625aa07b248c7c5163ff", input={ "image": "https://images.pexels.com/photos/4068383/pexels-photo-4068383.jpeg?cs=srgb&dl=pexels-janikbutz-4068383.jpg&fm=jpg", "model": "u2net", "use_gpu": True, "alpha_matting": False, "always_return_png": True, "post_process_mask": True, "alpha_matting_erode_size": 10, "alpha_matting_background_threshold": 10, "alpha_matting_foreground_threshold": 120 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run re-mix-1/rembg 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": "re-mix-1/rembg:fbb788e8d4a54338e157ec412fec10d4494321ecdc5c625aa07b248c7c5163ff", "input": { "image": "https://images.pexels.com/photos/4068383/pexels-photo-4068383.jpeg?cs=srgb&dl=pexels-janikbutz-4068383.jpg&fm=jpg", "model": "u2net", "use_gpu": true, "alpha_matting": false, "always_return_png": true, "post_process_mask": true, "alpha_matting_erode_size": 10, "alpha_matting_background_threshold": 10, "alpha_matting_foreground_threshold": 120 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-10T20:27:07.037843Z", "created_at": "2024-05-10T20:24:40.296000Z", "data_removed": false, "error": null, "id": "bzk921f4d1rgp0cfcgpr9w5j8r", "input": { "image": "https://images.pexels.com/photos/4068383/pexels-photo-4068383.jpeg?cs=srgb&dl=pexels-janikbutz-4068383.jpg&fm=jpg", "model": "u2net", "use_gpu": true, "alpha_matting": false, "always_return_png": true, "post_process_mask": true, "alpha_matting_erode_size": 10, "alpha_matting_background_threshold": 10, "alpha_matting_foreground_threshold": 120 }, "logs": "Downloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file '/root/.u2net/u2net.onnx'.\n 0%| | 0.00/176M [00:00<?, ?B/s]\n 6%|██▍ | 11.0M/176M [00:00<00:01, 110MB/s]\n 13%|█████▏ | 23.2M/176M [00:00<00:01, 117MB/s]\n 20%|███████▊ | 35.5M/176M [00:00<00:01, 120MB/s]\n 27%|██████████▋ | 47.9M/176M [00:00<00:01, 122MB/s]\n 34%|█████████████▎ | 60.3M/176M [00:00<00:00, 122MB/s]\n 41%|████████████████ | 72.7M/176M [00:00<00:00, 123MB/s]\n 48%|██████████████████▉ | 85.3M/176M [00:00<00:00, 124MB/s]\n 56%|█████████████████████▋ | 97.9M/176M [00:00<00:00, 125MB/s]\n 63%|█████████████████████████ | 110M/176M [00:00<00:00, 123MB/s]\n 70%|███████████████████████████▏ | 123M/176M [00:02<00:02, 20.7MB/s]\n 77%|█████████████████████████████▉ | 135M/176M [00:02<00:01, 27.9MB/s]\n 84%|████████████████████████████████▋ | 148M/176M [00:02<00:00, 36.6MB/s]\n 90%|███████████████████████████████████▏ | 159M/176M [00:02<00:00, 45.0MB/s]\n 96%|█████████████████████████████████████▌ | 170M/176M [00:03<00:00, 53.7MB/s]\n0%| | 0.00/176M [00:00<?, ?B/s]\n100%|███████████████████████████████████████| 176M/176M [00:00<00:00, 1.07TB/s]\n\u001b[1;31m2024-05-10 20:26:41.435204346 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 331, index: 0, mask: {48, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.435218866 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 332, index: 1, mask: {1, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.435270796 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 333, index: 2, mask: {49, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.435301866 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 334, index: 3, mask: {2, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.437479511 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 352, index: 21, mask: {11, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.443579658 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 354, index: 23, mask: {12, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.443596158 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 358, index: 27, mask: {14, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.447573269 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 363, index: 32, mask: {64, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.447579709 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 361, index: 30, mask: {63, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.450436653 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 353, index: 22, mask: {59, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.443573968 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 356, index: 25, mask: {13, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.451712720 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 381, index: 50, mask: {73, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.447538309 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 359, index: 28, mask: {62, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455680242 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 405, index: 74, mask: {85, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.447561520 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 360, index: 29, mask: {15, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.457714887 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 415, index: 84, mask: {90, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.459525093 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 416, index: 85, mask: {43, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.459529143 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 414, index: 83, mask: {42, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.463525375 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 349, index: 18, mask: {57, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.463535795 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 364, index: 33, mask: {17, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.463539035 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 370, index: 39, mask: {20, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.467529466 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 347, index: 16, mask: {56, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.471536857 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 372, index: 41, mask: {21, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455535362 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 387, index: 56, mask: {76, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455547052 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 388, index: 57, mask: {29, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.475519939 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 373, index: 42, mask: {69, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.477565115 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 383, index: 52, mask: {74, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455558122 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 350, index: 19, mask: {10, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.479524820 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 345, index: 14, mask: {55, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.480789378 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 340, index: 9, mask: {5, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455569732 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 389, index: 58, mask: {77, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.483553662 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 386, index: 55, mask: {28, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.485817847 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 341, index: 10, mask: {53, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455582002 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 390, index: 59, mask: {30, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455593042 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 391, index: 60, mask: {78, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.491549564 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 407, index: 76, mask: {86, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.451572431 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 355, index: 24, mask: {60, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455614922 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 399, index: 68, mask: {82, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.495539985 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 409, index: 78, mask: {87, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.495589635 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 411, index: 80, mask: {88, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.497869751 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 412, index: 81, mask: {41, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455603842 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 392, index: 61, mask: {31, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455626752 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 400, index: 69, mask: {35, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455637782 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 401, index: 70, mask: {83, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455649472 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 402, index: 71, mask: {36, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.455659892 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 403, index: 72, mask: {84, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.467522376 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 348, index: 17, mask: {9, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.515540433 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 404, index: 73, mask: {37, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.523580855 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 366, index: 35, mask: {18, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.463523865 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 362, index: 31, mask: {16, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.527549916 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 367, index: 36, mask: {66, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.531352668 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 337, index: 6, mask: {51, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.487520713 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 393, index: 62, mask: {79, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.531545708 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 351, index: 20, mask: {58, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.483525512 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 384, index: 53, mask: {27, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.535524139 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 336, index: 5, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.535539999 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 368, index: 37, mask: {19, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.539541121 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 369, index: 38, mask: {67, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.543541092 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 376, index: 45, mask: {23, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.547537263 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 377, index: 46, mask: {71, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.551534485 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 378, index: 47, mask: {24, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.555541046 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 379, index: 48, mask: {72, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.471523497 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 371, index: 40, mask: {68, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.477527765 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 374, index: 43, mask: {22, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.477540715 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 375, index: 44, mask: {70, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.477552044 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 382, index: 51, mask: {26, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.483540492 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 385, index: 54, mask: {75, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.579530024 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 339, index: 8, mask: {52, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.480766978 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 338, index: 7, mask: {4, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.583566985 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 398, index: 67, mask: {34, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.491531634 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 406, index: 75, mask: {38, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.495565245 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 410, index: 79, mask: {40, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.503586148 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 413, index: 82, mask: {89, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.495523005 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 408, index: 77, mask: {39, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.511525931 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 346, index: 15, mask: {8, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.582098338 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 421, index: 86, mask: {91, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.583586565 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 423, index: 88, mask: {92, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.559653297 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 365, index: 34, mask: {65, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.583638875 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 428, index: 93, mask: {47, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.582139768 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 427, index: 92, mask: {94, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.582114098 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 422, index: 87, mask: {44, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.583654625 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 429, index: 94, mask: {95, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.583624245 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 425, index: 90, mask: {93, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.643534096 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 357, index: 26, mask: {61, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.582126838 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 426, index: 91, mask: {46, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.515564853 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 344, index: 13, mask: {7, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.583607425 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 424, index: 89, mask: {45, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.739260759 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 380, index: 49, mask: {25, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.743525160 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 335, index: 4, mask: {50, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.675530857 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 342, index: 11, mask: {6, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m\n\u001b[1;31m2024-05-10 20:26:41.774638613 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 343, index: 12, mask: {54, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.\u001b[m", "metrics": { "predict_time": 29.700623, "total_time": 146.741843 }, "output": "https://replicate.delivery/pbxt/Iuf79ecuMFndmkXEK2Qmu6Ue1i9y3qMHMFPHUfDTgtFrRNMLB/tmpkwa9p_pcpexels-photo-4068383_nobg.png", "started_at": "2024-05-10T20:26:37.337220Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bzk921f4d1rgp0cfcgpr9w5j8r", "cancel": "https://api.replicate.com/v1/predictions/bzk921f4d1rgp0cfcgpr9w5j8r/cancel" }, "version": "fbb788e8d4a54338e157ec412fec10d4494321ecdc5c625aa07b248c7c5163ff" }
Generated inDownloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file '/root/.u2net/u2net.onnx'. 0%| | 0.00/176M [00:00<?, ?B/s] 6%|██▍ | 11.0M/176M [00:00<00:01, 110MB/s] 13%|█████▏ | 23.2M/176M [00:00<00:01, 117MB/s] 20%|███████▊ | 35.5M/176M [00:00<00:01, 120MB/s] 27%|██████████▋ | 47.9M/176M [00:00<00:01, 122MB/s] 34%|█████████████▎ | 60.3M/176M [00:00<00:00, 122MB/s] 41%|████████████████ | 72.7M/176M [00:00<00:00, 123MB/s] 48%|██████████████████▉ | 85.3M/176M [00:00<00:00, 124MB/s] 56%|█████████████████████▋ | 97.9M/176M [00:00<00:00, 125MB/s] 63%|█████████████████████████ | 110M/176M [00:00<00:00, 123MB/s] 70%|███████████████████████████▏ | 123M/176M [00:02<00:02, 20.7MB/s] 77%|█████████████████████████████▉ | 135M/176M [00:02<00:01, 27.9MB/s] 84%|████████████████████████████████▋ | 148M/176M [00:02<00:00, 36.6MB/s] 90%|███████████████████████████████████▏ | 159M/176M [00:02<00:00, 45.0MB/s] 96%|█████████████████████████████████████▌ | 170M/176M [00:03<00:00, 53.7MB/s] 0%| | 0.00/176M [00:00<?, ?B/s] 100%|███████████████████████████████████████| 176M/176M [00:00<00:00, 1.07TB/s] 2024-05-10 20:26:41.435204346 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 331, index: 0, mask: {48, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.435218866 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 332, index: 1, mask: {1, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.435270796 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 333, index: 2, mask: {49, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.435301866 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 334, index: 3, mask: {2, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.437479511 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 352, index: 21, mask: {11, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.443579658 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 354, index: 23, mask: {12, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.443596158 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 358, index: 27, mask: {14, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.447573269 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 363, index: 32, mask: {64, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.447579709 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 361, index: 30, mask: {63, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.450436653 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 353, index: 22, mask: {59, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.443573968 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 356, index: 25, mask: {13, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.451712720 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 381, index: 50, mask: {73, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.447538309 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 359, index: 28, mask: {62, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455680242 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 405, index: 74, mask: {85, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.447561520 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 360, index: 29, mask: {15, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.457714887 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 415, index: 84, mask: {90, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.459525093 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 416, index: 85, mask: {43, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.459529143 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 414, index: 83, mask: {42, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.463525375 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 349, index: 18, mask: {57, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.463535795 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 364, index: 33, mask: {17, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.463539035 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 370, index: 39, mask: {20, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.467529466 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 347, index: 16, mask: {56, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.471536857 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 372, index: 41, mask: {21, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455535362 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 387, index: 56, mask: {76, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455547052 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 388, index: 57, mask: {29, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.475519939 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 373, index: 42, mask: {69, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.477565115 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 383, index: 52, mask: {74, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455558122 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 350, index: 19, mask: {10, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.479524820 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 345, index: 14, mask: {55, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.480789378 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 340, index: 9, mask: {5, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455569732 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 389, index: 58, mask: {77, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.483553662 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 386, index: 55, mask: {28, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.485817847 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 341, index: 10, mask: {53, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455582002 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 390, index: 59, mask: {30, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455593042 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 391, index: 60, mask: {78, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.491549564 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 407, index: 76, mask: {86, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.451572431 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 355, index: 24, mask: {60, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455614922 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 399, index: 68, mask: {82, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.495539985 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 409, index: 78, mask: {87, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.495589635 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 411, index: 80, mask: {88, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.497869751 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 412, index: 81, mask: {41, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455603842 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 392, index: 61, mask: {31, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455626752 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 400, index: 69, mask: {35, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455637782 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 401, index: 70, mask: {83, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455649472 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 402, index: 71, mask: {36, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.455659892 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 403, index: 72, mask: {84, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.467522376 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 348, index: 17, mask: {9, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.515540433 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 404, index: 73, mask: {37, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.523580855 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 366, index: 35, mask: {18, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.463523865 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 362, index: 31, mask: {16, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.527549916 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 367, index: 36, mask: {66, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.531352668 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 337, index: 6, mask: {51, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.487520713 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 393, index: 62, mask: {79, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.531545708 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 351, index: 20, mask: {58, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.483525512 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 384, index: 53, mask: {27, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.535524139 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 336, index: 5, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.535539999 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 368, index: 37, mask: {19, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.539541121 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 369, index: 38, mask: {67, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.543541092 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 376, index: 45, mask: {23, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.547537263 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 377, index: 46, mask: {71, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.551534485 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 378, index: 47, mask: {24, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.555541046 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 379, index: 48, mask: {72, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.471523497 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 371, index: 40, mask: {68, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.477527765 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 374, index: 43, mask: {22, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.477540715 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 375, index: 44, mask: {70, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.477552044 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 382, index: 51, mask: {26, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.483540492 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 385, index: 54, mask: {75, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.579530024 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 339, index: 8, mask: {52, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.480766978 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 338, index: 7, mask: {4, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.583566985 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 398, index: 67, mask: {34, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.491531634 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 406, index: 75, mask: {38, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.495565245 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 410, index: 79, mask: {40, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.503586148 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 413, index: 82, mask: {89, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.495523005 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 408, index: 77, mask: {39, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.511525931 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 346, index: 15, mask: {8, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.582098338 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 421, index: 86, mask: {91, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.583586565 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 423, index: 88, mask: {92, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.559653297 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 365, index: 34, mask: {65, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.583638875 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 428, index: 93, mask: {47, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.582139768 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 427, index: 92, mask: {94, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.582114098 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 422, index: 87, mask: {44, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.583654625 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 429, index: 94, mask: {95, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.583624245 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 425, index: 90, mask: {93, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.643534096 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 357, index: 26, mask: {61, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.582126838 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 426, index: 91, mask: {46, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.515564853 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 344, index: 13, mask: {7, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.583607425 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 424, index: 89, mask: {45, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.739260759 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 380, index: 49, mask: {25, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.743525160 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 335, index: 4, mask: {50, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.675530857 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 342, index: 11, mask: {6, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set. 2024-05-10 20:26:41.774638613 [E:onnxruntime:Default, env.cc:254 ThreadMain] pthread_setaffinity_np failed for thread: 343, index: 12, mask: {54, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
Prediction
re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3IDjymtyhpcvxrga0cfb8bta9k6egStatusSucceededSourceWebHardwareT4Total durationCreatedInput
{ "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/20240405160816018.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 re-mix-1/rembg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3", { input: { image: "https://d1plw52kc43y11.cloudfront.net/public/generations/20240405160816018.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 re-mix-1/rembg using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3", input={ "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/20240405160816018.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run re-mix-1/rembg 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": "re-mix-1/rembg:a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3", "input": { "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/20240405160816018.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-05-08T21:25:36.494368Z", "created_at": "2024-05-08T21:24:20.319000Z", "data_removed": false, "error": null, "id": "jymtyhpcvxrga0cfb8bta9k6eg", "input": { "image": "https://d1plw52kc43y11.cloudfront.net/public/generations/20240405160816018.png" }, "logs": "Downloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file '/root/.u2net/u2net.onnx'.\n 0%| | 0.00/176M [00:00<?, ?B/s]\n 2%|▊ | 3.74M/176M [00:00<00:04, 37.4MB/s]\n 5%|██ | 9.52M/176M [00:00<00:03, 49.4MB/s]\n 9%|███▍ | 15.9M/176M [00:00<00:02, 55.7MB/s]\n 13%|████▊ | 22.5M/176M [00:00<00:02, 60.1MB/s]\n 16%|██████▏ | 28.6M/176M [00:00<00:02, 58.8MB/s]\n 20%|███████▌ | 34.9M/176M [00:00<00:02, 60.4MB/s]\n 23%|████████▊ | 41.0M/176M [00:00<00:02, 60.4MB/s]\n 27%|██████████▏ | 47.4M/176M [00:00<00:02, 61.8MB/s]\n 31%|███████████▋ | 53.9M/176M [00:00<00:01, 62.6MB/s]\n 34%|████████████▉ | 60.1M/176M [00:01<00:01, 62.4MB/s]\n 38%|██████████████▍ | 66.8M/176M [00:01<00:01, 63.8MB/s]\n 42%|███████████████▊ | 73.2M/176M [00:01<00:01, 62.0MB/s]\n 45%|█████████████████▏ | 79.4M/176M [00:01<00:01, 61.3MB/s]\n 49%|██████████████████▍ | 85.6M/176M [00:01<00:01, 61.4MB/s]\n 52%|███████████████████▊ | 91.7M/176M [00:01<00:01, 60.2MB/s]\n 56%|█████████████████████▏ | 98.0M/176M [00:01<00:01, 61.0MB/s]\n 59%|███████████████████████ | 104M/176M [00:01<00:01, 61.5MB/s]\n 63%|████████████████████████▍ | 110M/176M [00:01<00:01, 60.9MB/s]\n 66%|█████████████████████████▊ | 117M/176M [00:01<00:00, 61.5MB/s]\n 70%|███████████████████████████▏ | 123M/176M [00:02<00:00, 60.7MB/s]\n 73%|████████████████████████████▌ | 129M/176M [00:02<00:00, 60.9MB/s]\n 77%|█████████████████████████████▉ | 135M/176M [00:02<00:00, 60.7MB/s]\n 80%|███████████████████████████████▎ | 141M/176M [00:02<00:00, 60.2MB/s]\n 84%|████████████████████████████████▋ | 148M/176M [00:02<00:00, 61.3MB/s]\n 87%|██████████████████████████████████ | 154M/176M [00:02<00:00, 60.5MB/s]\n 91%|███████████████████████████████████▍ | 160M/176M [00:02<00:00, 59.8MB/s]\n 94%|████████████████████████████████████▊ | 166M/176M [00:02<00:00, 60.8MB/s]\n 98%|██████████████████████████████████████▏| 172M/176M [00:02<00:00, 61.4MB/s]\n0%| | 0.00/176M [00:00<?, ?B/s]\n100%|████████████████████████████████████████| 176M/176M [00:00<00:00, 801GB/s]", "metrics": { "predict_time": 8.836479, "total_time": 76.175368 }, "output": "https://replicate.delivery/pbxt/bbQYUgRL3jZqNlHHcW4DMK7Z85ybnUedV6U0whvLa5FofZySA/tmptcjexlcy20240405160816018_nobg.png", "started_at": "2024-05-08T21:25:27.657889Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jymtyhpcvxrga0cfb8bta9k6eg", "cancel": "https://api.replicate.com/v1/predictions/jymtyhpcvxrga0cfb8bta9k6eg/cancel" }, "version": "a5ec956a2b35b8e8aa29df8c75aa355d86c7fd295781c9576436d9528ca8ccc3" }
Generated inDownloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file '/root/.u2net/u2net.onnx'. 0%| | 0.00/176M [00:00<?, ?B/s] 2%|▊ | 3.74M/176M [00:00<00:04, 37.4MB/s] 5%|██ | 9.52M/176M [00:00<00:03, 49.4MB/s] 9%|███▍ | 15.9M/176M [00:00<00:02, 55.7MB/s] 13%|████▊ | 22.5M/176M [00:00<00:02, 60.1MB/s] 16%|██████▏ | 28.6M/176M [00:00<00:02, 58.8MB/s] 20%|███████▌ | 34.9M/176M [00:00<00:02, 60.4MB/s] 23%|████████▊ | 41.0M/176M [00:00<00:02, 60.4MB/s] 27%|██████████▏ | 47.4M/176M [00:00<00:02, 61.8MB/s] 31%|███████████▋ | 53.9M/176M [00:00<00:01, 62.6MB/s] 34%|████████████▉ | 60.1M/176M [00:01<00:01, 62.4MB/s] 38%|██████████████▍ | 66.8M/176M [00:01<00:01, 63.8MB/s] 42%|███████████████▊ | 73.2M/176M [00:01<00:01, 62.0MB/s] 45%|█████████████████▏ | 79.4M/176M [00:01<00:01, 61.3MB/s] 49%|██████████████████▍ | 85.6M/176M [00:01<00:01, 61.4MB/s] 52%|███████████████████▊ | 91.7M/176M [00:01<00:01, 60.2MB/s] 56%|█████████████████████▏ | 98.0M/176M [00:01<00:01, 61.0MB/s] 59%|███████████████████████ | 104M/176M [00:01<00:01, 61.5MB/s] 63%|████████████████████████▍ | 110M/176M [00:01<00:01, 60.9MB/s] 66%|█████████████████████████▊ | 117M/176M [00:01<00:00, 61.5MB/s] 70%|███████████████████████████▏ | 123M/176M [00:02<00:00, 60.7MB/s] 73%|████████████████████████████▌ | 129M/176M [00:02<00:00, 60.9MB/s] 77%|█████████████████████████████▉ | 135M/176M [00:02<00:00, 60.7MB/s] 80%|███████████████████████████████▎ | 141M/176M [00:02<00:00, 60.2MB/s] 84%|████████████████████████████████▋ | 148M/176M [00:02<00:00, 61.3MB/s] 87%|██████████████████████████████████ | 154M/176M [00:02<00:00, 60.5MB/s] 91%|███████████████████████████████████▍ | 160M/176M [00:02<00:00, 59.8MB/s] 94%|████████████████████████████████████▊ | 166M/176M [00:02<00:00, 60.8MB/s] 98%|██████████████████████████████████████▏| 172M/176M [00:02<00:00, 61.4MB/s] 0%| | 0.00/176M [00:00<?, ?B/s] 100%|████████████████████████████████████████| 176M/176M [00:00<00:00, 801GB/s]
Want to make some of these yourself?
Run this model