├── LICENSE ├── RAG ├── __pycache__ │ └── utils.cpython-310.pyc ├── artwork_data.tsv ├── artwork_img │ ├── .ipynb_checkpoints │ │ ├── 10161-checkpoint.jpg │ │ ├── 35574-checkpoint.jpg │ │ ├── 37121-checkpoint.jpg │ │ ├── 38682-checkpoint.jpg │ │ ├── 42039-checkpoint.jpg │ │ └── 43121-checkpoint.jpg │ ├── 10161.jpg │ ├── 10601.jpg │ ├── 10671.jpg │ ├── 1072.jpg │ ├── 10896.jpg │ ├── 12020.jpg │ ├── 13577.jpg │ ├── 13778.jpg │ ├── 13939.jpg │ ├── 14283.jpg │ ├── 14427.jpg │ ├── 15167.jpg │ ├── 15870.jpg │ ├── 16101.jpg │ ├── 16215.jpg │ ├── 16715.jpg │ ├── 16970.jpg │ ├── 17669.jpg │ ├── 17760.jpg │ ├── 17960.jpg │ ├── 18130.jpg │ ├── 18149.jpg │ ├── 19159.jpg │ ├── 19341.jpg │ ├── 20326.jpg │ ├── 21230.jpg │ ├── 21905.jpg │ ├── 22186.jpg │ ├── 22651.jpg │ ├── 22740.jpg │ ├── 23438.jpg │ ├── 23588.jpg │ ├── 23901.jpg │ ├── 24321.jpg │ ├── 2436.jpg │ ├── 25400.jpg │ ├── 25427.jpg │ ├── 2545.jpg │ ├── 25484.jpg │ ├── 2550.jpg │ ├── 25609.jpg │ ├── 26587.jpg │ ├── 27400.jpg │ ├── 27493.jpg │ ├── 27521.jpg │ ├── 27782.jpg │ ├── 28167.jpg │ ├── 283.jpg │ ├── 29519.jpg │ ├── 29537.jpg │ ├── 30119.jpg │ ├── 30738.jpg │ ├── 30878.jpg │ ├── 3100.jpg │ ├── 3118.jpg │ ├── 31182.jpg │ ├── 32091.jpg │ ├── 32275.jpg │ ├── 32845.jpg │ ├── 34486.jpg │ ├── 34602.jpg │ ├── 3483.jpg │ ├── 34926.jpg │ ├── 35186.jpg │ ├── 35574.jpg │ ├── 36035.jpg │ ├── 36711.jpg │ ├── 37121.jpg │ ├── 37504.jpg │ ├── 3764.jpg │ ├── 38682.jpg │ ├── 3917.jpg │ ├── 3945.jpg │ ├── 39561.jpg │ ├── 40334.jpg │ ├── 4073.jpg │ ├── 40827.jpg │ ├── 40945.jpg │ ├── 41303.jpg │ ├── 41805.jpg │ ├── 4195.jpg │ ├── 42039.jpg │ ├── 43111.jpg │ ├── 43121.jpg │ ├── 466.jpg │ ├── 4880.jpg │ ├── 5522.jpg │ ├── 5570.jpg │ ├── 7440.jpg │ ├── 7460.jpg │ ├── 7852.jpg │ ├── 8106.jpg │ ├── 8154.jpg │ ├── 8308.jpg │ ├── 8432.jpg │ ├── 8439.jpg │ ├── 8657.jpg │ ├── 9086.jpg │ ├── 9512.jpg │ └── 9740.jpg ├── image_rag.ipynb ├── multimodal_rag.ipynb ├── test_img.jpg ├── text_rag.ipynb └── utils.py ├── README.md ├── README_zh.md ├── figures ├── SODAtitle_crop.pdf ├── Soda.png ├── image_retrieve.mp4 ├── soda_architecture.png ├── soda_title.png ├── test_pics │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ └── 9.jpg ├── text_retrieve.mp4 ├── web_search.gif └── web_search.mp4 ├── mllm ├── IXC2.py ├── __pycache__ │ └── soda_mllm.cpython-310.pyc ├── soda_mllm.py └── test_img.jpg ├── requirements.txt ├── service ├── __pycache__ │ └── utils.cpython-310.pyc ├── rerank.ipynb └── utils.py ├── web_search ├── Bing_API.ipynb ├── Google_API.ipynb ├── Serper_API.ipynb ├── __pycache__ │ └── utils.cpython-310.pyc └── utils.py └── web_ui ├── database ├── 1713354159_521 │ └── RAR_arXiv.pdf ├── 1713354159_521_database │ ├── 936abf26-b455-4d19-a124-b9ffeb5be592 │ │ ├── data_level0.bin │ │ ├── header.bin │ │ ├── length.bin │ │ └── link_lists.bin │ └── chroma.sqlite3 ├── ff122a0aed7ded202b4cdad150eb8aff35500a8c │ └── soda_title.png └── tmp7hym5i1j ├── soda_title.png └── web_ui.py /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [Ziyu Liu] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /RAG/__pycache__/utils.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/__pycache__/utils.cpython-310.pyc -------------------------------------------------------------------------------- /RAG/artwork_data.tsv: -------------------------------------------------------------------------------- 1 | ID PATH INFO 2 | 283 283.jpg AUTHOR: ALLEGRAIN, Christophe-Gabriel, BORN-DIED: (b. 1710, Paris, d. 1795, Paris), TITLE: Venus at Bath, DATE: c. 1767, TECHNIQUE: Marble, height 174 cm, LOCATION: Musée du Louvre, Paris, FORM: sculpture, TYPE: mythological, SCHOOL: French, TIMELINE: 1751-1800 3 | 466 466.jpg AUTHOR: AMMANATI, Bartolomeo, BORN-DIED: (b. 1511, Settignano, d. 1592, Firenze), TITLE: Allegory of Winter, DATE: 1563-65, TECHNIQUE: Stone, LOCATION: Villa Medici, Castello, FORM: sculpture, TYPE: mythological, SCHOOL: Italian, TIMELINE: 1551-1600 4 | 1072 1072.jpg AUTHOR: ANTONIO DA FIRENZE, BORN-DIED: (active in the first half of the 15th century), TITLE: Madonna and Child with Saints, DATE: 1400-50, TECHNIQUE: Tempera on wood, 151 x 85 cm, LOCATION: The Hermitage, St. Petersburg, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1401-1450 5 | 2436 2436.jpg AUTHOR: ARNOLFO DI CAMBIO, BORN-DIED: (b. ca. 1245, Colle di Valdelse, d. ca. 1310, Firenze), TITLE: Presepio (detail), DATE: -, TECHNIQUE: Marble, LOCATION: Santa Maria Maggiore, Rome, FORM: sculpture, TYPE: religious, SCHOOL: Italian, TIMELINE: 1251-1300 6 | 2545 2545.jpg AUTHOR: AST, Balthasar van der, BORN-DIED: (b. 1594, Middelburg, d. 1657, Delft), TITLE: Still-Life with a Basket of Flowers, DATE: after 1632, TECHNIQUE: Oil on canvas, 42 x 62 cm, LOCATION: Nationalmuseum, Stockholm, FORM: painting, TYPE: still-life, SCHOOL: Dutch, TIMELINE: 1601-1650 7 | 2550 2550.jpg AUTHOR: AST, Balthasar van der, BORN-DIED: (b. 1594, Middelburg, d. 1657, Delft), TITLE: Vase of Flowers by a Window, DATE: 1650-57, TECHNIQUE: Oil on panel, 67 x 98 cm, LOCATION: Anhaltische Gemäldegalerie, Dessau, FORM: painting, TYPE: still-life, SCHOOL: Dutch, TIMELINE: 1601-1650 8 | 3100 3100.jpg AUTHOR: BARYE, Antoine-Louis, BORN-DIED: (b. 1796, Paris, d. 1875, Paris), TITLE: Lion Bitten by a Snake, DATE: 1831, TECHNIQUE: Bronze, 135 x 178 cm, LOCATION: Musée du Louvre, Paris, FORM: sculpture, TYPE: genre, SCHOOL: French, TIMELINE: 1801-1850 9 | 3118 3118.jpg AUTHOR: BASAITI, Marco, BORN-DIED: (active 1496-1530 in Venice), TITLE: St Sebastian, DATE: -, TECHNIQUE: Oil on canvas, LOCATION: Santa Maria della Salute, Venice, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1501-1550 10 | 3483 3483.jpg AUTHOR: BELLINI, Giovanni, BORN-DIED: (b. ca. 1426, Venezia, d. 1516, Venezia), TITLE: Madonna and Child, DATE: c. 1455, TECHNIQUE: Tempera on panel, 72 x 46 cm, LOCATION: Metropolitan Museum of Art, New York, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1451-1500 11 | 3764 3764.jpg AUTHOR: BENEFIAL, Marco, BORN-DIED: (b. 1684, Roma, d. 1764, Roma), TITLE: Self-Portrait, DATE: 1731, TECHNIQUE: Red chalk on paper, 354 x 230 mm, LOCATION: J. Paul Getty Museum, Los Angeles, FORM: painting, TYPE: portrait, SCHOOL: Italian, TIMELINE: 1701-1750 12 | 3917 3917.jpg AUTHOR: BERJON, Antoine, BORN-DIED: (b. 1754, Lyon, d. 1843, Lyon), TITLE: Still-Life, DATE: -, TECHNIQUE: Oil on canvas, 46 x 56 cm, LOCATION: Private collection, FORM: painting, TYPE: still-life, SCHOOL: French, TIMELINE: 1801-1850 13 | 3945 3945.jpg AUTHOR: BERNINI, Gian Lorenzo, BORN-DIED: (b. 1598, Napoli, d. 1680, Roma), TITLE: Interior view, DATE: 1658-61, TECHNIQUE: Photo, LOCATION: Sant'Andrea al Quirinale, Rome, FORM: architecture, TYPE: religious, SCHOOL: Italian, TIMELINE: 1601-1650 14 | 4073 4073.jpg AUTHOR: BERRUGUETE, Alonso, BORN-DIED: (b. 1488, Paredes de Nava, d. 1561, Valladolid), TITLE: Adoration of the Magi, DATE: 1526-32, TECHNIQUE: Polychrome wood, LOCATION: National Museum of Religious Carvings, Valladolid, FORM: sculpture, TYPE: religious, SCHOOL: Spanish, TIMELINE: 1501-1550 15 | 4195 4195.jpg AUTHOR: BEZZUOLI, Giuseppe, BORN-DIED: (b. 1784, Firenze, d. 1855, Firenze), TITLE: Venus Crossing the Sea on a Shell, DATE: 1830s, TECHNIQUE: Oil on wood panel, 33 x 41 cm, LOCATION: Private collection, FORM: painting, TYPE: mythological, SCHOOL: Italian, TIMELINE: 1801-1850 16 | 4880 4880.jpg AUTHOR: BOSCH, Hieronymus, BORN-DIED: (b. ca. 1450, 's-Hertogenbosch, d. 1516, 's-Hertogenbosch), TITLE: Triptych of Garden of Earthly Delights (detail), DATE: c. 1500, TECHNIQUE: Oil on panel, LOCATION: Museo del Prado, Madrid, FORM: painting, TYPE: religious, SCHOOL: Netherlandish, TIMELINE: 1451-1500 17 | 5522 5522.jpg AUTHOR: BÖCKLIN, Arnold, BORN-DIED: (b. 1827, Basel, d. 1901, Firenze), TITLE: Campagna Landscape, DATE: 1857-58, TECHNIQUE: Oil on canvas, 88 x 105 cm, LOCATION: Nationalgalerie, Berlin, FORM: painting, TYPE: landscape, SCHOOL: Swiss, TIMELINE: 1851-1900 18 | 5570 5570.jpg AUTHOR: BRAMANTE, Donato, BORN-DIED: (b. 1444, Fermignano, d. 1514, Roma), TITLE: Umbrella vault, DATE: 1493, TECHNIQUE: -, LOCATION: Santa Maria delle Grazie, Milan, FORM: architecture, TYPE: interior, SCHOOL: Italian, TIMELINE: 1451-1500 19 | 7440 7440.jpg AUTHOR: CARPACCIO, Vittore, BORN-DIED: (b. 1472, Venezia, d. 1526, Capodistria), TITLE: The Lion of St Mark (detail), DATE: 1516, TECHNIQUE: Tempera on canvas, LOCATION: Palazzo Ducale, Venice, FORM: painting, TYPE: historical, SCHOOL: Italian, TIMELINE: 1501-1550 20 | 7460 7460.jpg AUTHOR: CARPEAUX, Jean-Baptiste, BORN-DIED: (b. 1827, Valenciennes, d. 1875, Courbevoie), TITLE: Ugolino and His Sons (detail), DATE: 1865-67, TECHNIQUE: Marble, LOCATION: Metropolitan Museum of Art, New York, FORM: sculpture, TYPE: other, SCHOOL: French, TIMELINE: 1851-1900 21 | 7852 7852.jpg AUTHOR: CAVALLINO, Bernardo, BORN-DIED: (b. 1616, Napoli, d. ca. 1656, Napoli), TITLE: Curing of Tobias, DATE: -, TECHNIQUE: Oil on canvas, 76 x 103 cm, LOCATION: Museo del Prado, Madrid, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1601-1650 22 | 8106 8106.jpg AUTHOR: CÉZANNE, Paul, BORN-DIED: (b. 1839, Aix-en-Provence, d. 1906, Aix-en-Provence), TITLE: Mont Sainte-Victoire, DATE: c. 1887, TECHNIQUE: Oil on canvas, 67 x 92 cm, LOCATION: Courtauld Gallery, London, FORM: painting, TYPE: landscape, SCHOOL: French, TIMELINE: 1851-1900 23 | 8154 8154.jpg AUTHOR: CÉZANNE, Paul, BORN-DIED: (b. 1839, Aix-en-Provence, d. 1906, Aix-en-Provence), TITLE: The Large Bathers, DATE: 1898-1905, TECHNIQUE: Oil on canvas, 208 x 249 cm, LOCATION: Museum of Art, Philadelphia, FORM: painting, TYPE: other, SCHOOL: French, TIMELINE: 1851-1900 24 | 8308 8308.jpg AUTHOR: CHAUVEAU, François, BORN-DIED: (b. 1613, Paris, d. 1676, Paris), TITLE: Frontispiece to 'Cabinet de M. de Scudéry', DATE: 1646, TECHNIQUE: Engraving, LOCATION: Bibliothèque Nationale, Paris, FORM: graphics, TYPE: other, SCHOOL: French, TIMELINE: 1651-1700 25 | 8432 8432.jpg AUTHOR: CIMA da Conegliano, BORN-DIED: (b. ca. 1459, Conegliano, d. 1517/18, Conegliano), TITLE: St Christopher with the Infant Christ and St Peter, DATE: 1504-06, TECHNIQUE: Oil on poplar panel, 73 x 56 cm, LOCATION: Private collection, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1451-1500 26 | 8439 8439.jpg AUTHOR: CIMA da Conegliano, BORN-DIED: (b. ca. 1459, Conegliano, d. 1517/18, Conegliano), TITLE: St John the Baptist, DATE: c. 1500, TECHNIQUE: Stained glass, LOCATION: Basilica dei Santi Giovanni e Paolo, Venice, FORM: stained-glass, TYPE: religious, SCHOOL: Italian, TIMELINE: 1451-1500 27 | 8657 8657.jpg AUTHOR: CLEVE, Joos van, BORN-DIED: (b. ca. 1485, Antwerpen, d. 1540, Antwerpen), TITLE: Self-Portrait, DATE: c. 1519, TECHNIQUE: Oil on panel, 38 x 27 cm, LOCATION: Museo Thyssen-Bornemisza, Madrid, FORM: painting, TYPE: portrait, SCHOOL: Flemish, TIMELINE: 1501-1550 28 | 9086 9086.jpg AUTHOR: CORNELISZ VAN OOSTSANEN, Jacob, BORN-DIED: (b. ca. 1472, Oostzan, d. 1533, Amsterdam), TITLE: Mary Magdalen, DATE: 1519, TECHNIQUE: Panel, 49 x 40 cm, LOCATION: Art Museum, Saint Louis, FORM: painting, TYPE: religious, SCHOOL: Netherlandish, TIMELINE: 1501-1550 29 | 9512 9512.jpg AUTHOR: COUSTOU, Nicolas, BORN-DIED: (b. 1658, Lyon, d. 1733, Paris), TITLE: Louis XIII Kneeling, DATE: 1712-28, TECHNIQUE: Marble, LOCATION: Notre-Dame Cathedral, Paris, FORM: sculpture, TYPE: religious, SCHOOL: French, TIMELINE: 1701-1750 30 | 9740 9740.jpg AUTHOR: CRANACH, Lucas the Elder, BORN-DIED: (b. 1472, Kronach, d. 1553, Weimar), TITLE: The Paradise, DATE: 1530, TECHNIQUE: Limewood, 81 x 114 cm, LOCATION: Kunsthistorisches Museum, Vienna, FORM: painting, TYPE: religious, SCHOOL: German, TIMELINE: 1501-1550 31 | 10161 10161.jpg AUTHOR: CUYP, Aelbert, BORN-DIED: (b. 1620, Dordrecht, d. 1691, Dordrecht), TITLE: River Scene with Milking Woman, DATE: c. 1646, TECHNIQUE: Oil on wood, 48,3 x 74,6 cm, LOCATION: Staatliche Kunsthalle, Karlsruhe, FORM: painting, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1651-1700 32 | 10601 10601.jpg AUTHOR: DECAMPS, Alexandre Gabriel, BORN-DIED: (b. 1803, Paris, d. 1860, Fontainebleau), TITLE: The Defeat of the Cimbri, DATE: 1833, TECHNIQUE: Oil on canvas, 130 x 195 cm, LOCATION: Musée du Louvre, Paris, FORM: painting, TYPE: historical, SCHOOL: French, TIMELINE: 1801-1850 33 | 10671 10671.jpg AUTHOR: DEGAS, Edgar, BORN-DIED: (b. 1834, Paris, d. 1917, Paris), TITLE: The Dance Class, DATE: 1874, TECHNIQUE: Oil on canvas, 84 x 77 cm, LOCATION: Metropolitan Museum of Art, New York, FORM: painting, TYPE: genre, SCHOOL: French, TIMELINE: 1851-1900 34 | 10896 10896.jpg AUTHOR: DELEMER, Jean, BORN-DIED: (active mid 15th century in Tournai and Brussels), TITLE: Female Figure from the Tomb of Isabella of Bourbon, DATE: 1476, TECHNIQUE: Bronze with black laquer patina, height 58 cm, LOCATION: Rijksmuseum, Amsterdam, FORM: sculpture, TYPE: other, SCHOOL: Flemish, TIMELINE: 1401-1450 35 | 12020 12020.jpg AUTHOR: DÜRER, Albrecht, BORN-DIED: (b. 1471, Nürnberg, d. 1528, Nürnberg), TITLE: Adoration of the Magi (detail), DATE: 1504, TECHNIQUE: Oil on wood, LOCATION: Galleria degli Uffizi, Florence, FORM: painting, TYPE: religious, SCHOOL: German, TIMELINE: 1501-1550 36 | 13577 13577.jpg AUTHOR: FRAGONARD, Jean-Honoré, BORN-DIED: (b. 1732, Grasse, d. 1806, Paris), TITLE: Marie-Madeleine Guimard (Fanciful Figure), DATE: 1769, TECHNIQUE: Oil on canvas, 82 x 65 cm, LOCATION: Musée du Louvre, Paris, FORM: painting, TYPE: portrait, SCHOOL: French, TIMELINE: 1751-1800 37 | 13778 13778.jpg AUTHOR: FRANCKEN, Frans II, BORN-DIED: (b. 1581, Antwerpen, d. 1642, Antwerpen), TITLE: Feast of Esther, DATE: -, TECHNIQUE: Oil on copper, 55 x 69 cm, LOCATION: Národní Galerie, Prague, FORM: painting, TYPE: mythological, SCHOOL: Flemish, TIMELINE: 1601-1650 38 | 13939 13939.jpg AUTHOR: FRUEAUF, Rueland the Elder, BORN-DIED: (b. 1440/45, Passau, d. 1507, Passau), TITLE: The Annunciation (detail), DATE: c. 1495, TECHNIQUE: Tempera on pine panel, LOCATION: Szépmûvészeti Múzeum, Budapest, FORM: painting, TYPE: religious, SCHOOL: Austrian, TIMELINE: 1451-1500 39 | 14283 14283.jpg AUTHOR: GAUGUIN, Paul, BORN-DIED: (b. 1848, Paris, d. 1903, Atuona, Hiva Oa, French Polynesia), TITLE: Study of a Nude (Suzanne Sewing), DATE: 1880, TECHNIQUE: Oil on canvas, 115 x 80 cm, LOCATION: Ny Carlsberg Glyptotek, Copenhagen, FORM: painting, TYPE: study, SCHOOL: French, TIMELINE: 1851-1900 40 | 14427 14427.jpg AUTHOR: GAUGUIN, Paul, BORN-DIED: (b. 1848, Paris, d. 1903, Atuona, Hiva Oa, French Polynesia), TITLE: The God Taaroa with One of His Wifes, DATE: 1892-93, TECHNIQUE: Watercolour, 215 x 170 mm, LOCATION: Musée du Louvre, Paris, FORM: graphics, TYPE: other, SCHOOL: French, TIMELINE: 1851-1900 41 | 15167 15167.jpg AUTHOR: GIJSELS, Pieter, BORN-DIED: (b. 1621, Antwerpen, d. 1690, Antwerpen), TITLE: Village Scene, DATE: -, TECHNIQUE: Oil on copper, 13 x 17 cm, LOCATION: Private collection, FORM: painting, TYPE: landscape, SCHOOL: Flemish, TIMELINE: 1651-1700 42 | 15870 15870.jpg AUTHOR: GIOTTO di Bondone, BORN-DIED: (b. 1267, Vespignano, d. 1337, Firenze), TITLE: The Stefaneschi Triptych: Martyrdom of St Paul, DATE: c. 1330, TECHNIQUE: Tempera on panel, LOCATION: Pinacoteca, Vatican, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1301-1350 43 | 16101 16101.jpg AUTHOR: GIROMETTI, Giuseppe, BORN-DIED: (b. 1760, Roma, d. 1851, Roma), TITLE: Nessus Abducting Deianira, DATE: 1815-25, TECHNIQUE: Sardonyx, mounted in gold as a pendant, 405 x 480 mm, LOCATION: Metropolitan Museum of Art, New York, FORM: sculpture, TYPE: mythological, SCHOOL: Italian, TIMELINE: 1801-1850 44 | 16215 16215.jpg AUTHOR: GIUSTI, Antonio, BORN-DIED: (b. 1479, San Martino, d. 1519, Tours), TITLE: Head of St Peter, DATE: 1509, TECHNIQUE: Terracotta, height 30 cm, LOCATION: Musée du Louvre, Paris, FORM: sculpture, TYPE: religious, SCHOOL: Italian, TIMELINE: 1501-1550 45 | 16715 16715.jpg AUTHOR: GOGH, Vincent van, BORN-DIED: (b. 1853, Groot Zundert, d. 1890, Auvers-sur-Oise), TITLE: Wheat Field with Cypresses, DATE: June 1889, Saint-Rémy, TECHNIQUE: Black chalk and pen, 470 x 620 mm, LOCATION: Rijksmuseum Vincent van Gogh, Amsterdam, FORM: graphics, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1851-1900 46 | 16970 16970.jpg AUTHOR: GOSSART, Jan, BORN-DIED: (b. ca. 1478, Maubeuge, d. 1532, Middelburg), TITLE: The Mocking of Christ or the Man of Sorrows, DATE: c. 1525, TECHNIQUE: Etching on iron, second state, 200 x 148 mm, LOCATION: Museum of Fine Arts, Boston, FORM: graphics, TYPE: religious, SCHOOL: Flemish, TIMELINE: 1501-1550 47 | 17669 17669.jpg AUTHOR: GRECO, El, BORN-DIED: (b. 1541, Candia, d. 1614, Toledo), TITLE: The Crucifixion, DATE: 1596-1600, TECHNIQUE: Oil on canvas, 312 x 169 cm, LOCATION: Museo del Prado, Madrid, FORM: painting, TYPE: religious, SCHOOL: Spanish, TIMELINE: 1551-1600 48 | 17760 17760.jpg AUTHOR: GRECO, El, BORN-DIED: (b. 1541, Candia, d. 1614, Toledo), TITLE: Laocoön (detail), DATE: 1610, TECHNIQUE: Oil on canvas, LOCATION: National Gallery of Art, Washington, FORM: painting, TYPE: mythological, SCHOOL: Spanish, TIMELINE: 1551-1600 49 | 17960 17960.jpg AUTHOR: GRÜNEWALD, Matthias, BORN-DIED: (b. 1470/80, Würzburg, d. 1528, Halle), TITLE: The Annunciation (detail), DATE: c. 1515, TECHNIQUE: Oil on wood, LOCATION: Musée d'Unterlinden, Colmar, FORM: painting, TYPE: religious, SCHOOL: German, TIMELINE: 1501-1550 50 | 18130 18130.jpg AUTHOR: GUARDI, Francesco, BORN-DIED: (b. 1712, Venezia, d. 1793, Venezia), TITLE: The Canal Grande with San Simeone Piccolo, DATE: after 1780, TECHNIQUE: Oil on canvas, 63 x 89 cm, LOCATION: Akademie der bildenden Künste, Vienna, FORM: painting, TYPE: landscape, SCHOOL: Italian, TIMELINE: 1751-1800 51 | 18149 18149.jpg AUTHOR: GUARDI, Gianantonio, BORN-DIED: (b. 1699, Wien, d. 1760, Venezia), TITLE: Madonna and Child with Saints, DATE: 1746-48, TECHNIQUE: Oil on canvas, 234 x 154 cm, LOCATION: Parish Church, Belvedere di Aquileia, FORM: painting, TYPE: landscape, SCHOOL: Italian, TIMELINE: 1701-1750 52 | 19159 19159.jpg AUTHOR: HOLBEIN, Hans the Younger, BORN-DIED: (b. 1497, Augsburg, d. 1543, London), TITLE: Robert Cheseman, DATE: 1533, TECHNIQUE: Oil on oak, 59 x 63 cm, LOCATION: Mauritshuis, The Hague, FORM: painting, TYPE: portrait, SCHOOL: German, TIMELINE: 1501-1550 53 | 19341 19341.jpg AUTHOR: HONTHORST, Gerrit van, BORN-DIED: (b. 1590, Utrecht, d. 1656, Utrecht), TITLE: Portrait of a Gentleman, DATE: 1631, TECHNIQUE: Oil on canvas, 70 x 58 cm, LOCATION: Private collection, FORM: painting, TYPE: portrait, SCHOOL: Dutch, TIMELINE: 1601-1650 54 | 20326 20326.jpg AUTHOR: KNYFF, Jacob, BORN-DIED: (b. 1639, Haarlem, d. 1681, London), TITLE: An English Ship and other Shipping off Castle Cornet, Guernsey, DATE: -, TECHNIQUE: Oil on canvas, 218 x 165 cm, LOCATION: Private collection, FORM: painting, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1651-1700 55 | 21230 21230.jpg AUTHOR: LEONARDO da Vinci, BORN-DIED: (b. 1452, Vinci, d. 1519, Cloux, near Amboise), TITLE: Landscape near Pisa, DATE: 1502-03, TECHNIQUE: Red chalk on paper, 211 x 150 mm, LOCATION: Biblioteca Nacional, Madrid, FORM: graphics, TYPE: landscape, SCHOOL: Italian, TIMELINE: 1451-1500 56 | 21905 21905.jpg AUTHOR: LISS, Johann, BORN-DIED: (b. ca. 1590, Oldenburg, d. 1631, Verona), TITLE: The Ecstasy of St Paul, DATE: 1628-29, TECHNIQUE: Oil on canvas, 80 x 58 cm, LOCATION: Staatliche Museen, Berlin, FORM: painting, TYPE: religious, SCHOOL: German, TIMELINE: 1601-1650 57 | 22186 22186.jpg AUTHOR: LORENZETTI, Ambrogio, BORN-DIED: (b. ca. 1290, Siena, d. 1348, Siena), TITLE: Nursing Madonna, DATE: c. 1330, TECHNIQUE: Tempera on wood, 90 x 48 cm, LOCATION: Palazzo Arcivescovile, Siena, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1301-1350 58 | 22651 22651.jpg AUTHOR: MACTAGGART, William, BORN-DIED: (b. 1835, Aros, Kintyre, Strathclyde, d. 1910, Broomiknowe, Lothian), TITLE: The Storm, DATE: 1890, TECHNIQUE: Oil on canvas, 122 x 183 cm, LOCATION: National Gallery of Scotland, Edinburgh, FORM: painting, TYPE: landscape, SCHOOL: Scottish, TIMELINE: 1851-1900 59 | 22740 22740.jpg AUTHOR: MAGNASCO, Alessandro, BORN-DIED: (b. 1667, Genova, d. 1749, Genova), TITLE: The Seashore, DATE: 1720s, TECHNIQUE: Oil on canvas, 158 x 211 cm, LOCATION: The Hermitage, St. Petersburg, FORM: painting, TYPE: landscape, SCHOOL: Italian, TIMELINE: 1701-1750 60 | 23438 23438.jpg AUTHOR: MARREL, Jacob, BORN-DIED: (b. ca. 1613, Frankenthal, d. 1681, Frankfurt), TITLE: Still-Life, DATE: 1669, TECHNIQUE: Oil on canvas, 36 x 43 cm, LOCATION: Private collection, FORM: painting, TYPE: still-life, SCHOOL: German, TIMELINE: 1651-1700 61 | 23588 23588.jpg AUTHOR: MASO DI BANCO, BORN-DIED: (active 1320-50 in Firenze), TITLE: Descent of Mary's Girdle to the Apostle Thomas, DATE: c. 1337-39, TECHNIQUE: Panel, LOCATION: Staatliche Museen, Berlin, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1301-1350 62 | 23901 23901.jpg AUTHOR: MASTER of Frankfurt, BORN-DIED: (b. 1460, d. 1533, Antwerpen), TITLE: St Christopher (detail), DATE: c. 1495, TECHNIQUE: Oil on panel, LOCATION: Private collection, FORM: painting, TYPE: religious, SCHOOL: Flemish, TIMELINE: 1501-1550 63 | 24321 24321.jpg AUTHOR: MATHAM, Theodor, BORN-DIED: (b. ca. 1605, Haarlem, d. 1676, Amsterdam), TITLE: Merry Toper, DATE: 1629-30, TECHNIQUE: Engraving, 216 x 170 mm, LOCATION: Graphische Sammlung Albertina, Vienna, FORM: graphics, TYPE: genre, SCHOOL: Dutch, TIMELINE: 1601-1650 64 | 25400 25400.jpg AUTHOR: METSU, Gabriel, BORN-DIED: (b. 1629, Leiden, d. 1667, Amsterdam), TITLE: The Dismissal of Hagar, DATE: 1653-54, TECHNIQUE: Oil on canvas, 112 x 86 cm, LOCATION: Stedelijk Museum De Lakenhal, Leiden, FORM: painting, TYPE: religious, SCHOOL: Dutch, TIMELINE: 1651-1700 65 | 25427 25427.jpg AUTHOR: METSU, Gabriel, BORN-DIED: (b. 1629, Leiden, d. 1667, Amsterdam), TITLE: Visit of the Physician, DATE: 1660-67, TECHNIQUE: Oil on canvas, 61 x 48 cm, LOCATION: The Hermitage, St. Petersburg, FORM: painting, TYPE: genre, SCHOOL: Dutch, TIMELINE: 1651-1700 66 | 25484 25484.jpg AUTHOR: MICHELANGELO Buonarroti, BORN-DIED: (b. 1475, Caprese, d. 1564, Roma), TITLE: Madonna and Child (detail), DATE: 1501-05, TECHNIQUE: Marble, LOCATION: O.L. Vrouwekerk, Bruges, FORM: sculpture, TYPE: religious, SCHOOL: Italian, TIMELINE: 1501-1550 67 | 25609 25609.jpg AUTHOR: MICHELANGELO Buonarroti, BORN-DIED: (b. 1475, Caprese, d. 1564, Roma), TITLE: The third bay of the ceiling, DATE: 1508-12, TECHNIQUE: Fresco, LOCATION: Cappella Sistina, Vatican, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1501-1550 68 | 26587 26587.jpg AUTHOR: MINIATURIST, French, BORN-DIED: (active around 870 in Saint-Denis), TITLE: Codex Aureus, DATE: 870, TECHNIQUE: Manuscript (Clm. 14000), 420 x 330 mm, LOCATION: Bayerische Staatsbibliothek, Munich, FORM: illumination, TYPE: religious, SCHOOL: French, TIMELINE: 0851-0900 69 | 27400 27400.jpg AUTHOR: MISERONI, Ottavio, BORN-DIED: (b. 1567, Milano, d. 1624, Praha), TITLE: Bowl in the Form of a Lion Skin, DATE: 1590s, TECHNIQUE: Cairngorm, 9 x 25 x 10 cm, LOCATION: Kunsthistorisches Museum, Vienna, FORM: metalwork, TYPE: other, SCHOOL: Italian, TIMELINE: 1601-1650 70 | 27493 27493.jpg AUTHOR: MOLENAER, Klaes, BORN-DIED: (b. before 1630, Haarlem, d. 1676, Haarlem), TITLE: Winter Landscape, DATE: -, TECHNIQUE: Oil on oak panel, 37 x 49 cm, LOCATION: Private collection, FORM: painting, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1651-1700 71 | 27521 27521.jpg AUTHOR: MOMPER, Joos de, BORN-DIED: (b. 1564, Antwerpen, d. 1634/35, Antwerpen), TITLE: Christ Healing the Blind Man, DATE: -, TECHNIQUE: Oil on canvas, 138 x 205 cm, LOCATION: Private collection, FORM: painting, TYPE: religious, SCHOOL: Flemish, TIMELINE: 1601-1650 72 | 27782 27782.jpg AUTHOR: MONTAÑÉS, Juan Martínez, BORN-DIED: (b. 1568, Alcala la Real, d. 1649, Sevilla), TITLE: The Merciful Christ, DATE: c. 1605, TECHNIQUE: Polychrome wood, height 190 cm, LOCATION: Cathedral, Seville, FORM: sculpture, TYPE: religious, SCHOOL: Spanish, TIMELINE: 1601-1650 73 | 28167 28167.jpg AUTHOR: MOSAIC ARTIST, Italian, BORN-DIED: (active 1200-1250 in Lucca), TITLE: Façade, DATE: 1200-50, TECHNIQUE: Mosaic, LOCATION: San Frediano, Lucca, FORM: mosaic, TYPE: religious, SCHOOL: Italian, TIMELINE: 1201-1250 74 | 29519 29519.jpg AUTHOR: PATENIER, Joachim, BORN-DIED: (b. ca. 1480, Bouvignes, d. 1524, Antwerpen), TITLE: Baptism of Christ, DATE: -, TECHNIQUE: Oil on oak, 59,5 x 77 cm, LOCATION: Kunsthistorisches Museum, Vienna, FORM: painting, TYPE: religious, SCHOOL: Flemish, TIMELINE: 1501-1550 75 | 29537 29537.jpg AUTHOR: PATER, Jean Baptiste Joseph, BORN-DIED: (b. 1695, Valenciennes, d. 1736, Paris), TITLE: Concert Champêtre, DATE: 1730-35, TECHNIQUE: Oil on canvas, LOCATION: Musée des Beaux-Arts, Valenciennes, FORM: painting, TYPE: genre, SCHOOL: French, TIMELINE: 1701-1750 76 | 30119 30119.jpg AUTHOR: PIERO DELLA FRANCESCA, BORN-DIED: (b. 1416, Borgo San Sepolcro, d. 1492, Borgo San Sepolcro), TITLE: 6. Torture of the Jew (detail), DATE: 1452-66, TECHNIQUE: Fresco, LOCATION: San Francesco, Arezzo, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1451-1500 77 | 30738 30738.jpg AUTHOR: PITTONI, Giambattista, BORN-DIED: (b. 1687, Venezia, d. 1767, Venezia), TITLE: Hagar in the Desert, DATE: -, TECHNIQUE: Oil on canvas, LOCATION: Santa Maria Gloriosa dei Frari, Venice, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1701-1750 78 | 30878 30878.jpg AUTHOR: POMPEI, Alessandro, Conte, BORN-DIED: (b. 1705, Verona, d. 1772, Garda), TITLE: Villa Pompei Carlotti: Façade, DATE: 1731-37, TECHNIQUE: Photo, LOCATION: Illasi, Verona, FORM: architecture, TYPE: other, SCHOOL: Italian, TIMELINE: 1701-1750 79 | 31182 31182.jpg AUTHOR: POUSSIN, Nicolas, BORN-DIED: (b. 1594, Les Andelys, d. 1665, Roma), TITLE: The Triumph of David, DATE: c. 1630, TECHNIQUE: Oil on canvas, 100 x 130 cm, LOCATION: Museo del Prado, Madrid, FORM: painting, TYPE: mythological, SCHOOL: French, TIMELINE: 1601-1650 80 | 32091 32091.jpg AUTHOR: RAFFAELLO Sanzio, BORN-DIED: (b. 1483, Urbino, d. 1520, Roma), TITLE: Head of an Angel, DATE: 1519-20, TECHNIQUE: Black chalk and brownish charcoal, heightened with white, 308 x 254 mm, LOCATION: Szépmûvészeti Múzeum, Budapest, FORM: graphics, TYPE: study, SCHOOL: Italian, TIMELINE: 1501-1550 81 | 32275 32275.jpg AUTHOR: REGNAULT, Henri, BORN-DIED: (b. 1843, Paris, d. 1871, Buzenval), TITLE: Salome, DATE: 1870, TECHNIQUE: Oil on canvas, 160 x 103 cm, LOCATION: Metropolitan Museum of Art, New York, FORM: painting, TYPE: religious, SCHOOL: French, TIMELINE: 1851-1900 82 | 32845 32845.jpg AUTHOR: REMBRANDT Harmenszoon van Rijn, BORN-DIED: (b. 1606, Leiden, d. 1669, Amsterdam), TITLE: Man in Armour (Mars?), DATE: 1650s, TECHNIQUE: Oil on canvas, 102 x 91 cm, LOCATION: Metropolitan Museum of Art, New York, FORM: painting, TYPE: portrait, SCHOOL: Dutch, TIMELINE: 1601-1650 83 | 34486 34486.jpg AUTHOR: RUBENS, Peter Paul, BORN-DIED: (b. 1577, Siegen, d. 1640, Antwerpen), TITLE: Portrait of Helene Fourment, DATE: c. 1630, TECHNIQUE: Oil on canvas, LOCATION: Musées Royaux des Beaux-Arts, Brussels, FORM: painting, TYPE: portrait, SCHOOL: Flemish, TIMELINE: 1601-1650 84 | 34602 34602.jpg AUTHOR: RUISDAEL, Jacob Isaackszon van, BORN-DIED: (b. ca. 1628, Haarlem, d. 1682, Amsterdam), TITLE: The Dam Square in Amsterdam (detail), DATE: c. 1670, TECHNIQUE: Oil on canvas, LOCATION: Staatliche Museen, Berlin, FORM: painting, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1651-1700 85 | 34926 34926.jpg AUTHOR: SALVIATI, Cecchino del, BORN-DIED: (b. 1510, Firenze, d. 1563, Roma), TITLE: Charity, DATE: 1554-58, TECHNIQUE: Oil on wood, 156 x 122 cm, LOCATION: Galleria degli Uffizi, Florence, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1501-1550 86 | 35186 35186.jpg AUTHOR: SARACENI, Carlo, BORN-DIED: (b. 1579, Venezia, d. 1620, Venezia), TITLE: The Rest on the Flight into Egypt, DATE: 1606, TECHNIQUE: Oil on canvas, 180 x 125 cm, LOCATION: Eremo dei Camaldolesi, Frascati, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1601-1650 87 | 35574 35574.jpg AUTHOR: SCHUFFENECKER, Emile, BORN-DIED: (b. 1851, Fresne-Saint-Mames, d. 1934, Paris), TITLE: Female Nude Seated on a Bed, DATE: 1885, TECHNIQUE: Oil on canvas, 65 x 45 cm, LOCATION: Private collection, FORM: painting, TYPE: other, SCHOOL: French, TIMELINE: 1851-1900 88 | 36035 36035.jpg AUTHOR: SIMONE MARTINI, BORN-DIED: (b. 1280/85, Siena, d. 1344, Avignon), TITLE: Maestà (detail), DATE: 1315, TECHNIQUE: Fresco, 99 x 85 cm (size of detail), LOCATION: Palazzo Pubblico, Siena, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1301-1350 89 | 36711 36711.jpg AUTHOR: STEEN, Jan, BORN-DIED: (b. 1626, Leiden, d. 1679, Leiden), TITLE: Self-Portrait as a Lutenist, DATE: 1652-55, TECHNIQUE: Oil on panel, 55 x 44 cm, LOCATION: Museo Thyssen-Bornemisza, Madrid, FORM: painting, TYPE: portrait, SCHOOL: Dutch, TIMELINE: 1651-1700 90 | 37121 37121.jpg AUTHOR: SUSTERMANS, Justus, BORN-DIED: (b. 1597, Antwerpen, d. 1681, Firenze), TITLE: Portrait of Vittoria della Rovere, DATE: 1628-30, TECHNIQUE: Oil on canvas, 114 x 92 cm, LOCATION: Museo di Palazzo Martelli, Florence, FORM: painting, TYPE: portrait, SCHOOL: Flemish, TIMELINE: 1601-1650 91 | 37504 37504.jpg AUTHOR: TETRODE, Willem Danielsz van, BORN-DIED: (b. ca. 1525, Delft, d. ca. 1587, Delft), TITLE: Hercules Pomarius, DATE: 1545-65, TECHNIQUE: Bronze, height 39 cm, LOCATION: Private collection, FORM: sculpture, TYPE: mythological, SCHOOL: Dutch, TIMELINE: 1551-1600 92 | 38682 38682.jpg AUTHOR: TORRITI, Jacopo, BORN-DIED: (active c. 1270-1300), TITLE: Deësis vault, DATE: 1290s, TECHNIQUE: Fresco, LOCATION: Upper Church, San Francesco, Assisi, FORM: painting, TYPE: religious, SCHOOL: Italian, TIMELINE: 1251-1300 93 | 39561 39561.jpg AUTHOR: UNKNOWN MASTER, Dutch, BORN-DIED: (active around 1650), TITLE: Wall Tile Painter, DATE: c. 1650, TECHNIQUE: Black charcoal, LOCATION: Amsterdam Museum, Amsterdam, FORM: graphics, TYPE: study, SCHOOL: Dutch, TIMELINE: 1601-1650 94 | 40334 40334.jpg AUTHOR: UNKNOWN MASTER, Italian, BORN-DIED: (active in 1500-1510 in Padua), TITLE: Toad, DATE: 1500-10, TECHNIQUE: Bronze, diameter cm, LOCATION: Kunsthistorisches Museum, Vienna, FORM: sculpture, TYPE: other, SCHOOL: Italian, TIMELINE: 1501-1550 95 | 40827 40827.jpg AUTHOR: VASARI, Giorgio, BORN-DIED: (b. 1511, Arezzo, d. 1574, Firenze), TITLE: Allegory Related to Alchemy, DATE: c. 1570, TECHNIQUE: Oil on slate, LOCATION: Palazzo Vecchio, Florence, FORM: painting, TYPE: mythological, SCHOOL: Italian, TIMELINE: 1551-1600 96 | 40945 40945.jpg AUTHOR: VELÁZQUEZ, Diego Rodriguez de Silva y, BORN-DIED: (b. 1599, Sevilla, d. 1660, Madrid), TITLE: Young Man, DATE: c. 1629, TECHNIQUE: Oil on canvas, 89 x 69 cm, LOCATION: Alte Pinakothek, Munich, FORM: painting, TYPE: portrait, SCHOOL: Spanish, TIMELINE: 1601-1650 97 | 41303 41303.jpg AUTHOR: VERMEER, Johannes, BORN-DIED: (b. 1632, Delft, d. 1675, Delft), TITLE: View of Delft, DATE: 1659-60, TECHNIQUE: Oil on canvas, 97 x 116 cm, LOCATION: Mauritshuis, The Hague, FORM: painting, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1651-1700 98 | 41805 41805.jpg AUTHOR: VERWILT, François, BORN-DIED: (b. ca. 1620, Rotterdam, d. 1691, Rotterdam), TITLE: Adoration of the Shepherds, DATE: c. 1660, TECHNIQUE: Oil on panel, 42 x 62 cm, LOCATION: Private collection, FORM: painting, TYPE: religious, SCHOOL: Dutch, TIMELINE: 1651-1700 99 | 42039 42039.jpg AUTHOR: VITTORIA, Alessandro, BORN-DIED: (b. 1525, Trento, d. 1608, Venezia), TITLE: St Sebastian, DATE: 1566, TECHNIQUE: Bronze, height 54 cm, LOCATION: Metropolitan Museum of Art, New York, FORM: sculpture, TYPE: religious, SCHOOL: Italian, TIMELINE: 1551-1600 100 | 43111 43111.jpg AUTHOR: WTEWAEL, Peter, BORN-DIED: (b. 1596, Utrecht, d. 1660, Utrecht), TITLE: Allegory of Love, DATE: -, TECHNIQUE: Oil on canvas, 68 x 106 cm, LOCATION: Private collection, FORM: painting, TYPE: mythological, SCHOOL: Dutch, TIMELINE: 1601-1650 101 | 43121 43121.jpg AUTHOR: WYCK, Jan, BORN-DIED: (b. 1644, Haarlem, d. 1700, Mortlake), TITLE: A Boating Scene, DATE: -, TECHNIQUE: Oil on canvas, 60 x 92 cm, LOCATION: Private collection, FORM: painting, TYPE: landscape, SCHOOL: Dutch, TIMELINE: 1651-1700 102 | -------------------------------------------------------------------------------- /RAG/artwork_img/.ipynb_checkpoints/10161-checkpoint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/.ipynb_checkpoints/10161-checkpoint.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/.ipynb_checkpoints/35574-checkpoint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/.ipynb_checkpoints/35574-checkpoint.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/.ipynb_checkpoints/37121-checkpoint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/.ipynb_checkpoints/37121-checkpoint.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/.ipynb_checkpoints/38682-checkpoint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/.ipynb_checkpoints/38682-checkpoint.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/.ipynb_checkpoints/42039-checkpoint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/.ipynb_checkpoints/42039-checkpoint.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/.ipynb_checkpoints/43121-checkpoint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/.ipynb_checkpoints/43121-checkpoint.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/10161.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/10161.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/10601.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/10601.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/10671.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/10671.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/1072.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/1072.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/10896.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/10896.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/12020.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/12020.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/13577.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/13577.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/13778.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/13778.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/13939.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/13939.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/14283.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/14283.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/14427.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/14427.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/15167.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/15167.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/15870.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/15870.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/16101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/16101.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/16215.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/16215.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/16715.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/16715.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/16970.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/16970.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/17669.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/17669.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/17760.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/17760.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/17960.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/17960.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/18130.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/18130.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/18149.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/18149.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/19159.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/19159.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/19341.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/19341.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/20326.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/20326.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/21230.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/21230.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/21905.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/21905.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/22186.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/22186.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/22651.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/22651.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/22740.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/22740.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/23438.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/23438.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/23588.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/23588.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/23901.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/23901.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/24321.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/24321.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/2436.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/2436.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/25400.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/25400.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/25427.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/25427.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/2545.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/2545.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/25484.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/25484.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/2550.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/2550.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/25609.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/25609.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/26587.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/26587.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/27400.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/27400.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/27493.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/27493.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/27521.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/27521.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/27782.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/27782.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/28167.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/28167.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/283.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/283.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/29519.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/29519.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/29537.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/29537.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/30119.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/30119.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/30738.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/30738.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/30878.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/30878.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/3100.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/3100.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/3118.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/3118.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/31182.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/31182.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/32091.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/32091.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/32275.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/32275.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/32845.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/32845.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/34486.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/34486.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/34602.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/34602.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/3483.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/3483.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/34926.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/34926.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/35186.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/35186.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/35574.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/35574.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/36035.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/36035.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/36711.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/36711.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/37121.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/37121.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/37504.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/37504.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/3764.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/3764.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/38682.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/38682.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/3917.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/3917.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/3945.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/3945.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/39561.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/39561.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/40334.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/40334.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/4073.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/4073.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/40827.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/40827.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/40945.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/40945.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/41303.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/41303.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/41805.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/41805.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/4195.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/4195.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/42039.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/42039.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/43111.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/43111.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/43121.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/43121.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/466.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/466.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/4880.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/4880.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/5522.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/5522.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/5570.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/5570.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/7440.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/7440.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/7460.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/7460.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/7852.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/7852.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/8106.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/8106.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/8154.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/8154.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/8308.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/8308.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/8432.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/8432.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/8439.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/8439.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/8657.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/8657.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/9086.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/9086.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/9512.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/9512.jpg -------------------------------------------------------------------------------- /RAG/artwork_img/9740.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/artwork_img/9740.jpg -------------------------------------------------------------------------------- /RAG/image_rag.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "code", 5 | "execution_count": null, 6 | "id": "bf037b19-3475-4850-9fd0-d99a713331ce", 7 | "metadata": {}, 8 | "outputs": [], 9 | "source": [ 10 | "import matplotlib.pyplot as plt\n", 11 | "from PIL import Image\n", 12 | "from utils import build_image_database" 13 | ] 14 | }, 15 | { 16 | "cell_type": "code", 17 | "execution_count": null, 18 | "id": "72c0d164-4aa0-40c0-9ecb-60fa731e97fb", 19 | "metadata": {}, 20 | "outputs": [], 21 | "source": [ 22 | "### give a image fold path,build image database\n", 23 | "img_collection = build_image_database(fold_path = '/mnt/petrelfs/liuziyu/V3Det/Soda/RAG/artwork_img/',database_name = 'test')" 24 | ] 25 | }, 26 | { 27 | "cell_type": "code", 28 | "execution_count": null, 29 | "id": "4175c116-96ed-4279-a440-4474d4f40c41", 30 | "metadata": {}, 31 | "outputs": [], 32 | "source": [ 33 | "### input a image, then retrieve\n", 34 | "test_image_path = \"./test_img.jpg\"\n", 35 | "n_pictures = 1\n", 36 | "ans = img_collection.query(\n", 37 | " query_uris=[test_image_path], # A list of strings representing URIs to data\n", 38 | " n_results=n_pictures\n", 39 | " )" 40 | ] 41 | }, 42 | { 43 | "cell_type": "code", 44 | "execution_count": null, 45 | "id": "e434db62-c47a-4b56-8784-503e2ed14526", 46 | "metadata": {}, 47 | "outputs": [], 48 | "source": [ 49 | "retrieved_image_path = '/mnt/petrelfs/liuziyu/V3Det/Soda/RAG/artwork_img/'+ ans[\"metadatas\"][0][0][\"ID\"]+'.jpg'\n", 50 | "retrieved_image_path" 51 | ] 52 | }, 53 | { 54 | "cell_type": "code", 55 | "execution_count": null, 56 | "id": "154c4c94-c71a-4bba-8135-dd9a443ada5e", 57 | "metadata": {}, 58 | "outputs": [], 59 | "source": [ 60 | "### show results\n", 61 | "image_path1 = test_image_path\n", 62 | "image_path2 = retrieved_image_path\n", 63 | "\n", 64 | "image1 = Image.open(image_path1)\n", 65 | "image2 = Image.open(image_path2)\n", 66 | "\n", 67 | "fig, axes = plt.subplots(1, 2, figsize=(12, 6))\n", 68 | "\n", 69 | "axes[0].imshow(image1)\n", 70 | "axes[0].set_title('Original Image')\n", 71 | "axes[0].axis('off')\n", 72 | "\n", 73 | "axes[1].imshow(image2)\n", 74 | "axes[1].set_title('Retrieved Image')\n", 75 | "axes[1].axis('off')\n", 76 | "\n", 77 | "plt.show()" 78 | ] 79 | }, 80 | { 81 | "cell_type": "code", 82 | "execution_count": null, 83 | "id": "f921cd03-f5d6-4809-b47e-6c2d2da32dc8", 84 | "metadata": {}, 85 | "outputs": [], 86 | "source": [] 87 | } 88 | ], 89 | "metadata": { 90 | "kernelspec": { 91 | "display_name": "Python 3 (ipykernel)", 92 | "language": "python", 93 | "name": "python3" 94 | }, 95 | "language_info": { 96 | "codemirror_mode": { 97 | "name": "ipython", 98 | "version": 3 99 | }, 100 | "file_extension": ".py", 101 | "mimetype": "text/x-python", 102 | "name": "python", 103 | "nbconvert_exporter": "python", 104 | "pygments_lexer": "ipython3", 105 | "version": "3.10.13" 106 | } 107 | }, 108 | "nbformat": 4, 109 | "nbformat_minor": 5 110 | } 111 | -------------------------------------------------------------------------------- /RAG/test_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Liuziyu77/Soda/f126ff09515c8b907b805d3fc8e9f2ba3529def1/RAG/test_img.jpg -------------------------------------------------------------------------------- /RAG/text_rag.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "code", 5 | "execution_count": null, 6 | "id": "54c60bec-0433-4590-b51a-265a31162bd7", 7 | "metadata": {}, 8 | "outputs": [], 9 | "source": [ 10 | "from utils import preprocess_files, build_text_database" 11 | ] 12 | }, 13 | { 14 | "cell_type": "code", 15 | "execution_count": null, 16 | "id": "d382be04-6140-4749-a6f9-071d4a70b524", 17 | "metadata": {}, 18 | "outputs": [], 19 | "source": [ 20 | "### upload PDF TXT or DOCX file\n", 21 | "docs = preprocess_files(file_path=\"RAR-pr.docx\",chunk_size=1000, chunk_overlap=50)" 22 | ] 23 | }, 24 | { 25 | "cell_type": "code", 26 | "execution_count": null, 27 | "id": "1972207e-2fe1-4346-ad2c-f4dfa77c686c", 28 | "metadata": {}, 29 | "outputs": [], 30 | "source": [ 31 | "docs" 32 | ] 33 | }, 34 | { 35 | "cell_type": "code", 36 | "execution_count": null, 37 | "id": "780ef08c-a9d7-4da6-9be5-f7876c2d3b81", 38 | "metadata": {}, 39 | "outputs": [], 40 | "source": [ 41 | "### build database\n", 42 | "txt_collection = build_text_database(docs, batch_size=40000, encoder=\"intfloat/multilingual-e5-base\", database_name = \"test\")" 43 | ] 44 | }, 45 | { 46 | "cell_type": "code", 47 | "execution_count": null, 48 | "id": "a4b7cac3-fdd2-4871-a617-4cff0899af7e", 49 | "metadata": {}, 50 | "outputs": [], 51 | "source": [ 52 | "### change query_text to retrieve\n", 53 | "query_text = \"What is the database consisted of\"\n", 54 | "n_text = 10\n", 55 | "ans = txt_collection.query(\n", 56 | " query_texts=[query_text],\n", 57 | " n_results=n_text\n", 58 | ")\n", 59 | "print(ans)" 60 | ] 61 | }, 62 | { 63 | "cell_type": "code", 64 | "execution_count": null, 65 | "id": "4b98ed5d-2180-45b2-823f-54cd2ce95ec9", 66 | "metadata": {}, 67 | "outputs": [], 68 | "source": [] 69 | } 70 | ], 71 | "metadata": { 72 | "kernelspec": { 73 | "display_name": "Python 3 (ipykernel)", 74 | "language": "python", 75 | "name": "python3" 76 | }, 77 | "language_info": { 78 | "codemirror_mode": { 79 | "name": "ipython", 80 | "version": 3 81 | }, 82 | "file_extension": ".py", 83 | "mimetype": "text/x-python", 84 | "name": "python", 85 | "nbconvert_exporter": "python", 86 | "pygments_lexer": "ipython3", 87 | "version": "3.10.13" 88 | } 89 | }, 90 | "nbformat": 4, 91 | "nbformat_minor": 5 92 | } 93 | -------------------------------------------------------------------------------- /RAG/utils.py: -------------------------------------------------------------------------------- 1 | import os 2 | import glob 3 | import shutil 4 | import logging 5 | import chromadb 6 | import numpy as np 7 | import pandas as pd 8 | import sentence_transformers 9 | from chromadb.utils import embedding_functions 10 | from chromadb.utils.data_loaders import ImageLoader 11 | from langchain.document_loaders import PyMuPDFLoader 12 | from langchain.embeddings import HuggingFaceEmbeddings 13 | from langchain_community.document_loaders import PyPDFLoader 14 | from chromadb.utils.embedding_functions import OpenCLIPEmbeddingFunction 15 | from langchain.text_splitter import RecursiveCharacterTextSplitter, TokenTextSplitter 16 | 17 | logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') 18 | logging.info("initial") 19 | 20 | """ 21 | Load Files Function 22 | """ 23 | ### return file format 24 | def identify_file_type(file_path): 25 | _, file_extension = os.path.splitext(file_path) 26 | file_extension = file_extension.lower() 27 | 28 | if file_extension == '.pdf': 29 | return 'PDF' 30 | elif file_extension == '.txt': 31 | return 'Text' 32 | elif file_extension == '.tsv': 33 | return 'TSV' 34 | elif file_extension == '.csv': 35 | return 'CSV' 36 | else: 37 | return None 38 | 39 | ### load PDF,TXT,DOCX 40 | def documents_load_local(doc_path): 41 | try: 42 | docs = [] 43 | docs.extend(PyMuPDFLoader(doc_path).load()) 44 | return docs 45 | except Exception as e: 46 | print(f"Documentes loaded failed: {e}") 47 | raise e 48 | 49 | ### load PDF 50 | def documents_load_pdf(pdf_path): 51 | loader = PyPDFLoader(pdf_path) 52 | docs = loader.load_and_split() 53 | return docs 54 | 55 | ### load CVS 56 | def documents_load_csv(path): 57 | docs = pd.read_csv(path, sep='\t', header=None) 58 | return docs 59 | 60 | """ 61 | Preprocess loaded text files 62 | """ 63 | ### split documents for different chunk_size 64 | def documents_split(docs,chunk_size, chunk_overlap): 65 | try: 66 | text_splitter = RecursiveCharacterTextSplitter(chunk_size=chunk_size, chunk_overlap=chunk_overlap) 67 | # text_splitter = TokenTextSplitter(encoding_name=encoder, chunk_size=chunk_size, chunk_overlap=chunk_overlap) 68 | docs_split = text_splitter.split_documents(docs) 69 | return docs_split 70 | except Exception as e: 71 | print(f"Documentes split failed: {e}") 72 | raise e 73 | 74 | def documents_to_str(docs): 75 | docs_str = [] 76 | for doc in docs: 77 | docs_str.append(doc.dict()["page_content"]) 78 | return docs_str 79 | 80 | 81 | def preprocess_files(file_path, chunk_size, chunk_overlap): 82 | docs = documents_load_local(file_path) 83 | docs_split = documents_split(docs, chunk_size, chunk_overlap) 84 | docs_split[0].dict()["page_content"] 85 | docs_split_str = documents_to_str(docs_split) 86 | return docs_split_str 87 | 88 | """ 89 | Build text database 90 | """ 91 | def build_text_database(docs, batch_size, encoder="intfloat/multilingual-e5-base", database_name = "test", database_path = "./database/test"): 92 | if os.path.exists(database_path): 93 | print(f"Database '{database_name}' exists. Change a new name.") 94 | return None 95 | else: 96 | ### text encoder 97 | embeddings = HuggingFaceEmbeddings(model_name=encoder, encode_kwargs={'normalize_embeddings': True}) 98 | ### client 99 | client = chromadb.PersistentClient(path=database_path) 100 | ### text encoder funtino 101 | text_emb_fn = embedding_functions.SentenceTransformerEmbeddingFunction(model_name=encoder, normalize_embeddings = True) 102 | 103 | ### create collection 104 | txt_collection = client.create_collection(name=database_name, embedding_function=text_emb_fn, metadata={"hnsw:space": "cosine"}) 105 | 106 | ### load collection 107 | txt_collection = client.get_collection(name=database_name, embedding_function=text_emb_fn) 108 | 109 | for start_idx in range(0, len(docs), batch_size): 110 | end_idx = min(start_idx + batch_size, len(docs)) 111 | batch_docs = docs[start_idx:end_idx] 112 | ids = [str(num) for num in range(start_idx, end_idx)] 113 | # embeddings 114 | logging.info("Begin embedding docs.") 115 | embed_split = embeddings.embed_documents(batch_docs) 116 | logging.info("End embedding docs.") 117 | 118 | # add to database 119 | metadatas = [{"ID": num} for num in ids] 120 | logging.info("Begin adding documents.") 121 | txt_collection.add( 122 | documents=batch_docs, 123 | embeddings=embed_split, 124 | ids=ids, 125 | ) 126 | logging.info(f"Batch {start_idx // batch_size + 1} done!") 127 | logging.info("All done!") 128 | 129 | return txt_collection 130 | 131 | 132 | ### delete database 133 | def delete_folder(folder_path): 134 | # check the fold 135 | if os.path.exists(folder_path): 136 | # delete the fold 137 | shutil.rmtree(folder_path) 138 | print(f"Folder '{folder_path}' has been deleted.") 139 | else: 140 | print(f"Folder '{folder_path}' does not exist.") 141 | 142 | 143 | """ 144 | Read fold with images 145 | """ 146 | def read_image_files(folder_path): 147 | # format 148 | image_formats = ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.bmp", "*.tiff"] 149 | image_paths = [] 150 | for format in image_formats: 151 | image_paths.extend(glob.glob(os.path.join(folder_path, format))) 152 | 153 | return image_paths 154 | 155 | 156 | 157 | """ 158 | Build image database 159 | """ 160 | def build_image_database(fold_path, database_name = "test", database_path = "./database/test"): 161 | 162 | ### client 163 | client = chromadb.PersistentClient(path=database_path) 164 | ### image encoder function 165 | img_emb_fn = OpenCLIPEmbeddingFunction() 166 | ### data loader 167 | data_loader = ImageLoader() 168 | ### creat collection 169 | img_collection = client.create_collection(name=database_name, embedding_function=img_emb_fn, metadata={"hnsw:space": "cosine"}) 170 | ### load collection 171 | img_collection = client.get_collection(name=database_name, embedding_function=img_emb_fn, data_loader=data_loader) 172 | 173 | image_paths = [os.path.join(fold_path, file) for file in os.listdir(fold_path) if file.lower().endswith(('.jpg', '.jpeg', '.png', '.gif', '.bmp'))] 174 | print("total image number is: "+str(len(image_paths))) 175 | ids = list(range(0, len(image_paths))) 176 | ids = [str(num) for num in ids] 177 | image_names = [os.path.splitext(os.path.basename(url))[0] for url in image_paths] 178 | metadatas = [{"ID":metadata} for metadata in image_names] 179 | logging.info("Begin building database") 180 | img_collection.add( 181 | ids=ids, 182 | uris = image_paths, 183 | metadatas=metadatas, 184 | ) 185 | logging.info("Done!") 186 | 187 | return img_collection 188 | 189 | 190 | """ 191 | Build multimodal database 192 | """ 193 | def build_multimodal_database(tsv_path, image_folder, encoder="intfloat/multilingual-e5-base", database_name = "test"): 194 | ### text encoder 195 | embeddings = HuggingFaceEmbeddings(model_name=encoder, encode_kwargs={'normalize_embeddings': True}) 196 | ### client 197 | client = chromadb.PersistentClient(path=f"./database/{database_name}") 198 | ### text/image encoder function 199 | text_emb_fn = embedding_functions.SentenceTransformerEmbeddingFunction(model_name="intfloat/multilingual-e5-base") 200 | img_emb_fn = OpenCLIPEmbeddingFunction() 201 | ### data loader 202 | data_loader = ImageLoader() 203 | 204 | 205 | txt_collection = client.create_collection(name=f"{database_name}_text", embedding_function=text_emb_fn, metadata={"hnsw:space": "cosine"}) 206 | img_collection = client.create_collection(name=f"{database_name}_image", embedding_function=img_emb_fn, metadata={"hnsw:space": "cosine"}) 207 | 208 | ### load collection 209 | txt_collection = client.get_collection(name=f"{database_name}_text", embedding_function=text_emb_fn) 210 | img_collection = client.get_collection(name=f"{database_name}_image", embedding_function=img_emb_fn, data_loader=data_loader) 211 | 212 | 213 | ### add data 214 | ### embed_text [[float],[float],[float],...]; docs_split [str,str,str,...] 215 | df = pd.read_csv(tsv_path, sep='\t') 216 | 217 | docs_split = df["INFO"] 218 | docs_split = [s for s in docs_split] 219 | 220 | metadatas = df["PATH"] 221 | metadatas = [s for s in metadatas] 222 | image_paths = metadatas.copy() 223 | metadatas = [{"ID":metadata} for metadata in metadatas] 224 | 225 | ids = list(range(0, len(docs_split))) 226 | ids = [str(num) for num in ids] 227 | 228 | logging.info("Len of data is: "+str(len(ids))) 229 | 230 | 231 | logging.info("Begin add text.") 232 | txt_collection.add( 233 | documents = docs_split, 234 | ids = ids, 235 | metadatas = metadatas 236 | ) 237 | logging.info("End add text.") 238 | 239 | image_paths = [image_folder+image_path for image_path in image_paths] 240 | logging.info("Begin add images.") 241 | img_collection.add( 242 | ids=ids, 243 | uris = image_paths, 244 | metadatas=metadatas 245 | ) 246 | logging.info("End add images.") 247 | logging.info("ALL DONE!") 248 | 249 | return txt_collection, img_collection -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |
9 |
12 |
13 |
14 |
2 |
9 |
12 |
13 |
14 |
haotian-liu/LLaVA: [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond. - GitHub | \n", 112 | "[10/26] 🔥 LLaVA-1.5 with LoRA achieves comparable performance as full-model finetuning, with a reduced GPU RAM requirement (ckpts, script). We also provide a doc on how to finetune LLaVA-1.5 on your own dataset with LoRA. [10/12] Check out the Korean] | \n", 113 | "
LLaVA | \n", 116 | "LLaVA represents a novel end-to-end trained large multimodal model that combines a vision encoder and Vicuna for general-purpose visual and language understanding, achieving impressive chat capabilities mimicking spirits of the multimodal GPT-4 and setting a new state-of-the-art accuracy on Science QA. | \n", 117 | "
LLaVA | \n", 120 | "Image. Drop Image Here - or - Click to Upload. Examples. What is unusual about this image? What are the things I should be cautious about when I visit here? Parameters . LLaVA Chatbot. 👍 Upvote. | \n", 121 | "
LLaVA(Large Language and Vision Assistant)大模型 - 知乎 | \n", 124 | "LLaVA(Large Language and Vision Assistant)是一个由威斯康星大学麦迪逊分校、微软研究院和哥伦比亚大学研究者共同发布的多模态大模型。. 该模型展示出了一些接近多模态 GPT-4 的图文理解能力:相对于 GPT-4 获得了 85.1% 的相对得分。. 当在科学问答(Science QA)上进行 ... | \n", 125 | "
LLaVA-1.6: Improved reasoning, OCR, and world knowledge | \n", 128 | "Today, we are thrilled to present LLaVA-1.6, with improved reasoning, OCR, and world knowledge. LLaVA-1.6 even exceeds Gemini Pro on several benchmarks. Compared with LLaVA-1.5, LLaVA-1.6 has several improvements: Increasing the input image to 4x | \n", 129 | "
LLaVA: Large Language and Vision Assistant - Microsoft Research | \n", 132 | "LLaVA is an open-source project, collaborating with research community to advance the state-of-the-art in AI. LLaVA represents the first end-to-end trained large multimodal model (LMM) that achieves impressive chat capabilities mimicking spirits of the multimodal GPT-4. | \n", 133 | "
LLaVA-Interactive | \n", 136 | "LLaVA-Interactive is a system-level synergy of the inference stages of three models, without additional model training. It is surprisingly cheap to build. Checkout our code release on GitHub. For better demo experience, please play LLaVA-Interactive in a seperate tab by clicking me. | \n", 137 | "
[2304.08485] Visual Instruction Tuning - arXiv.org | \n", 140 | "By instruction tuning on such generated data, we introduce LLaVA: Large Language and Vision Assistant, an end-to-end trained large multimodal model that connects a vision encoder and LLM for general-purpose visual and language understanding.Our early | \n", 141 | "
Releases · haotian-liu/LLaVA · GitHub | \n", 144 | "Release v1.1.0. 🔥 LLaVA-1.5 is out! This release supports LLaVA-1.5 model inference and serving. We will release the training scripts, data, and evaluation scripts on benchmarks in the coming week. | \n", 145 | "
LLaVA/README.md at main · haotian-liu/LLaVA · GitHub | \n", 148 | "[NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond. - LLaVA/README.md at main · haotian-liu/LLaVA | \n", 149 | "
LLaVA | \n", 56 | "LLaVA Model. We introduce LLaVA (Large Language-and-Vision Assistant) , an end-to-end trained large multimodal model that connects a vision encoder and LLM for ... | \n", 57 | "
haotian-liu/LLaVA: [NeurIPS'23 Oral] Visual Instruction ... - GitHub | \n", 60 | "Chat about images using LLaVA without the need of Gradio interface. It also supports multiple GPUs, 4-bit and 8-bit quantized inference. With 4-bit quantization ... | \n", 61 | "
Visual Instruction Tuning | \n", 64 | "Apr 17, 2023 ... Our early experiments show that LLaVA demonstrates impressive multimodel chat abilities, sometimes exhibiting the behaviors of multimodal ... | \n", 65 | "
LLaVA | \n", 68 | "The service is a research preview intended for non-commercial use only, subject to the model License of LLaMA, Terms of Use of the data generated by OpenAI, and ... | \n", 69 | "
LLaVA: Large Language and Vision Assistant - Microsoft Research | \n", 72 | "LLaVA is an open-source project, collaborating with research community to advance the state-of-the-art in AI. LLaVA represents the first end-to-end trained ... | \n", 73 | "
Image descriptions with LLAVA : r/LocalLLaMA | \n", 76 | "Dec 30, 2023 ... Image descriptions with LLAVA ... Here is a \"good\" label: The image features a comic strip with two main characters: an angel and a runner. The ... | \n", 77 | "
LLaVa | \n", 80 | "LLaVa is an open-source chatbot trained by fine-tuning LlamA/Vicuna on GPT-generated multimodal instruction-following data. It is an auto-regressive language ... | \n", 81 | "
[llama.cpp] Experimental LLaVA 1.6 Quants (34B and Mistral 7B) : r ... | \n", 84 | "Feb 2, 2024 ... [llama.cpp] Experimental LLaVA 1.6 Quants (34B and Mistral 7B) ... They were prepared through this hacky script and is likely missing some of the ... | \n", 85 | "
How to use llava with huggingface - Transformers - Hugging Face ... | \n", 88 | "Aug 27, 2023 ... Create a Visual Chatbot on AWS EC2 with LLaVA-1.5 and Runhouse. Get started with multimodal conversational models using the open-source LLaVA- ... | \n", 89 | "
Has Anyone Encountered Issues with LLaVA 1.6 Models on Ollama ... | \n", 92 | "Feb 9, 2024 ... Make sure you are running latest version of LLaVA, for me it runs superfast, even tho sometimes server can crash, when the response requires ... | \n", 93 | "
Jake Bates DOES IT AGAIN....The Detroit Lions ... - YouTube | \n", 119 | "... Lions resonates with every fan, \"Lions Syndicate\" brings you another electrifying update that you simply can't miss. \"Jake Bates DOES ... | \n", 120 | "https://i.ytimg.com/vi/kLX17H48ios/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3mQ8U8YW-sY56CrG1KlKj-m2v9-iw | \n", 121 | "
Detroit Lions News And A Mock Draft - YouTube | \n", 124 | "Detroit Lions News And A Mock Draft In this episode of the Detroit Lions Podcast, Chris and Jeff are finally back! Its been a bit since the ... | \n", 125 | "https://i.ytimg.com/vi/KvxOKLOkOAQ/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3ll1UxiFsfNUmOnZF2k7xnLT3O6bA | \n", 126 | "
Diving into Detroit Lions 7-Round Mock Draft from Erik Schlitt | \n", 129 | "Pride of Detroit's very own Erik Schlitt conducted a 7-round mock draft for the Detroit Lions. Tune in to see if Meko and Morgan agree with ... | \n", 130 | "https://i.ytimg.com/vi/JpaR3ACFNeE/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3nTOOIw-4vS-OPilwrELuGG3mJoAg | \n", 131 | "
Alim McNeill Is A BEAST For The Lions - YouTube | \n", 134 | "Alim doesn't get a lot of hype but he's a top 10 DT imo. I think he's gonna have a huge 2024 season for The Lions with double digit sacks. | \n", 135 | "https://i.ytimg.com/vi/wWF71AtKm7E/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3nsm_9Q3gP0XlJP3xacRtERJRA5Sg | \n", 136 | "
Opening Day and the Detroit Lions still get the loudest ovation | \n", 139 | "Opening Day and the Detroit Lions still get the loudest ovation. 1.8K views · 5 hours ago Locked On Lions Podcast ...more. Locked On Lions. 10.7 ... | \n", 140 | "https://i.ytimg.com/vi/Difxt8qW0cs/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3nVHORSmC8Qp8liO59MNEfkPBPkaQ | \n", 141 | "
Detroit Lions Mailbag Rumors: Sign Xavien Howard & Tyler ... | \n", 144 | "Detroit Lions rumors begin with the Detroit Lions signing Free Agenct CB Xavien Howard. The Lions need help on defense and get a veteran CB ... | \n", 145 | "https://i.ytimg.com/vi/TCUpU3dcZvU/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3nPek0pKF5q9EJo-Kkc6llMyh5QuA | \n", 146 | "
How Much BETTER Are the Detroit Lions? - YouTube | \n", 149 | "Ryan Ermanni, Braylon Edwards and Tom Mazawey discuss the Detroit Lions free agent signings and how the crop of new players will affect the ... | \n", 150 | "https://i.ytimg.com/vi/IKruZqpva4s/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3mjl4P_pMfRT16kFOXcI1dvmNyq6w | \n", 151 | "
I Don't Think We Realize What The Detroit Lions Just Did.. | \n", 154 | "No mention of Amik Robertson coming to the lions from the raiders. I'm excited to see what he can do too he wanted to be a lion baaaad. | \n", 155 | "https://i.ytimg.com/vi/dYSSHgYPERM/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3ly3aAsp2Ma_rifiEf4PsddliNd0A | \n", 156 | "
Detroit Lions Are Setting Up A Huge Draft Move - YouTube | \n", 159 | "Detroit Lions Are Setting Up A Huge Draft Move. detroit lions news and rumors. detroit lions are for sure going to trade their pick in the ... | \n", 160 | "https://i.ytimg.com/vi/Fvxq3w_jR8A/mqdefault.jpg?sqp=-oaymwEFCJQBEFM&rs=AMzJL3nrmm2_-p_OJruEODf9H9armk6Btg | \n", 161 | "
Zeitler on living up to the standard that's been set - Detroit Lions | \n", 164 | "Wood on continued growth throughout the organization. President and CEO Rod Wood speaks to the media about the future of the Lions organization at the 2024 NFL ... | \n", 165 | "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSVOSzC6dO3nIo29HBfspJQObbJVNOR7qBiQLeSEZeCcjsp&s | \n", 166 | "
189 |
190 |202 | 🚀🚀🚀Welcome to the SODA: Search, Organize, Discover Anything. This multi-functional tool helps you search the web, process text and images, and leverage large language models to derive insights. 🚀🚀🚀 203 |
204 |