CoolFace
Datasetpublic

SALT-NLP/Design2Code

This dataset consists of 484 webpages from the C4 validation set, serving the purpose of testing multimodal LLMs on converting visual designs into code implementations. Each example is a pair of source HTML and screenshot ({id}.html and {id}.png). See the dataset in the huggingface format here. Note that all images in these webpages are replaced by a placeholder image (rick.jpg) Please refer to our project page and our paper for more information. Example Usage For example, you… See the full description on the dataset page: https://huggingface.co/datasets/SALT-NLP/Design2Code.

sourceHugging Faceodc-byupdated 3y agoView on Hugging Face
22likes1.8kdownloads
7557.html616 linesDownload Raw Back to root
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">2<html xmlns="">3 <head>4  <style>5   /*6 * sphinxdoc.css_t7 * ~~~~~~~~~~~~~~~8 *9 * Sphinx stylesheet -- sphinxdoc theme.  Originally created by10 * Armin Ronacher for Werkzeug.11 *12 * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.13 * :license: BSD, see LICENSE for details.14 *15 */16 17 18/* -- page layout ----------------------------------------------------------- */19 20body {21    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',22                 'Verdana', sans-serif;23    font-size: 14px;24    letter-spacing: -0.01em;25    line-height: 150%;26    text-align: center;27    background-color: #BFD1D4;28    color: black;29    padding: 0;30    border: 1px solid #aaa;31 32    margin: 0px 80px 0px 80px;33    min-width: 740px;34}35 36div.document {37    background-color: white;38    text-align: left;39    background-image: url(contents.png);40    background-repeat: repeat-x;41}42 43div.bodywrapper {44    margin: 0 240px 0 0;45    border-right: 1px solid #ccc;46}47 48div.body {49    margin: 0;50    padding: 0.5em 20px 20px 20px;51}52 53div.related {54    font-size: 1em;55}56 57div.related ul {58    background-image: url(navigation.png);59    height: 2em;60    border-top: 1px solid #ddd;61    border-bottom: 1px solid #ddd;62}63 64div.related ul li {65    margin: 0;66    padding: 0;67    height: 2em;68    float: left;69}70 71div.related ul li.right {72    float: right;73    margin-right: 5px;74}75 76div.related ul li a {77    margin: 0;78    padding: 0 5px 0 5px;79    line-height: 1.75em;80    color: #EE9816;81}82 83div.related ul li a:hover {84    color: #3CA8E7;85}86 87div.sphinxsidebarwrapper {88    padding: 0;89}90 91div.sphinxsidebar {92    margin: 0;93    padding: 0.5em 15px 15px 0;94    width: 210px;95    float: right;96    font-size: 1em;97    text-align: left;98}99 100div.sphinxsidebar h3, div.sphinxsidebar h4 {101    margin: 1em 0 0.5em 0;102    font-size: 1em;103    padding: 0.1em 0 0.1em 0.5em;104    color: white;105    border: 1px solid #86989B;106    background-color: #AFC1C4;107}108 109div.sphinxsidebar h3 a {110    color: white;111}112 113div.sphinxsidebar ul {114    padding-left: 1.5em;115    margin-top: 7px;116    padding: 0;117    line-height: 130%;118}119 120div.sphinxsidebar ul ul {121    margin-left: 20px;122}123 124div.footer {125    background-color: #E3EFF1;126    color: #86989B;127    padding: 3px 8px 3px 0;128    clear: both;129    font-size: 0.8em;130    text-align: right;131}132 133div.footer a {134    color: #86989B;135    text-decoration: underline;136}137 138/* -- body styles ----------------------------------------------------------- */139 140p {    141    margin: 0.8em 0 0.5em 0;142}143 144a {145    color: #CA7900;146    text-decoration: none;147}148 149a:hover {150    color: #2491CF;151}152 153div.body a {154    text-decoration: underline;155}156 157h1 {158    margin: 0;159    padding: 0.7em 0 0.3em 0;160    font-size: 1.5em;161    color: #11557C;162}163 164h2 {165    margin: 1.3em 0 0.2em 0;166    font-size: 1.35em;167    padding: 0;168}169 170h3 {171    margin: 1em 0 -0.3em 0;172    font-size: 1.2em;173}174 175div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {176    color: black!important;177}178 179h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {180    display: none;181    margin: 0 0 0 0.3em;182    padding: 0 0.2em 0 0.2em;183    color: #aaa!important;184}185 186h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,187h5:hover a.anchor, h6:hover a.anchor {188    display: inline;189}190 191h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,192h5 a.anchor:hover, h6 a.anchor:hover {193    color: #777;194    background-color: #eee;195}196 197a.headerlink {198    color: #c60f0f!important;199    font-size: 1em;200    margin-left: 6px;201    padding: 0 4px 0 4px;202    text-decoration: none!important;203}204 205a.headerlink:hover {206    background-color: #ccc;207    color: white!important;208}209 210cite, code, tt {211    font-family: 'Consolas', 'Deja Vu Sans Mono',212                 'Bitstream Vera Sans Mono', monospace;213    font-size: 0.95em;214    letter-spacing: 0.01em;215}216 217tt {218    background-color: #f2f2f2;219    border-bottom: 1px solid #ddd;220    color: #333;221}222 223tt.descname, tt.descclassname, tt.xref {224    border: 0;225}226 227hr {228    border: 1px solid #abc;229    margin: 2em;230}231 232a tt {233    border: 0;234    color: #CA7900;235}236 237a tt:hover {238    color: #2491CF;239}240 241pre {242    font-family: 'Consolas', 'Deja Vu Sans Mono',243                 'Bitstream Vera Sans Mono', monospace;244    font-size: 0.95em;245    letter-spacing: 0.015em;246    line-height: 120%;247    padding: 0.5em;248    border: 1px solid #ccc;249    background-color: #f8f8f8;250}251 252pre a {253    color: inherit;254    text-decoration: underline;255}256 257td.linenos pre {258    padding: 0.5em 0;259}260 261div.quotebar {262    background-color: #f8f8f8;263    max-width: 250px;264    float: right;265    padding: 2px 7px;266    border: 1px solid #ccc;267}268 269div.topic {270    background-color: #f8f8f8;271}272 273table {274    border-collapse: collapse;275    margin: 0 -0.5em 0 -0.5em;276}277 278table td, table th {279    padding: 0.2em 0.5em 0.2em 0.5em;280}281 282div.admonition, div.warning {283    font-size: 0.9em;284    margin: 1em 0 1em 0;285    border: 1px solid #86989B;286    background-color: #f7f7f7;287    padding: 0;288}289 290div.admonition p, div.warning p {291    margin: 0.5em 1em 0.5em 1em;292    padding: 0;293}294 295div.admonition pre, div.warning pre {296    margin: 0.4em 1em 0.4em 1em;297}298 299div.admonition p.admonition-title,300div.warning p.admonition-title {301    margin: 0;302    padding: 0.1em 0 0.1em 0.5em;303    color: white;304    border-bottom: 1px solid #86989B;305    font-weight: bold;306    background-color: #AFC1C4;307}308 309div.warning {310    border: 1px solid #940000;311}312 313div.warning p.admonition-title {314    background-color: #CF0000;315    border-bottom-color: #940000;316}317 318div.admonition ul, div.admonition ol,319div.warning ul, div.warning ol {320    margin: 0.1em 0.5em 0.5em 3em;321    padding: 0;322}323 324div.versioninfo {325    margin: 1em 0 0 0;326    border: 1px solid #ccc;327    background-color: #DDEAF0;328    padding: 8px;329    line-height: 1.3em;330    font-size: 0.9em;331}332 333.viewcode-back {334    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',335                 'Verdana', sans-serif;336}337 338div.viewcode-block:target {339    background-color: #f4debf;340    border-top: 1px solid #ac9;341    border-bottom: 1px solid #ac9;342}343 344 345.highlight .hll { background-color: #ffffcc }346.highlight  { background: #eeffcc; }347.highlight .c { color: #408090; font-style: italic } /* Comment */348.highlight .err { border: 1px solid #FF0000 } /* Error */349.highlight .k { color: #007020; font-weight: bold } /* Keyword */350.highlight .o { color: #666666 } /* Operator */351.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */352.highlight .cp { color: #007020 } /* Comment.Preproc */353.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */354.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */355.highlight .gd { color: #A00000 } /* Generic.Deleted */356.highlight .ge { font-style: italic } /* Generic.Emph */357.highlight .gr { color: #FF0000 } /* Generic.Error */358.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */359.highlight .gi { color: #00A000 } /* Generic.Inserted */360.highlight .go { color: #333333 } /* Generic.Output */361.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */362.highlight .gs { font-weight: bold } /* Generic.Strong */363.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */364.highlight .gt { color: #0044DD } /* Generic.Traceback */365.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */366.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */367.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */368.highlight .kp { color: #007020 } /* Keyword.Pseudo */369.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */370.highlight .kt { color: #902000 } /* Keyword.Type */371.highlight .m { color: #208050 } /* Literal.Number */372.highlight .s { color: #4070a0 } /* Literal.String */373.highlight .na { color: #4070a0 } /* Name.Attribute */374.highlight .nb { color: #007020 } /* Name.Builtin */375.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */376.highlight .no { color: #60add5 } /* Name.Constant */377.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */378.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */379.highlight .ne { color: #007020 } /* Name.Exception */380.highlight .nf { color: #06287e } /* Name.Function */381.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */382.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */383.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */384.highlight .nv { color: #bb60d5 } /* Name.Variable */385.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */386.highlight .w { color: #bbbbbb } /* Text.Whitespace */387.highlight .mf { color: #208050 } /* Literal.Number.Float */388.highlight .mh { color: #208050 } /* Literal.Number.Hex */389.highlight .mi { color: #208050 } /* Literal.Number.Integer */390.highlight .mo { color: #208050 } /* Literal.Number.Oct */391.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */392.highlight .sc { color: #4070a0 } /* Literal.String.Char */393.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */394.highlight .s2 { color: #4070a0 } /* Literal.String.Double */395.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */396.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */397.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */398.highlight .sx { color: #c65d09 } /* Literal.String.Other */399.highlight .sr { color: #235388 } /* Literal.String.Regex */400.highlight .s1 { color: #4070a0 } /* Literal.String.Single */401.highlight .ss { color: #517918 } /* Literal.String.Symbol */402.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */403.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */404.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */405.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */406.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */407  </style>408  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">409  <title>410   object_recognition_transparent_objects: Recognition of Transparent Objects &mdash; object_recognition_transparent_objects411  </title>412 </head>413 <body>414  <div class="related">415   <h3>416    Navigation417   </h3>418   <ul>419    <li class="right" style="margin-right: 10px">420     <a accesskey="I" title="General Index">421      index422     </a>423    </li>424    <li class="right">425     <a accesskey="N" title="Algorithm Details">426      next427     </a>428     |429    </li>430    <li>431     <a>432      object_recognition_transparent_objects433     </a>434     &raquo;435    </li>436   </ul>437  </div>438  <div class="sphinxsidebar">439   <div class="sphinxsidebarwrapper">440    <h3>441     <a>442      Table Of Contents443     </a>444    </h3>445    <ul>446     <li>447      <a class="reference internal">448       object_recognition_transparent_objects: Recognition of Transparent Objects449      </a>450     </li>451     <li>452      <a class="reference internal">453       References454      </a>455     </li>456    </ul>457    <h4>458     Next topic459    </h4>460    <p class="topless">461     <a title="next chapter">462      Algorithm Details463     </a>464    </p>465    <h3>466     This Page467    </h3>468    <ul class="this-page-menu">469     <li>470      <a rel="nofollow">471       Show Source472      </a>473     </li>474    </ul>475    <div id="searchbox" style>476     <h3>477      Quick search478     </h3>479     <form action="search.html" class="search" method="get">480      <input name="q" type="text">481      <input type="submit" value="Go">482      <input name="check_keywords" type="hidden" value="yes">483      <input name="area" type="hidden" value="default">484     </form>485     <p class="searchtip" style="font-size: 90%">486      Enter search terms or a module, class or function name.487     </p>488    </div>489   </div>490  </div>491  <div class="document">492   <div class="documentwrapper">493    <div class="bodywrapper">494     <div class="body">495      <div class="section" id="object-recognition-transparent-objects-recognition-of-transparent-objects">496       <span id="transparent-objects">497       </span>498       <h1>499        object_recognition_transparent_objects: Recognition of Transparent Objects500        <a class="headerlink" title="Permalink to this headline">501         &para;502        </a>503       </h1>504       <p>505        Transparent objects is a pipeline that can detect and estimate poses of transparent objects, given a point cloud model of an object. The pipeline is fully integrated into the Recognition Kitchen so usual training and detection from Object Recognition can be used with subsequent grasping.506       </p>507       <div class="toctree-wrapper compound">508        <ul>509         <li class="toctree-l1">510          <a class="reference internal">511           Algorithm Details512          </a>513          <ul>514           <li class="toctree-l2">515            <a class="reference internal">516             Training517            </a>518            <ul>519             <li class="toctree-l3">520              <a class="reference internal">521               Model Construction522              </a>523             </li>524             <li class="toctree-l3">525              <a class="reference internal">526               Silhouettes Generation527              </a>528             </li>529            </ul>530           </li>531           <li class="toctree-l2">532            <a class="reference internal">533             Testing534            </a>535            <ul>536             <li class="toctree-l3">537              <a class="reference internal">538               Test Silhouette Detection539              </a>540             </li>541             <li class="toctree-l3">542              <a class="reference internal">543               Pose Estimation(Estimate Rx, Ry, Rz and T)544              </a>545             </li>546            </ul>547           </li>548          </ul>549         </li>550         <li class="toctree-l1">551          <a class="reference internal">552           Sample553          </a>554         </li>555        </ul>556       </div>557      </div>558      <div class="section" id="references">559       <h1>560        References561        <a class="headerlink" title="Permalink to this headline">562         &para;563        </a>564       </h1>565       <p>566        Ilya Lysenkov, Victor Eruhimov, and Gary Bradski, &ldquo;567        <a class="reference external">568         Recognition and Pose Estimation of Rigid Transparent Objects with a Kinect Sensor569        </a>570        ,&rdquo; 2013 Robotics: Science and Systems Conference (RSS), 2013.571       </p>572       <p>573        Ilya Lysenkov, and Vincent Rabaud, &ldquo;Pose Estimation of Rigid Transparent Objects in Transparent Clutter&rdquo;, 2013 IEEE International Conference on Robotics and Automation (ICRA), 2013.574       </p>575      </div>576     </div>577    </div>578   </div>579   <div class="clearer">580   </div>581  </div>582  <div class="related">583   <h3>584    Navigation585   </h3>586   <ul>587    <li class="right" style="margin-right: 10px">588     <a title="General Index">589      index590     </a>591    </li>592    <li class="right">593     <a title="Algorithm Details">594      next595     </a>596     |597    </li>598    <li>599     <a>600      object_recognition_transparent_objects601     </a>602     &raquo;603    </li>604   </ul>605  </div>606  <div class="footer">607   &copy; Copyright 2013,  Willow Garage, Inc.608      Created using609   <a>610    Sphinx611   </a>612   1.2.2.613  </div>614 </body>615</html>616