diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..dcad1722945ce5447945a78e0f3aac4943c38b06 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +validation/random.png filter=lfs diff=lfs merge=lfs -text diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md new file mode 100644 index 0000000000000000000000000000000000000000..f2f80c455ff38c82a874bd2b02aec60fa9d33a13 --- /dev/null +++ b/ATTRIBUTION.md @@ -0,0 +1,55 @@ +# ViT Base Patch16-224 + +Internal EIDORA development candidate. + +## Original model + +Google ViT Base Patch16-224. + +https://huggingface.co/google/vit-base-patch16-224 + +Pinned revision: 3f49326eb077187dfe1c2a2bb15fbd74e6ab91e3 + +License: Apache 2.0. + +## Training + +ImageNet-21k supervised pretraining, followed by ImageNet-1k fine-tuning. + +## EIDORA adaptation + +The original classification head is excluded. The final-layer CLS representation is L2-normalized to produce a 768-dimensional image embedding. + +## Input and output + +- Modality: image. +- Input: one RGB image at 224 x 224. +- Resize: bilinear stretch. +- Output: one normalized 768-dimensional vector. +- Similarity: cosine. + +Grayscale images are converted to RGB. Transparent images are composited onto black. EXIF orientation is applied before resizing. + +## Research applications + +Visual similarity, image retrieval, exploratory clustering and comparison with self-supervised representations such as DINO. + +## Limitations + +The checkpoint reflects the visual distribution and classification objectives of ImageNet. It does not directly process audio, video or text. Square stretching changes non-square aspect ratios. The embedding does not provide classification predictions or spatial localization. + +Validation uses original generated image fixtures and an additional internal natural image. The internal image is not distributed. + +Final researcher-facing model card pending. + +## Citation + +```bibtex +@inproceedings{dosovitskiy2021image, + author={Dosovitskiy, Alexey and others}, + title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale}, + booktitle={International Conference on Learning Representations}, + year={2021}, + url={https://arxiv.org/abs/2010.11929} +} +``` diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + + 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..1d83334e3161bb1929ab28a905f9ca3313672288 --- /dev/null +++ b/README.md @@ -0,0 +1,82 @@ +--- +library_name: onnx +pipeline_tag: feature-extraction +tags: +- eidora +- eidora-model-zoo +- onnx +- onnxruntime +- embeddings +- image +license: apache-2.0 +base_model: google/vit-base-patch16-224 +--- + +# ViT Base Patch16-224 — Image Embeddings + +**Images · Supervised vision transformer · Visual comparison** + +This Vision Transformer learns image representations through supervised classification. EIDORA returns its final-layer CLS representation instead of class scores. + +- **Useful for:** Exploring visual similarities and comparing supervised transformer features with DINO or CNN models. +- **Example data:** Collection photographs, object images and digitized illustrations. +- **Main limitation:** ImageNet categories may not capture specialist cultural or historical distinctions. The model does not locate objects or produce class predictions. +- **Input size:** Each image is prepared at 224 × 224 pixels. + +## Prepare your data + +- **Provide image files.** Use JPEG (`.jpg`, `.jpeg`), PNG, BMP, GIF, TIFF (`.tif`, `.tiff`), or WebP, with one image for each item you want to compare. Add the files, a folder, or a ZIP archive as a Media Source, then select that source when running the model. Convert PDF pages or other unsupported document formats to individual images beforehand. +- **Select the frame or page.** EIDORA reads only the first frame of an animated image and the first page of a multipage image, including GIF and TIFF files. Export other frames or pages as separate image files when they should be represented. +- **Let EIDORA prepare the images.** EIDORA applies stored image orientation, converts to RGB, and places transparent pixels over a black background with the published defaults. It rescales and normalizes pixel values before creating the ONNX input; no manual resizing or normalization is required. +- **Check the model crop or resize.** The default stretches the image to 224 × 224 pixels, which changes the proportions of non-square images. Check the proportions of the prepared image when interpreting similarities. +- **Check image quality.** Borders, backgrounds, damage, and reproduction quality may affect similarities. Crop individual details beforehand when those details should be separate items. + +Inspect the original images to assess what apparent similarities mean. Groups in a projection do not automatically establish a shared subject, authorship, date, or provenance. + +## Technical details + +| Property | Value | +| --- | --- | +| Modality | Image | +| Embedding | One 768-dimensional vector per image | +| Architecture | Vision Transformer Base; 12 layers, 12 attention heads, 16-pixel patches | +| Input size | 224 × 224 pixels | +| Preparation | Stretch to 224 × 224; bilinear interpolation; NCHW | +| Pixel normalization | Rescale by 1/255; mean `[0.5, 0.5, 0.5]`; standard deviation `[0.5, 0.5, 0.5]` | +| Pooling | Final-layer CLS token | +| Normalization and comparison | L2 normalization; cosine similarity | +| Input tensors | `pixel_values`; float32, `[1, 3, 224, 224]` | +| Output tensor | `embedding`; float32, `[1, 768]` | +| Runtime format | ONNX, opset 17 | +| Package version | 1.0.0 | +| Minimum EIDORA version | 0.3.0 | +| Model graph / package size | Approximately 343 MB / 353 MB | +| Declared execution providers | CUDA, CPU, CoreML | + +Declared providers depend on the installed runtime, operating system, and hardware; this list does not establish that each provider has been tested. + +## Source and citation + +- **Upstream checkpoint:** [`google/vit-base-patch16-224`](https://huggingface.co/google/vit-base-patch16-224). +- **Pinned revision:** `3f49326eb077187dfe1c2a2bb15fbd74e6ab91e3`. + +**Training data:** The [pinned upstream checkpoint card](https://huggingface.co/google/vit-base-patch16-224/blob/3f49326eb077187dfe1c2a2bb15fbd74e6ab91e3/README.md#training-data) identifies supervised pretraining on ImageNet-21K followed by fine-tuning on ImageNet-1K at 224 × 224 pixels. The [original paper](https://arxiv.org/abs/2010.11929) describes the Vision Transformer architecture. The pinned README confirms both training stages; it does not supply a complete image manifest. + +The upstream card credits the original Google researchers and Ross Wightman for the earlier weight conversion. EIDORA removes the classification head, extracts the 768-dimensional final CLS token and L2-normalizes it. No additional training is declared. + +**License:** Apache-2.0 is listed in the pinned upstream repository and the supplied package specification. Retain attribution and applicable notices. + +- **Reference:** [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://arxiv.org/abs/2010.11929) + +**BibTeX:** + +```bibtex +@inproceedings{dosovitskiy2021image, + title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale}, + author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil}, + booktitle={ICLR}, + year={2021} +} +``` + +Package settings are recorded in [config.yaml](config.yaml). See the [EIDORA website](https://www.eidora.org/) for application guidance. diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d31dc7809563ba804ceae01fbedaa803bab34d50 --- /dev/null +++ b/config.yaml @@ -0,0 +1,256 @@ +schema_version: 3 +id: eidora/image-vit-base-patch16-224 +name: ViT_Base_Patch16_224 +version: 1.0.0 +modality: image +license: apache-2.0 +bibtex: "@inproceedings{dosovitskiy2021image,\n author={Dosovitskiy, Alexey and others},\n\ + \ title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale},\n\ + \ booktitle={International Conference on Learning Representations},\n year={2021},\n\ + \ url={https://arxiv.org/abs/2010.11929}\n}" +compatibility: + min_eidora_version: 0.3.0 +artifacts: +- path: ATTRIBUTION.md + sha256: b8929ea2ca070a63f55f04086637dac5be99ae2a0ce62144d60a201437a0f343 + role: asset +- path: LICENSE + sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 + role: asset +- path: conversion_report.json + sha256: 9c6a79e3a1c7720e446e69b7926792b551a3dfb279b708aecdf6b650185c807d + role: asset +- path: model.onnx + sha256: e540615bc94389cb8de1acd345af02e95fe25eac3223b2ca5d75a16232493739 + role: graph +- path: validation.yaml + sha256: 0b438412910fcdc61371bd47de80062a7221f47e638033a58c260519c19b4c53 + role: asset +- path: validation/bright.png + sha256: 0f573a5f9735ef250a5be959f1f918591900ee98bbb7cc31d4ab3e9e76a7cda4 + role: asset +- path: validation/bright_embedding.npy + sha256: ab00da0889019ae6b54fcf1ab91e3ee3836a221d16ff6094a74fd02d17353243 + role: asset +- path: validation/bright_pixel_values.npy + sha256: 433ce2bcaf244728436df32a44b7a337340b3069afe3b2240e35d90b54086ee9 + role: asset +- path: validation/dark.png + sha256: 37d26bd048c8f0d37fc1f9594d6a24ca56c62e67e4e8fd1b2ea31e15ad6648cf + role: asset +- path: validation/dark_embedding.npy + sha256: 08f353917f39d3721fffaf6593e1e65297ec62405dc59f0b44c750cf1eb5119f + role: asset +- path: validation/dark_pixel_values.npy + sha256: 00e17dd7cd2d7bcf19b9c2cb2d23656d3f87c06c7094aee8d3bde34b7f22c092 + role: asset +- path: validation/exif_orientation.jpg + sha256: 214cb3c3da9f93fd80e30ca5da8ad82391beb0bb00a3e10e5e377cc339035f60 + role: asset +- path: validation/exif_orientation_embedding.npy + sha256: c19ebcce47c878bf410f3e1fc6de680f38fab95c61d0d11176dd371b665b708e + role: asset +- path: validation/exif_orientation_pixel_values.npy + sha256: 8d8e161aa3065a577e477b831f8b5812f212878a882c8c6df74d20c1486f669b + role: asset +- path: validation/gray.png + sha256: 18e15e9df36ecc6b35ae3f57b9de1d358657f840f3635b92da2414c600b02af0 + role: asset +- path: validation/gray_embedding.npy + sha256: fd6813a2003b175201536b2fe9ab3e6ea854756d9c85677d9fdc7737a7261d06 + role: asset +- path: validation/gray_pixel_values.npy + sha256: 14b6630b5dd3eb0b4c72dfe6a77c133888bdbbdf9a452b4f9fd92015e165bc27 + role: asset +- path: validation/grayscale.png + sha256: 2c659baf93d50b7db3d6fb1cc0c42c91361d760f8db0a5468f2d55fda1f17654 + role: asset +- path: validation/grayscale_embedding.npy + sha256: 72c75ceb5102d245ca54cbf620c26d74c799a1594238d3f3a41f0f583e96ce42 + role: asset +- path: validation/grayscale_pixel_values.npy + sha256: 25cb8760d739a8b6cec2703888a343685bf9aa5959fa5515538620046aadb986 + role: asset +- path: validation/landscape.png + sha256: 917693f250420dc7852f77da0e9c0255375dfb3615a82f12a474d1a044d472cf + role: asset +- path: validation/landscape_duplicate.png + sha256: 917693f250420dc7852f77da0e9c0255375dfb3615a82f12a474d1a044d472cf + role: asset +- path: validation/landscape_duplicate_embedding.npy + sha256: 76316c8ce352e1e9918cfec294cd4b0dcaba71b37c90b20d2fc9f1f0972581af + role: asset +- path: validation/landscape_duplicate_pixel_values.npy + sha256: 6e7b9f4694e79a8d6ff329eb5364a0ed8b0b801dde224fe1bf0b5bd1871a774b + role: asset +- path: validation/landscape_embedding.npy + sha256: 76316c8ce352e1e9918cfec294cd4b0dcaba71b37c90b20d2fc9f1f0972581af + role: asset +- path: validation/landscape_flipped.png + sha256: 7b1508fe557b3d8a787538da1063233a69a177642babc520d3fd508ce99a70c4 + role: asset +- path: validation/landscape_flipped_embedding.npy + sha256: d398218d0f33ee2b577ed4b6280052833269041a20677ad38255230ff3ae5221 + role: asset +- path: validation/landscape_flipped_pixel_values.npy + sha256: d08c3d0d60bc07e8e37030425628a28ca6fd9ba7d45c37f3e338c5f727cb9193 + role: asset +- path: validation/landscape_jpeg.jpg + sha256: bada3e765df445ecad16139b4f3f00793a99bea979b7f60f0286af98dcbe3cae + role: asset +- path: validation/landscape_jpeg_embedding.npy + sha256: fce907f387ba19a0e179270baf58a59506283e2db878cea7a828be95e6d63771 + role: asset +- path: validation/landscape_jpeg_pixel_values.npy + sha256: f43214a22ec59a4c18e67b011f8f16ebb0da6a45cb1629127de7ac25f6cdc36b + role: asset +- path: validation/landscape_pixel_values.npy + sha256: 6e7b9f4694e79a8d6ff329eb5364a0ed8b0b801dde224fe1bf0b5bd1871a774b + role: asset +- path: validation/portrait.png + sha256: e4b1947395be35ccebbd059e884303400b0640b154c0968f72b5517bb8140848 + role: asset +- path: validation/portrait_embedding.npy + sha256: e068cc94bb905f8ae56b0e687ebeba488ea3c820e903937901163509f2243ca9 + role: asset +- path: validation/portrait_pixel_values.npy + sha256: 9b33f5ffce21a9f627e3892ba4fd0c81b11eb32685d22146474e4b8a5c76b4af + role: asset +- path: validation/random.png + sha256: 531ccdb760cff3834444fde5285ff2fb2cef1e1867856fa2f406e139b75d622a + role: asset +- path: validation/random_embedding.npy + sha256: 4a2dac694ddf3cadd0dd7f30d26c0553ae5480fa1b4fafbf4994b394245bc6fc + role: asset +- path: validation/random_pixel_values.npy + sha256: 9636baed359375645dea49fcd00beb61a29b7496bef7606d705e23b162d6a280 + role: asset +- path: validation/rgba_transparency.png + sha256: 37ee7e8db889b749ad54ee287f64585ddc853edc08813d2463cf476555589824 + role: asset +- path: validation/rgba_transparency_embedding.npy + sha256: 5c4b9f472e9c36c34fe4abd8198d889a5ecc9228aa9c0b905c8bccd31b00de7a + role: asset +- path: validation/rgba_transparency_pixel_values.npy + sha256: c4a5e84e69ffdcccc766937dcae17fe472433ce5206aac77e310c6ba1ea2f2e0 + role: asset +- path: validation/small_image.png + sha256: 48a37bcdc7eacc44d6c8c872d4f541e7003bfad6f3ff40b17504bd498f977acb + role: asset +- path: validation/small_image_embedding.npy + sha256: b7ec4475ae17f0febaddf223d2a3df106b553745e2d31da89271e3de82825d88 + role: asset +- path: validation/small_image_pixel_values.npy + sha256: 3cbb7c275b2817e77f1a18dd36aa192a039009f6561f129b5a805b4540d30270 + role: asset +- path: validation/tall_image.png + sha256: 90774f2122602f16f2b468a6920b08b8665a422672be33d3d76eb3108c618c54 + role: asset +- path: validation/tall_image_embedding.npy + sha256: b2fdd88c8a83535840b211e9537c7de5a65f450fa18eb2a74d78b80eff89d1c0 + role: asset +- path: validation/tall_image_pixel_values.npy + sha256: fd1e4763295000a45381a291dd1b730e10fbde40ce66ca8a3b6ed54633a4afce + role: asset +- path: validation/wide_image.png + sha256: d38ff2b007412e3279074ba4515395eefe7c9a83d6154e3bacc77bf0ca047963 + role: asset +- path: validation/wide_image_embedding.npy + sha256: 9dfeca25c792e0fcce618e86945689df9f739e8baa28e44265f358d691e05354 + role: asset +- path: validation/wide_image_pixel_values.npy + sha256: 3671662f975b345abc98e713655c1aafccfb4008dfc7fdff97c7fc8c32289577 + role: asset +runtime: + graph: model.onnx + inputs: + - name: pixel_values + source: pixels + dtype: float32 + shape: + - 1 + - 3 + - 224 + - 224 + output: + name: embedding + dtype: float32 + shape: + - 1 + - 768 + execution_providers: + - CUDAExecutionProvider + - CPUExecutionProvider + - CoreMLExecutionProvider +preparation: + width: 224 + height: 224 + layout: NCHW + resize: stretch + interpolation: bilinear + rescale: 0.00392156862745098 + mean: + - 0.5 + - 0.5 + - 0.5 + std: + - 0.5 + - 0.5 + - 0.5 + alpha_background: + - 0 + - 0 + - 0 +embedding: + dimensions: 768 + normalized: true + similarity: cosine +metadata: + summary: Supervised Vision Transformer image embeddings using the final-layer CLS + representation of Google ViT Base Patch16-224. + architecture: + type: Vision Transformer + encoder_parameters: 85798656 + hidden_size: 768 + num_hidden_layers: 12 + num_attention_heads: 12 + patch_size: 16 + image_size: 224 + classifier_exported: false + trained_on: ImageNet-21k supervised pretraining, followed by ImageNet-1k fine-tuning + feature_type: embedding + pooling: Final-layer CLS token followed by L2 normalization. + group: + id: image + label: Image Models + order: 10 + provenance: + base_model: google/vit-base-patch16-224 + source_repository: https://huggingface.co/google/vit-base-patch16-224 + original_name: ViT Base Patch16-224 + original_model_url: https://huggingface.co/google/vit-base-patch16-224 + paper_title: 'An Image is Worth 16x16 Words: Transformers for Image Recognition + at Scale' + paper_url: https://arxiv.org/abs/2010.11929 + training_data: ImageNet-21k supervised pretraining, followed by ImageNet-1k fine-tuning + upstream_license: Apache-2.0 + authors: + - Alexey Dosovitskiy + - Lucas Beyer + - Alexander Kolesnikov + - Dirk Weissenborn + - Xiaohua Zhai + - Thomas Unterthiner + - Mostafa Dehghani + - Matthias Minderer + - Georg Heigold + - Sylvain Gelly + - Jakob Uszkoreit + - Neil Houlsby + source_model: google/vit-base-patch16-224 + source_revision: 3f49326eb077187dfe1c2a2bb15fbd74e6ab91e3 + source_weights_sha256: 1cea07110a4a47edc51420b2dda6f3b8b58e7256e8f44b4ea6aa9696162ccb5d + transformers_version: 4.57.1 + exported_opset: 17 + export_date: '2026-11-30' + exporter_version: eidora-onnx 1.0.0 diff --git a/conversion_report.json b/conversion_report.json new file mode 100644 index 0000000000000000000000000000000000000000..5c6ca70a1157cf4809b58f50ca621007ff27a80f --- /dev/null +++ b/conversion_report.json @@ -0,0 +1,138 @@ +{ + "schema_version": 1, + "status": "passed", + "converter": "hf_vit_image", + "source_model": "google/vit-base-patch16-224", + "source_revision": "3f49326eb077187dfe1c2a2bb15fbd74e6ab91e3", + "source_weights_sha256": "1cea07110a4a47edc51420b2dda6f3b8b58e7256e8f44b4ea6aa9696162ccb5d", + "license": "apache-2.0", + "torch_version": "2.8.0+cpu", + "transformers_version": "4.57.1", + "onnx_version": "1.19.1", + "onnxruntime_version": "1.23.2", + "opset": 17, + "encoder_parameters": 85798656, + "classifier_parameters_excluded": 769000, + "classifier_exported": false, + "original_classifier_parity": true, + "graph_nodes": 545, + "embedding_dimensions": 768, + "input_layout": "NCHW", + "input_shape": [ + 1, + 3, + 224, + 224 + ], + "output_shape": [ + 1, + 768 + ], + "pooling": "final_layer_cls_token", + "normalized": true, + "model_sha256": "e540615bc94389cb8de1acd345af02e95fe25eac3223b2ca5d75a16232493739", + "model_size_bytes": 343329095, + "export_seconds": 3.0486439969972707, + "source_vs_onnx": { + "status": "passed", + "fixture_count": 7, + "minimum_cosine": 0.9999999999973368, + "maximum_absolute_error": 3.7997961044311523e-07, + "results": [ + { + "fixture": "random", + "cosine_vs_source": 0.9999999999973368, + "max_abs_error": 3.2689422369003296e-07, + "l2_norm": 0.9999997019767761, + "latency_ms": 95.9064609996858, + "status": "passed" + }, + { + "fixture": "structured", + "cosine_vs_source": 0.9999999999985344, + "max_abs_error": 2.2724270820617676e-07, + "l2_norm": 0.9999999403953552, + "latency_ms": 83.2877240027301, + "status": "passed" + }, + { + "fixture": "structured_duplicate", + "cosine_vs_source": 0.9999999999985344, + "max_abs_error": 2.2724270820617676e-07, + "l2_norm": 0.9999999403953552, + "latency_ms": 82.68414399935864, + "status": "passed" + }, + { + "fixture": "structured_flipped", + "cosine_vs_source": 0.9999999999986225, + "max_abs_error": 2.635642886161804e-07, + "l2_norm": 0.9999996423721313, + "latency_ms": 81.53153799503343, + "status": "passed" + }, + { + "fixture": "dark", + "cosine_vs_source": 0.9999999999983995, + "max_abs_error": 2.682209014892578e-07, + "l2_norm": 1.0, + "latency_ms": 81.23376499861479, + "status": "passed" + }, + { + "fixture": "bright", + "cosine_vs_source": 0.9999999999980755, + "max_abs_error": 2.980232238769531e-07, + "l2_norm": 1.000000238418579, + "latency_ms": 81.8628400011221, + "status": "passed" + }, + { + "fixture": "zero", + "cosine_vs_source": 0.9999999999976841, + "max_abs_error": 3.7997961044311523e-07, + "l2_norm": 1.0000003576278687, + "latency_ms": 82.5671450002119, + "status": "passed" + } + ] + }, + "duplicate_image_validation": { + "status": "passed", + "cosine": 1.0000000000000002 + }, + "visual_similarity_validation": { + "status": "passed", + "maximum_difference": 3.329870050805539e-07, + "results": [ + { + "first": "structured", + "second": "structured_duplicate", + "source_cosine": 1.0, + "onnx_cosine": 1.0000000000000002, + "absolute_difference": 2.220446049250313e-16 + }, + { + "first": "structured", + "second": "structured_flipped", + "source_cosine": 0.9942052613619257, + "onnx_cosine": 0.9942052353279685, + "absolute_difference": 2.6033957212234782e-08 + }, + { + "first": "structured", + "second": "random", + "source_cosine": 0.10918562785281379, + "onnx_cosine": 0.10918535257831019, + "absolute_difference": 2.7527450359443595e-07 + }, + { + "first": "dark", + "second": "bright", + "source_cosine": 0.6260289338993493, + "onnx_cosine": 0.6260286009123442, + "absolute_difference": 3.329870050805539e-07 + } + ] + } +} \ No newline at end of file diff --git a/model.onnx b/model.onnx new file mode 100644 index 0000000000000000000000000000000000000000..921bf461165664c5975ab756c432d6d36461834a --- /dev/null +++ b/model.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e540615bc94389cb8de1acd345af02e95fe25eac3223b2ca5d75a16232493739 +size 343329095 diff --git a/validation.yaml b/validation.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0e013bd01e5814c37134ddaf56d6e0f636f84fe6 --- /dev/null +++ b/validation.yaml @@ -0,0 +1,138 @@ +fixtures: +- identifier: landscape + modality: image + path: validation/landscape.png + parameters: {} + expected_tensors: + pixel_values: validation/landscape_pixel_values.npy + expected_vectors: validation/landscape_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: portrait + modality: image + path: validation/portrait.png + parameters: {} + expected_tensors: + pixel_values: validation/portrait_pixel_values.npy + expected_vectors: validation/portrait_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: dark + modality: image + path: validation/dark.png + parameters: {} + expected_tensors: + pixel_values: validation/dark_pixel_values.npy + expected_vectors: validation/dark_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: bright + modality: image + path: validation/bright.png + parameters: {} + expected_tensors: + pixel_values: validation/bright_pixel_values.npy + expected_vectors: validation/bright_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: gray + modality: image + path: validation/gray.png + parameters: {} + expected_tensors: + pixel_values: validation/gray_pixel_values.npy + expected_vectors: validation/gray_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: random + modality: image + path: validation/random.png + parameters: {} + expected_tensors: + pixel_values: validation/random_pixel_values.npy + expected_vectors: validation/random_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: landscape_duplicate + modality: image + path: validation/landscape_duplicate.png + parameters: {} + expected_tensors: + pixel_values: validation/landscape_duplicate_pixel_values.npy + expected_vectors: validation/landscape_duplicate_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: landscape_flipped + modality: image + path: validation/landscape_flipped.png + parameters: {} + expected_tensors: + pixel_values: validation/landscape_flipped_pixel_values.npy + expected_vectors: validation/landscape_flipped_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: grayscale + modality: image + path: validation/grayscale.png + parameters: {} + expected_tensors: + pixel_values: validation/grayscale_pixel_values.npy + expected_vectors: validation/grayscale_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: rgba_transparency + modality: image + path: validation/rgba_transparency.png + parameters: {} + expected_tensors: + pixel_values: validation/rgba_transparency_pixel_values.npy + expected_vectors: validation/rgba_transparency_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: landscape_jpeg + modality: image + path: validation/landscape_jpeg.jpg + parameters: {} + expected_tensors: + pixel_values: validation/landscape_jpeg_pixel_values.npy + expected_vectors: validation/landscape_jpeg_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: exif_orientation + modality: image + path: validation/exif_orientation.jpg + parameters: {} + expected_tensors: + pixel_values: validation/exif_orientation_pixel_values.npy + expected_vectors: validation/exif_orientation_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: wide_image + modality: image + path: validation/wide_image.png + parameters: {} + expected_tensors: + pixel_values: validation/wide_image_pixel_values.npy + expected_vectors: validation/wide_image_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: tall_image + modality: image + path: validation/tall_image.png + parameters: {} + expected_tensors: + pixel_values: validation/tall_image_pixel_values.npy + expected_vectors: validation/tall_image_embedding.npy + rtol: 0.001 + atol: 0.0001 +- identifier: small_image + modality: image + path: validation/small_image.png + parameters: {} + expected_tensors: + pixel_values: validation/small_image_pixel_values.npy + expected_vectors: validation/small_image_embedding.npy + rtol: 0.001 + atol: 0.0001 +note: Publication requires independent expected image tensors and source-reference + vectors. diff --git a/validation/bright.png b/validation/bright.png new file mode 100644 index 0000000000000000000000000000000000000000..c4e40e842f54456b54db92c02d103129cfebdd5c Binary files /dev/null and b/validation/bright.png differ diff --git a/validation/bright_embedding.npy b/validation/bright_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..4bc28d0cdfe0b172f4f5cc5a05a1c896d798ea62 --- /dev/null +++ b/validation/bright_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab00da0889019ae6b54fcf1ab91e3ee3836a221d16ff6094a74fd02d17353243 +size 3200 diff --git a/validation/bright_pixel_values.npy b/validation/bright_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..3777db337b3ce221c1713b41dbedf4213c1d8438 --- /dev/null +++ b/validation/bright_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:433ce2bcaf244728436df32a44b7a337340b3069afe3b2240e35d90b54086ee9 +size 602240 diff --git a/validation/dark.png b/validation/dark.png new file mode 100644 index 0000000000000000000000000000000000000000..f0ed3cdedf7ade687ce48a166a03f2e78e6244ff Binary files /dev/null and b/validation/dark.png differ diff --git a/validation/dark_embedding.npy b/validation/dark_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..af8d48d102adedb0882e4cdc4caef0614fcbadc2 --- /dev/null +++ b/validation/dark_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08f353917f39d3721fffaf6593e1e65297ec62405dc59f0b44c750cf1eb5119f +size 3200 diff --git a/validation/dark_pixel_values.npy b/validation/dark_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..395b815d4f78c6c0e29623871ecf7c9dadbf4fa9 --- /dev/null +++ b/validation/dark_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00e17dd7cd2d7bcf19b9c2cb2d23656d3f87c06c7094aee8d3bde34b7f22c092 +size 602240 diff --git a/validation/exif_orientation.jpg b/validation/exif_orientation.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3ee4aa2b63c6c614365ae0b5e1db0fa1ddcbc8e2 Binary files /dev/null and b/validation/exif_orientation.jpg differ diff --git a/validation/exif_orientation_embedding.npy b/validation/exif_orientation_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..861ced977621cda3e895bfbb9b4f705be7b7bb05 --- /dev/null +++ b/validation/exif_orientation_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c19ebcce47c878bf410f3e1fc6de680f38fab95c61d0d11176dd371b665b708e +size 3200 diff --git a/validation/exif_orientation_pixel_values.npy b/validation/exif_orientation_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..9b5ba9c75385b6baa286f103bdc8f2b6d632440f --- /dev/null +++ b/validation/exif_orientation_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d8e161aa3065a577e477b831f8b5812f212878a882c8c6df74d20c1486f669b +size 602240 diff --git a/validation/gray.png b/validation/gray.png new file mode 100644 index 0000000000000000000000000000000000000000..e42c7429e929ff180bfd8a4659659758346e571b Binary files /dev/null and b/validation/gray.png differ diff --git a/validation/gray_embedding.npy b/validation/gray_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..69073e3bb1e05dc2b777ada2b35f254f79139135 --- /dev/null +++ b/validation/gray_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd6813a2003b175201536b2fe9ab3e6ea854756d9c85677d9fdc7737a7261d06 +size 3200 diff --git a/validation/gray_pixel_values.npy b/validation/gray_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..186899fbbe091139bdc361b674391fb592ee1b81 --- /dev/null +++ b/validation/gray_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14b6630b5dd3eb0b4c72dfe6a77c133888bdbbdf9a452b4f9fd92015e165bc27 +size 602240 diff --git a/validation/grayscale.png b/validation/grayscale.png new file mode 100644 index 0000000000000000000000000000000000000000..fd6ff2c3f5c087bc337ee0f16848c2be8c4b964f Binary files /dev/null and b/validation/grayscale.png differ diff --git a/validation/grayscale_embedding.npy b/validation/grayscale_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..975f7ed96d844e78ca3a597781cf2c156f2109dc --- /dev/null +++ b/validation/grayscale_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72c75ceb5102d245ca54cbf620c26d74c799a1594238d3f3a41f0f583e96ce42 +size 3200 diff --git a/validation/grayscale_pixel_values.npy b/validation/grayscale_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..cc6a12c578cdf3631ad8d234f49106b728e825ef --- /dev/null +++ b/validation/grayscale_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25cb8760d739a8b6cec2703888a343685bf9aa5959fa5515538620046aadb986 +size 602240 diff --git a/validation/landscape.png b/validation/landscape.png new file mode 100644 index 0000000000000000000000000000000000000000..d28f39c2c1615638eb732103eea964561f05fbb9 Binary files /dev/null and b/validation/landscape.png differ diff --git a/validation/landscape_duplicate.png b/validation/landscape_duplicate.png new file mode 100644 index 0000000000000000000000000000000000000000..d28f39c2c1615638eb732103eea964561f05fbb9 Binary files /dev/null and b/validation/landscape_duplicate.png differ diff --git a/validation/landscape_duplicate_embedding.npy b/validation/landscape_duplicate_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..44b8cb538b7f178950258aaa865f18995b828794 --- /dev/null +++ b/validation/landscape_duplicate_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76316c8ce352e1e9918cfec294cd4b0dcaba71b37c90b20d2fc9f1f0972581af +size 3200 diff --git a/validation/landscape_duplicate_pixel_values.npy b/validation/landscape_duplicate_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..c93ebf6e03afb501a5d8a9e0b113e87ae75e331b --- /dev/null +++ b/validation/landscape_duplicate_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e7b9f4694e79a8d6ff329eb5364a0ed8b0b801dde224fe1bf0b5bd1871a774b +size 602240 diff --git a/validation/landscape_embedding.npy b/validation/landscape_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..44b8cb538b7f178950258aaa865f18995b828794 --- /dev/null +++ b/validation/landscape_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76316c8ce352e1e9918cfec294cd4b0dcaba71b37c90b20d2fc9f1f0972581af +size 3200 diff --git a/validation/landscape_flipped.png b/validation/landscape_flipped.png new file mode 100644 index 0000000000000000000000000000000000000000..9b7d1a3418dcbe14101aa5a34ead162bd51fa08a Binary files /dev/null and b/validation/landscape_flipped.png differ diff --git a/validation/landscape_flipped_embedding.npy b/validation/landscape_flipped_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..066f90a851b99bf5d7e7aa1e619dc45c368330bd --- /dev/null +++ b/validation/landscape_flipped_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d398218d0f33ee2b577ed4b6280052833269041a20677ad38255230ff3ae5221 +size 3200 diff --git a/validation/landscape_flipped_pixel_values.npy b/validation/landscape_flipped_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..e45b507faf1212464dbb07957f28fa4734e33820 --- /dev/null +++ b/validation/landscape_flipped_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d08c3d0d60bc07e8e37030425628a28ca6fd9ba7d45c37f3e338c5f727cb9193 +size 602240 diff --git a/validation/landscape_jpeg.jpg b/validation/landscape_jpeg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5019de6a12d0271b2399df2e08de14d4ead9aba4 Binary files /dev/null and b/validation/landscape_jpeg.jpg differ diff --git a/validation/landscape_jpeg_embedding.npy b/validation/landscape_jpeg_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..b07b06afd65fa3481533b0ae549bb43f4f36acef --- /dev/null +++ b/validation/landscape_jpeg_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fce907f387ba19a0e179270baf58a59506283e2db878cea7a828be95e6d63771 +size 3200 diff --git a/validation/landscape_jpeg_pixel_values.npy b/validation/landscape_jpeg_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..013c515d31a60eaaaa5a486a86246f6b1c66c1f4 --- /dev/null +++ b/validation/landscape_jpeg_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f43214a22ec59a4c18e67b011f8f16ebb0da6a45cb1629127de7ac25f6cdc36b +size 602240 diff --git a/validation/landscape_pixel_values.npy b/validation/landscape_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..c93ebf6e03afb501a5d8a9e0b113e87ae75e331b --- /dev/null +++ b/validation/landscape_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e7b9f4694e79a8d6ff329eb5364a0ed8b0b801dde224fe1bf0b5bd1871a774b +size 602240 diff --git a/validation/portrait.png b/validation/portrait.png new file mode 100644 index 0000000000000000000000000000000000000000..649c4ddca7d46777f9173976fc73165610361f10 Binary files /dev/null and b/validation/portrait.png differ diff --git a/validation/portrait_embedding.npy b/validation/portrait_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..faf4c75fbb4a8299f303371aaad5892255b33fab --- /dev/null +++ b/validation/portrait_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e068cc94bb905f8ae56b0e687ebeba488ea3c820e903937901163509f2243ca9 +size 3200 diff --git a/validation/portrait_pixel_values.npy b/validation/portrait_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..1bb4df358146a2a49e31bb737d92c108c9e7c2d1 --- /dev/null +++ b/validation/portrait_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b33f5ffce21a9f627e3892ba4fd0c81b11eb32685d22146474e4b8a5c76b4af +size 602240 diff --git a/validation/random.png b/validation/random.png new file mode 100644 index 0000000000000000000000000000000000000000..9cd8824e40748fd5ecda7d162155e05f6581d0eb --- /dev/null +++ b/validation/random.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:531ccdb760cff3834444fde5285ff2fb2cef1e1867856fa2f406e139b75d622a +size 246365 diff --git a/validation/random_embedding.npy b/validation/random_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..77dcb05fd974af5761c1b1d546be19967303a15c --- /dev/null +++ b/validation/random_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a2dac694ddf3cadd0dd7f30d26c0553ae5480fa1b4fafbf4994b394245bc6fc +size 3200 diff --git a/validation/random_pixel_values.npy b/validation/random_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..868f4fe1736192715fc647bd61de21153fa1aa93 --- /dev/null +++ b/validation/random_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9636baed359375645dea49fcd00beb61a29b7496bef7606d705e23b162d6a280 +size 602240 diff --git a/validation/rgba_transparency.png b/validation/rgba_transparency.png new file mode 100644 index 0000000000000000000000000000000000000000..887adb6a2e6930cb42f52cfbb259105f21f52adc Binary files /dev/null and b/validation/rgba_transparency.png differ diff --git a/validation/rgba_transparency_embedding.npy b/validation/rgba_transparency_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..45dec6ec421ec8578b27b9e10468199e95c0e4e8 --- /dev/null +++ b/validation/rgba_transparency_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c4b9f472e9c36c34fe4abd8198d889a5ecc9228aa9c0b905c8bccd31b00de7a +size 3200 diff --git a/validation/rgba_transparency_pixel_values.npy b/validation/rgba_transparency_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..cc96f6803bc11640756ecad2d8edc98ed6c6075a --- /dev/null +++ b/validation/rgba_transparency_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4a5e84e69ffdcccc766937dcae17fe472433ce5206aac77e310c6ba1ea2f2e0 +size 602240 diff --git a/validation/small_image.png b/validation/small_image.png new file mode 100644 index 0000000000000000000000000000000000000000..6f882f9b4b899f1c19f2e29d616e70dcb91d7de3 Binary files /dev/null and b/validation/small_image.png differ diff --git a/validation/small_image_embedding.npy b/validation/small_image_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..baf982100d76b21b1cc170cfb616066d1ea647b7 --- /dev/null +++ b/validation/small_image_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7ec4475ae17f0febaddf223d2a3df106b553745e2d31da89271e3de82825d88 +size 3200 diff --git a/validation/small_image_pixel_values.npy b/validation/small_image_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..a037d0cdd68f0447276f413a56f15a78a9fc4522 --- /dev/null +++ b/validation/small_image_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cbb7c275b2817e77f1a18dd36aa192a039009f6561f129b5a805b4540d30270 +size 602240 diff --git a/validation/tall_image.png b/validation/tall_image.png new file mode 100644 index 0000000000000000000000000000000000000000..c8419a026c617e15e71d899f2159223aa4c2e1df Binary files /dev/null and b/validation/tall_image.png differ diff --git a/validation/tall_image_embedding.npy b/validation/tall_image_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..d9395adf1a7f23e67a4f32c1f0f7db7df2356305 --- /dev/null +++ b/validation/tall_image_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2fdd88c8a83535840b211e9537c7de5a65f450fa18eb2a74d78b80eff89d1c0 +size 3200 diff --git a/validation/tall_image_pixel_values.npy b/validation/tall_image_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..bb30f0254dbc5d3ff5ff6b0073fbbfb1c6ed3d16 --- /dev/null +++ b/validation/tall_image_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd1e4763295000a45381a291dd1b730e10fbde40ce66ca8a3b6ed54633a4afce +size 602240 diff --git a/validation/wide_image.png b/validation/wide_image.png new file mode 100644 index 0000000000000000000000000000000000000000..8cc6227f13d91602e1e931b0ecd6b2739e31ccfb Binary files /dev/null and b/validation/wide_image.png differ diff --git a/validation/wide_image_embedding.npy b/validation/wide_image_embedding.npy new file mode 100644 index 0000000000000000000000000000000000000000..1df72792c547f2f94c635b6f83663990e50e80a8 --- /dev/null +++ b/validation/wide_image_embedding.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dfeca25c792e0fcce618e86945689df9f739e8baa28e44265f358d691e05354 +size 3200 diff --git a/validation/wide_image_pixel_values.npy b/validation/wide_image_pixel_values.npy new file mode 100644 index 0000000000000000000000000000000000000000..564b5a6c69fd1e3ff3329cb1e1cd56c1869a458b --- /dev/null +++ b/validation/wide_image_pixel_values.npy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3671662f975b345abc98e713655c1aafccfb4008dfc7fdff97c7fc8c32289577 +size 602240