diff --git a/LICENSE-BiRefNet-MIT.txt b/LICENSE-BiRefNet-MIT.txt new file mode 100644 index 0000000000000000000000000000000000000000..485921e8271834871ff2baafb892b79ef6a75e75 --- /dev/null +++ b/LICENSE-BiRefNet-MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 ZhengPeng + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/LICENSE-SAM2-Apache-2.0.txt b/LICENSE-SAM2-Apache-2.0.txt new file mode 100644 index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64 --- /dev/null +++ b/LICENSE-SAM2-Apache-2.0.txt @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..36266e3a9c90572410dc8b80f0e2848f68bb9c3a --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +--- +license: other +license_name: mixed-mit-apache-2.0 +license_link: https://huggingface.co/helloeditingmaster/master-mask-models/blob/main/LICENSE-SAM2-Apache-2.0.txt +tags: + - onnx + - background-removal + - image-segmentation + - video-object-segmentation +--- + +# Master Mask — model files + +ONNX model files downloaded by the **Master Mask** desktop app (macOS / Windows) on first launch. +The app runs fully offline after this download. These files are not meant to be used on their own. + +`manifest.json` lists every file with its size and SHA-256; the app checks each download against it. + +## Models and licenses + +| Folder | Model | License | Original source | +|---|---|---|---| +| `birefnet_lite`, `birefnet`, `birefnet_lite_2k` | BiRefNet lite / full / lite-2K | MIT ([LICENSE-BiRefNet-MIT.txt](LICENSE-BiRefNet-MIT.txt)) | Peng Zheng et al., "Bilateral Reference for High-Resolution Dichotomous Image Segmentation" — https://github.com/ZhengPeng7/BiRefNet (weights: huggingface.co/ZhengPeng7/BiRefNet, BiRefNet_lite, BiRefNet_lite-2K) | +| `sam2.1_tiny`, `sam2.1_small`, `sam2.1_base_plus`, `sam2.1_tiny_512`, `sam2.1_small_768` | SAM 2.1 hiera-tiny / small / base-plus | Apache-2.0 ([LICENSE-SAM2-Apache-2.0.txt](LICENSE-SAM2-Apache-2.0.txt)) | Meta AI, "SAM 2: Segment Anything in Images and Videos" — https://github.com/facebookresearch/sam2 | + +## Changes from the originals + +- Converted from the official PyTorch weights to ONNX by Master Mask's export tool. +- BiRefNet: two tensor reshapes are written differently (same maths) so the model runs on Apple's CoreML; + `birefnet_lite_2k` is exported at two fixed input sizes (landscape and portrait). +- SAM 2.1: split into image encoder, mask decoder, memory encoder and memory attention (for video tracking); + `*_512` / `*_768` are the same weights exported at a lower working resolution. Small constant tensors are stored + in `constants.npz` / `video_constants.npz`. + +The weights themselves are unchanged. diff --git a/birefnet/info.json b/birefnet/info.json new file mode 100644 index 0000000000000000000000000000000000000000..825083a65e0293620e288aa5e96d507fb088d077 --- /dev/null +++ b/birefnet/info.json @@ -0,0 +1,17 @@ +{ + "kind": "birefnet", + "inputs": [ + { + "file": "model.onnx", + "hw": [ + 1024, + 1024 + ] + } + ], + "skip_providers": { + "model.onnx": [ + "CoreMLExecutionProvider" + ] + } +} \ No newline at end of file diff --git a/birefnet/model.onnx b/birefnet/model.onnx new file mode 100644 index 0000000000000000000000000000000000000000..514b60f989d7ce5cd4ed96f60a1075de5beb1d47 --- /dev/null +++ b/birefnet/model.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90cc001d8cc92e721b8a0f58d9ed673d766e47fd236b28a7cda851ecac64e293 +size 930052663 diff --git a/birefnet_lite/info.json b/birefnet_lite/info.json new file mode 100644 index 0000000000000000000000000000000000000000..db3e389031925fa547e9f47b23e558324a7f39bf --- /dev/null +++ b/birefnet_lite/info.json @@ -0,0 +1,12 @@ +{ + "kind": "birefnet", + "inputs": [ + { + "file": "model.onnx", + "hw": [ + 1024, + 1024 + ] + } + ] +} \ No newline at end of file diff --git a/birefnet_lite/model.onnx b/birefnet_lite/model.onnx new file mode 100644 index 0000000000000000000000000000000000000000..ac4abfe5ad78103db0982fc9d9351c38ed163968 --- /dev/null +++ b/birefnet_lite/model.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:726719ea89890dbcf706b783b8ee0e96aa9584b30e9ffc0d795fb5f586b664fc +size 181073343 diff --git a/birefnet_lite_2k/info.json b/birefnet_lite_2k/info.json new file mode 100644 index 0000000000000000000000000000000000000000..0352be30a4f26bff3fe0096cac7724c4e8d4de45 --- /dev/null +++ b/birefnet_lite_2k/info.json @@ -0,0 +1,21 @@ +{ + "kind": "birefnet", + "inputs": [ + { + "file": "model_1440x2560.onnx", + "hw": [ + 1440, + 2560 + ] + }, + { + "file": "model_2560x1440.onnx", + "hw": [ + 2560, + 1440 + ] + } + ], + "coreml_min_ram_gb": 32, + "coreml_units": "ALL" +} \ No newline at end of file diff --git a/birefnet_lite_2k/model_1440x2560.onnx b/birefnet_lite_2k/model_1440x2560.onnx new file mode 100644 index 0000000000000000000000000000000000000000..84663b01aab418998db14c1d3447c9f81675689f --- /dev/null +++ b/birefnet_lite_2k/model_1440x2560.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98712c671675bba0f7845ffcea623b983dedec10d2327e7149304ab2ebbb5ce7 +size 181080713 diff --git a/birefnet_lite_2k/model_2560x1440.onnx b/birefnet_lite_2k/model_2560x1440.onnx new file mode 100644 index 0000000000000000000000000000000000000000..ff00172cb0b905e63db089c4d6f73ee185eac802 --- /dev/null +++ b/birefnet_lite_2k/model_2560x1440.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12ce2e27f243838697a12dc7174595b23322de0b97bfa0d00c6d9162af8dc435 +size 181080713 diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..c6699b8c0c78c9eca457051eea66721cbed9fbe3 --- /dev/null +++ b/manifest.json @@ -0,0 +1,193 @@ +{ + "version": 1, + "files": { + "birefnet/info.json": { + "size": 217, + "sha256": "bf5f97ae58615dfc42e81463211fa322f9450ffb6f026b6669d12566f9efa382" + }, + "birefnet/model.onnx": { + "size": 930052663, + "sha256": "90cc001d8cc92e721b8a0f58d9ed673d766e47fd236b28a7cda851ecac64e293" + }, + "birefnet_lite/info.json": { + "size": 132, + "sha256": "53d27210e145ee3dbd2149f73051111997863e91bcda5f0a70169bdb697bdd4d" + }, + "birefnet_lite/model.onnx": { + "size": 181073343, + "sha256": "726719ea89890dbcf706b783b8ee0e96aa9584b30e9ffc0d795fb5f586b664fc" + }, + "birefnet_lite_2k/info.json": { + "size": 294, + "sha256": "1eac7f093fcb6789b7a11278ca1e722df435376b61f84a05fd2ff9cce0796e3c" + }, + "birefnet_lite_2k/model_1440x2560.onnx": { + "size": 181080713, + "sha256": "98712c671675bba0f7845ffcea623b983dedec10d2327e7149304ab2ebbb5ce7" + }, + "birefnet_lite_2k/model_2560x1440.onnx": { + "size": 181080713, + "sha256": "12ce2e27f243838697a12dc7174595b23322de0b97bfa0d00c6d9162af8dc435" + }, + "sam2.1_base_plus/constants.npz": { + "size": 2394, + "sha256": "d3885e44941cbd8b9313e46d04b904b0bc83c61ef5c54d96885a98332b4627a2" + }, + "sam2.1_base_plus/image_encoder.onnx": { + "size": 277482461, + "sha256": "a4e9ebc3f1e5851c8a8289d118d9e009c3e4268948d08a4a03b0d2341626216c" + }, + "sam2.1_base_plus/info.json": { + "size": 198, + "sha256": "ba4af978fa9257750c806d9c5da8872f2bef7888b2e65775f7a2cf9ac20bcccf" + }, + "sam2.1_base_plus/mask_decoder.onnx": { + "size": 17037816, + "sha256": "5b322ceb5b0f688b58b1d3ecbdf93cee01069199497b62cbda3b88b741a5e999" + }, + "sam2.1_base_plus/memory_attention.onnx": { + "size": 28197367, + "sha256": "95ea481e8036021ba88d436950513681d89a5d26562e0c0763dbcb5ce023903f" + }, + "sam2.1_base_plus/memory_attention_fixed.onnx": { + "size": 28012787, + "sha256": "7eb6fb220be34f259152b0b9312d597d497a719135ff61d21651a7242e717115" + }, + "sam2.1_base_plus/memory_encoder.onnx": { + "size": 5594421, + "sha256": "c43e25eb14fdb85336088ed4c79cc345491182df58692035052eff1107b690d6" + }, + "sam2.1_base_plus/video_constants.npz": { + "size": 863806, + "sha256": "a06a38b8dc05a85dbbd6a9114f47d5afb77eeb7b05a591c91a26f916388cf8d3" + }, + "sam2.1_small/constants.npz": { + "size": 2394, + "sha256": "85974e55f3a4956dc606c380aaae1451e7d8f5f5fae2c858208dd08915100654" + }, + "sam2.1_small/image_encoder.onnx": { + "size": 138024830, + "sha256": "41e5465dccb43027c6587117dab3aeac8e3ae87fc2c1036081ee9f6f2394af0a" + }, + "sam2.1_small/info.json": { + "size": 198, + "sha256": "ba4af978fa9257750c806d9c5da8872f2bef7888b2e65775f7a2cf9ac20bcccf" + }, + "sam2.1_small/mask_decoder.onnx": { + "size": 17037816, + "sha256": "e2dc0eaba75e6924daed99d2ce37dcf500655531f574087dae486182561d5dc8" + }, + "sam2.1_small/memory_attention.onnx": { + "size": 28197367, + "sha256": "904b89c0787cbfebc979b083f815d037d249590a3b2a69434dc9e2b46cf7df3a" + }, + "sam2.1_small/memory_attention_fixed.onnx": { + "size": 28012787, + "sha256": "df48e420289d363794d83cb63aac2db87655586376adcdc2ae5d2352d42093b5" + }, + "sam2.1_small/memory_encoder.onnx": { + "size": 5594387, + "sha256": "b738a54723fcd7fcd2a5fcf425c5b5e422025cf6c06d09dccab8f7526849445c" + }, + "sam2.1_small/video_constants.npz": { + "size": 863806, + "sha256": "06b406876ccd841eaf6abb024b0ad8a80b5186e96b36582e2d26179dce357870" + }, + "sam2.1_small_768/constants.npz": { + "size": 2394, + "sha256": "85974e55f3a4956dc606c380aaae1451e7d8f5f5fae2c858208dd08915100654" + }, + "sam2.1_small_768/image_encoder.onnx": { + "size": 138024830, + "sha256": "724560379177c57ea4147ed69c65a97aad7d9245b49cdf994ffcd7c32084f029" + }, + "sam2.1_small_768/info.json": { + "size": 197, + "sha256": "4dc50a788cf28e5670e54f2a0f812b2b83cf06e857ced088052bd05f433a3c43" + }, + "sam2.1_small_768/mask_decoder.onnx": { + "size": 17023478, + "sha256": "dbaf18c55cae069b9a9051d3ce7fea3fc9dada2538c08c1b96e224329ebfb46f" + }, + "sam2.1_small_768/memory_attention.onnx": { + "size": 26362355, + "sha256": "056f96636b969b8964e072de8b6eb5ce1cda47c7aa282ce6458f4cb715fb17a0" + }, + "sam2.1_small_768/memory_attention_fixed.onnx": { + "size": 26177772, + "sha256": "123d7f1cc9eeeabd956d1fe3063dbba7e41636a23cfbe091ddfdc3c827b63fc6" + }, + "sam2.1_small_768/memory_encoder.onnx": { + "size": 5594259, + "sha256": "16cb586c932b578d36bbf7e05f606bd199ff9207e1f26de51a9a581d2ceb24b8" + }, + "sam2.1_small_768/video_constants.npz": { + "size": 863806, + "sha256": "06b406876ccd841eaf6abb024b0ad8a80b5186e96b36582e2d26179dce357870" + }, + "sam2.1_tiny/constants.npz": { + "size": 2394, + "sha256": "872e9be3364b2d6bca554a25d6906016e907a2367bb9c4c9a98b87b0f1c0821f" + }, + "sam2.1_tiny/image_encoder.onnx": { + "size": 109476126, + "sha256": "417d7e732bb6be19eb5748f7bc6f42c06131bfbcbf5cc2449d9a54f21d32e0ed" + }, + "sam2.1_tiny/info.json": { + "size": 198, + "sha256": "ba4af978fa9257750c806d9c5da8872f2bef7888b2e65775f7a2cf9ac20bcccf" + }, + "sam2.1_tiny/mask_decoder.onnx": { + "size": 17037816, + "sha256": "17b33c597e15a1b0f1e8db96e48157f94f075ad176bf5669444759cc29d70154" + }, + "sam2.1_tiny/memory_attention.onnx": { + "size": 28197367, + "sha256": "f12c8c502140dfd5289e445c08fbfd1011e51d669d492537422f8e7c1f9e0a08" + }, + "sam2.1_tiny/memory_attention_fixed.onnx": { + "size": 28012787, + "sha256": "20e70ec4e1a212716d1b2d41238c26949ce801b165f7fbb552e84f483f5a4cd8" + }, + "sam2.1_tiny/memory_encoder.onnx": { + "size": 5594387, + "sha256": "a2df17bb36f4e99aa58b19d2e23154e0977518b06ca8294064935989cc732739" + }, + "sam2.1_tiny/video_constants.npz": { + "size": 863806, + "sha256": "9aa23059499560eb026b303ec70444db0a9764c1fcad7ea1a5673b8d0068e6f7" + }, + "sam2.1_tiny_512/constants.npz": { + "size": 2394, + "sha256": "872e9be3364b2d6bca554a25d6906016e907a2367bb9c4c9a98b87b0f1c0821f" + }, + "sam2.1_tiny_512/image_encoder.onnx": { + "size": 109476126, + "sha256": "10bb2af85e4765979734f9b9403d8b41877103d8038476205a594eeb3e4107ae" + }, + "sam2.1_tiny_512/info.json": { + "size": 197, + "sha256": "702fb7039bc899c1217937ca48fd5676df0428a4ab08c7a63c601d6c0ccf71ba" + }, + "sam2.1_tiny_512/mask_decoder.onnx": { + "size": 17013234, + "sha256": "5922b61392fc44786fbd6edbc10dd323c910943698a4aeb74514164703c19f62" + }, + "sam2.1_tiny_512/memory_attention.onnx": { + "size": 25051635, + "sha256": "7267407e08186c35495c0a00306ce5f878e78cc26cddf895e6ac9134427ac460" + }, + "sam2.1_tiny_512/memory_attention_fixed.onnx": { + "size": 24867052, + "sha256": "df33e0f0b7eefef8dea96cd18eb540c2645a1b776b10d7410ec3fbe8f512ae1d" + }, + "sam2.1_tiny_512/memory_encoder.onnx": { + "size": 5594131, + "sha256": "763dd417f4cf00878b542d034058a7cf5c344c3a664cdbd1d627c34c73279132" + }, + "sam2.1_tiny_512/video_constants.npz": { + "size": 863806, + "sha256": "9aa23059499560eb026b303ec70444db0a9764c1fcad7ea1a5673b8d0068e6f7" + } + } +} \ No newline at end of file diff --git a/sam2.1_base_plus/constants.npz b/sam2.1_base_plus/constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..4dae15a06defa4db23389ab740bbe89764e35108 --- /dev/null +++ b/sam2.1_base_plus/constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3885e44941cbd8b9313e46d04b904b0bc83c61ef5c54d96885a98332b4627a2 +size 2394 diff --git a/sam2.1_base_plus/image_encoder.onnx b/sam2.1_base_plus/image_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..8ea6130a4cb418b3541c273c8ead341b621d226f --- /dev/null +++ b/sam2.1_base_plus/image_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4e9ebc3f1e5851c8a8289d118d9e009c3e4268948d08a4a03b0d2341626216c +size 277482461 diff --git a/sam2.1_base_plus/info.json b/sam2.1_base_plus/info.json new file mode 100644 index 0000000000000000000000000000000000000000..abfaa52f58cd05ff497579326ba8326ada593308 --- /dev/null +++ b/sam2.1_base_plus/info.json @@ -0,0 +1,12 @@ +{ + "kind": "sam2", + "size": 1024, + "skip_providers": { + "mask_decoder.onnx": [ + "CoreMLExecutionProvider" + ], + "memory_attention.onnx": [ + "CoreMLExecutionProvider" + ] + } +} \ No newline at end of file diff --git a/sam2.1_base_plus/mask_decoder.onnx b/sam2.1_base_plus/mask_decoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..aa8b38ae1f8ff78054dc440e4921d4b8985c59de --- /dev/null +++ b/sam2.1_base_plus/mask_decoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b322ceb5b0f688b58b1d3ecbdf93cee01069199497b62cbda3b88b741a5e999 +size 17037816 diff --git a/sam2.1_base_plus/memory_attention.onnx b/sam2.1_base_plus/memory_attention.onnx new file mode 100644 index 0000000000000000000000000000000000000000..b0020d67a27b41d5e367325e0e4f8fd81851a845 --- /dev/null +++ b/sam2.1_base_plus/memory_attention.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95ea481e8036021ba88d436950513681d89a5d26562e0c0763dbcb5ce023903f +size 28197367 diff --git a/sam2.1_base_plus/memory_attention_fixed.onnx b/sam2.1_base_plus/memory_attention_fixed.onnx new file mode 100644 index 0000000000000000000000000000000000000000..8bc752c526380e8811e54fcab2b2c65819c6c8dc --- /dev/null +++ b/sam2.1_base_plus/memory_attention_fixed.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7eb6fb220be34f259152b0b9312d597d497a719135ff61d21651a7242e717115 +size 28012787 diff --git a/sam2.1_base_plus/memory_encoder.onnx b/sam2.1_base_plus/memory_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..3219178de190ea4569df55b4fcd7c1651c80948a --- /dev/null +++ b/sam2.1_base_plus/memory_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c43e25eb14fdb85336088ed4c79cc345491182df58692035052eff1107b690d6 +size 5594421 diff --git a/sam2.1_base_plus/video_constants.npz b/sam2.1_base_plus/video_constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..64f235315f4561be37ab50b1e2d95609795abd88 --- /dev/null +++ b/sam2.1_base_plus/video_constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a06a38b8dc05a85dbbd6a9114f47d5afb77eeb7b05a591c91a26f916388cf8d3 +size 863806 diff --git a/sam2.1_small/constants.npz b/sam2.1_small/constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..0d85c6931c0fabdf4cf13a1e464a66515c70555a --- /dev/null +++ b/sam2.1_small/constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85974e55f3a4956dc606c380aaae1451e7d8f5f5fae2c858208dd08915100654 +size 2394 diff --git a/sam2.1_small/image_encoder.onnx b/sam2.1_small/image_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..e47b71431f407e30846a96aeefd9ef44d23e3e9f --- /dev/null +++ b/sam2.1_small/image_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41e5465dccb43027c6587117dab3aeac8e3ae87fc2c1036081ee9f6f2394af0a +size 138024830 diff --git a/sam2.1_small/info.json b/sam2.1_small/info.json new file mode 100644 index 0000000000000000000000000000000000000000..abfaa52f58cd05ff497579326ba8326ada593308 --- /dev/null +++ b/sam2.1_small/info.json @@ -0,0 +1,12 @@ +{ + "kind": "sam2", + "size": 1024, + "skip_providers": { + "mask_decoder.onnx": [ + "CoreMLExecutionProvider" + ], + "memory_attention.onnx": [ + "CoreMLExecutionProvider" + ] + } +} \ No newline at end of file diff --git a/sam2.1_small/mask_decoder.onnx b/sam2.1_small/mask_decoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..5792912f29e3200dfd974484c1d590adb604c508 --- /dev/null +++ b/sam2.1_small/mask_decoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2dc0eaba75e6924daed99d2ce37dcf500655531f574087dae486182561d5dc8 +size 17037816 diff --git a/sam2.1_small/memory_attention.onnx b/sam2.1_small/memory_attention.onnx new file mode 100644 index 0000000000000000000000000000000000000000..eea55ae8a457d7009ead205c8478cf219bb111cf --- /dev/null +++ b/sam2.1_small/memory_attention.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:904b89c0787cbfebc979b083f815d037d249590a3b2a69434dc9e2b46cf7df3a +size 28197367 diff --git a/sam2.1_small/memory_attention_fixed.onnx b/sam2.1_small/memory_attention_fixed.onnx new file mode 100644 index 0000000000000000000000000000000000000000..e961498616c58ff051542254d67735ec2beac903 --- /dev/null +++ b/sam2.1_small/memory_attention_fixed.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df48e420289d363794d83cb63aac2db87655586376adcdc2ae5d2352d42093b5 +size 28012787 diff --git a/sam2.1_small/memory_encoder.onnx b/sam2.1_small/memory_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..f99bae1d5983bec9e379f4925b487a5331dfc90d --- /dev/null +++ b/sam2.1_small/memory_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b738a54723fcd7fcd2a5fcf425c5b5e422025cf6c06d09dccab8f7526849445c +size 5594387 diff --git a/sam2.1_small/video_constants.npz b/sam2.1_small/video_constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..ba1f549d27540a16aeacdcdb93c4ab406b70e8fd --- /dev/null +++ b/sam2.1_small/video_constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06b406876ccd841eaf6abb024b0ad8a80b5186e96b36582e2d26179dce357870 +size 863806 diff --git a/sam2.1_small_768/constants.npz b/sam2.1_small_768/constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..0d85c6931c0fabdf4cf13a1e464a66515c70555a --- /dev/null +++ b/sam2.1_small_768/constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85974e55f3a4956dc606c380aaae1451e7d8f5f5fae2c858208dd08915100654 +size 2394 diff --git a/sam2.1_small_768/image_encoder.onnx b/sam2.1_small_768/image_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..f49a7e3ccec374577d7a9f839b7dc549c94ea3d2 --- /dev/null +++ b/sam2.1_small_768/image_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:724560379177c57ea4147ed69c65a97aad7d9245b49cdf994ffcd7c32084f029 +size 138024830 diff --git a/sam2.1_small_768/info.json b/sam2.1_small_768/info.json new file mode 100644 index 0000000000000000000000000000000000000000..cbbfce4c8277d66174399b4429ea21174c325126 --- /dev/null +++ b/sam2.1_small_768/info.json @@ -0,0 +1,12 @@ +{ + "kind": "sam2", + "size": 768, + "skip_providers": { + "mask_decoder.onnx": [ + "CoreMLExecutionProvider" + ], + "memory_attention.onnx": [ + "CoreMLExecutionProvider" + ] + } +} \ No newline at end of file diff --git a/sam2.1_small_768/mask_decoder.onnx b/sam2.1_small_768/mask_decoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..4eb9e24c1e97d5465c1940417a4bb898a90e3fba --- /dev/null +++ b/sam2.1_small_768/mask_decoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbaf18c55cae069b9a9051d3ce7fea3fc9dada2538c08c1b96e224329ebfb46f +size 17023478 diff --git a/sam2.1_small_768/memory_attention.onnx b/sam2.1_small_768/memory_attention.onnx new file mode 100644 index 0000000000000000000000000000000000000000..3fb7780cbeb7aa2d78a73cf73dd5e63f367d956e --- /dev/null +++ b/sam2.1_small_768/memory_attention.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:056f96636b969b8964e072de8b6eb5ce1cda47c7aa282ce6458f4cb715fb17a0 +size 26362355 diff --git a/sam2.1_small_768/memory_attention_fixed.onnx b/sam2.1_small_768/memory_attention_fixed.onnx new file mode 100644 index 0000000000000000000000000000000000000000..6ebf9ee2c4beeb8a784c212180a5f0ae775e1c91 --- /dev/null +++ b/sam2.1_small_768/memory_attention_fixed.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:123d7f1cc9eeeabd956d1fe3063dbba7e41636a23cfbe091ddfdc3c827b63fc6 +size 26177772 diff --git a/sam2.1_small_768/memory_encoder.onnx b/sam2.1_small_768/memory_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..a91883d6107ad71ee730a04618683b724ca1f829 --- /dev/null +++ b/sam2.1_small_768/memory_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16cb586c932b578d36bbf7e05f606bd199ff9207e1f26de51a9a581d2ceb24b8 +size 5594259 diff --git a/sam2.1_small_768/video_constants.npz b/sam2.1_small_768/video_constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..ba1f549d27540a16aeacdcdb93c4ab406b70e8fd --- /dev/null +++ b/sam2.1_small_768/video_constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06b406876ccd841eaf6abb024b0ad8a80b5186e96b36582e2d26179dce357870 +size 863806 diff --git a/sam2.1_tiny/constants.npz b/sam2.1_tiny/constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..a53cfd3c0b252931652ec3ffaf15b187eda6e238 --- /dev/null +++ b/sam2.1_tiny/constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:872e9be3364b2d6bca554a25d6906016e907a2367bb9c4c9a98b87b0f1c0821f +size 2394 diff --git a/sam2.1_tiny/image_encoder.onnx b/sam2.1_tiny/image_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..457b9fab396a67ec399c4782b7ebc7c7c6d4a7d4 --- /dev/null +++ b/sam2.1_tiny/image_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:417d7e732bb6be19eb5748f7bc6f42c06131bfbcbf5cc2449d9a54f21d32e0ed +size 109476126 diff --git a/sam2.1_tiny/info.json b/sam2.1_tiny/info.json new file mode 100644 index 0000000000000000000000000000000000000000..abfaa52f58cd05ff497579326ba8326ada593308 --- /dev/null +++ b/sam2.1_tiny/info.json @@ -0,0 +1,12 @@ +{ + "kind": "sam2", + "size": 1024, + "skip_providers": { + "mask_decoder.onnx": [ + "CoreMLExecutionProvider" + ], + "memory_attention.onnx": [ + "CoreMLExecutionProvider" + ] + } +} \ No newline at end of file diff --git a/sam2.1_tiny/mask_decoder.onnx b/sam2.1_tiny/mask_decoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..d6ccf4777ec22ae4e4349fee469ddf0095646dfe --- /dev/null +++ b/sam2.1_tiny/mask_decoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17b33c597e15a1b0f1e8db96e48157f94f075ad176bf5669444759cc29d70154 +size 17037816 diff --git a/sam2.1_tiny/memory_attention.onnx b/sam2.1_tiny/memory_attention.onnx new file mode 100644 index 0000000000000000000000000000000000000000..e432129ae41c7a3fe1cd37eed299b471f168715e --- /dev/null +++ b/sam2.1_tiny/memory_attention.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f12c8c502140dfd5289e445c08fbfd1011e51d669d492537422f8e7c1f9e0a08 +size 28197367 diff --git a/sam2.1_tiny/memory_attention_fixed.onnx b/sam2.1_tiny/memory_attention_fixed.onnx new file mode 100644 index 0000000000000000000000000000000000000000..d380aac915c085e8252375a0c43d722dbc584ee5 --- /dev/null +++ b/sam2.1_tiny/memory_attention_fixed.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20e70ec4e1a212716d1b2d41238c26949ce801b165f7fbb552e84f483f5a4cd8 +size 28012787 diff --git a/sam2.1_tiny/memory_encoder.onnx b/sam2.1_tiny/memory_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..0afa1bfee965d024903420d3bd91101f51759a4f --- /dev/null +++ b/sam2.1_tiny/memory_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2df17bb36f4e99aa58b19d2e23154e0977518b06ca8294064935989cc732739 +size 5594387 diff --git a/sam2.1_tiny/video_constants.npz b/sam2.1_tiny/video_constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..a20112cbbb87cc143cab93ce0c2a3a4e7b9f16da --- /dev/null +++ b/sam2.1_tiny/video_constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9aa23059499560eb026b303ec70444db0a9764c1fcad7ea1a5673b8d0068e6f7 +size 863806 diff --git a/sam2.1_tiny_512/constants.npz b/sam2.1_tiny_512/constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..a53cfd3c0b252931652ec3ffaf15b187eda6e238 --- /dev/null +++ b/sam2.1_tiny_512/constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:872e9be3364b2d6bca554a25d6906016e907a2367bb9c4c9a98b87b0f1c0821f +size 2394 diff --git a/sam2.1_tiny_512/image_encoder.onnx b/sam2.1_tiny_512/image_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..cfba8036288765d02924a78176112235f0e496c6 --- /dev/null +++ b/sam2.1_tiny_512/image_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10bb2af85e4765979734f9b9403d8b41877103d8038476205a594eeb3e4107ae +size 109476126 diff --git a/sam2.1_tiny_512/info.json b/sam2.1_tiny_512/info.json new file mode 100644 index 0000000000000000000000000000000000000000..f1b54bc448a69bad3d0e62e5364b1cd20834507b --- /dev/null +++ b/sam2.1_tiny_512/info.json @@ -0,0 +1,12 @@ +{ + "kind": "sam2", + "size": 512, + "skip_providers": { + "mask_decoder.onnx": [ + "CoreMLExecutionProvider" + ], + "memory_attention.onnx": [ + "CoreMLExecutionProvider" + ] + } +} \ No newline at end of file diff --git a/sam2.1_tiny_512/mask_decoder.onnx b/sam2.1_tiny_512/mask_decoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..5ab902ba328f3f4f7b07827d584d0a4ae8f707f9 --- /dev/null +++ b/sam2.1_tiny_512/mask_decoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5922b61392fc44786fbd6edbc10dd323c910943698a4aeb74514164703c19f62 +size 17013234 diff --git a/sam2.1_tiny_512/memory_attention.onnx b/sam2.1_tiny_512/memory_attention.onnx new file mode 100644 index 0000000000000000000000000000000000000000..6037ff92c4d62d5c2a0eb82e245a01e6fa4dfcc7 --- /dev/null +++ b/sam2.1_tiny_512/memory_attention.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7267407e08186c35495c0a00306ce5f878e78cc26cddf895e6ac9134427ac460 +size 25051635 diff --git a/sam2.1_tiny_512/memory_attention_fixed.onnx b/sam2.1_tiny_512/memory_attention_fixed.onnx new file mode 100644 index 0000000000000000000000000000000000000000..f019cf7d3454d5887c9fd8fdf5eeaacaa477bfe3 --- /dev/null +++ b/sam2.1_tiny_512/memory_attention_fixed.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df33e0f0b7eefef8dea96cd18eb540c2645a1b776b10d7410ec3fbe8f512ae1d +size 24867052 diff --git a/sam2.1_tiny_512/memory_encoder.onnx b/sam2.1_tiny_512/memory_encoder.onnx new file mode 100644 index 0000000000000000000000000000000000000000..b9b830d8a892f12b3909d52477dc807973d0de64 --- /dev/null +++ b/sam2.1_tiny_512/memory_encoder.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:763dd417f4cf00878b542d034058a7cf5c344c3a664cdbd1d627c34c73279132 +size 5594131 diff --git a/sam2.1_tiny_512/video_constants.npz b/sam2.1_tiny_512/video_constants.npz new file mode 100644 index 0000000000000000000000000000000000000000..a20112cbbb87cc143cab93ce0c2a3a4e7b9f16da --- /dev/null +++ b/sam2.1_tiny_512/video_constants.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9aa23059499560eb026b303ec70444db0a9764c1fcad7ea1a5673b8d0068e6f7 +size 863806