Skip to content

Commit

Permalink
Update the codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuyifengzju committed Oct 23, 2023
1 parent bc46327 commit e814e37
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 79 deletions.
91 changes: 16 additions & 75 deletions docs/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h2 class="subtitle">
<div class="container is-max-desktop">
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h4 class="subtitle is-3">Segmenetation Correspondence Model (SCM)</h4>
<h4 class="subtitle is-3">Segmentation Correspondence Model (SCM)</h4>
<div class="hero-body">
<img id="teaser" src="./static/images/scm.svg" alt="Nerfies teaser image."/>
<h2 class="subtitle">
Expand All @@ -182,62 +182,13 @@ <h2 class="subtitle">
</div>
</section>


<hr>
<br>
<br>

<section class="section">

<div id="real-robot-results-div" style="justify-content: center;">
</div>
<h3 style="text-align: center!important;" class="title is-5">Success rates (%) of GROOT in real robot tasks.</h3>
</section>

<br>

<hr>
<br>
<br>

<section class="section">
<div class="container is-max-desktop">

<!-- <div class="columns is-centered">
<div class="column">
<div class="content">
<h2 class="title is-3">Visual Effects</h2>
<p>
Using <i>nerfies</i> you can create fun visual effects. This Dolly zoom effect
would be impossible without nerfies since it would require going through a wall.
</p>
<video id="dollyzoom" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/dollyzoom-stacked.mp4"
type="video/mp4">
</video>
</div>
</div>
<div class="column">
<h2 class="title is-3">Matting</h2>
<div class="columns is-centered">
<div class="column content">
<p>
As a byproduct of our method, we can also solve the matting problem by ignoring
samples that fall outside of a bounding box during rendering.
</p>
<video id="matting-video" controls playsinline height="100%">
<source src="./static/videos/matting.mp4"
type="video/mp4">
</video>
</div>
</div>
</div>
</div> -->
<!-- <div class="content" id="plotly-sam"></div> -->

<!-- Segmentation Correspondence Model. -->
<div class="columns is-centered">
<div class="column is-full-width">
Expand Down Expand Up @@ -267,40 +218,30 @@ <h2 class="title is-3">Segmentation Correspondence Model</h2>
</div>

<br>

<!-- <div class="columns is-vcentered interpolation-panel">
<div class="column is-3 has-text-centered">
<img src="./static/images/interpolate_start.jpg"
class="interpolation-image"
alt="Interpolate start reference image."/>
<p>Start Frame</p>
</div>
<div class="column interpolation-video-column">
<div id="interpolation-image-wrapper">
Loading...
</div>
<input class="slider is-fullwidth is-large is-info"
id="interpolation-slider"
step="1" min="0" max="100" value="0" type="range">
</div>
<div class="column is-3 has-text-centered">
<img src="./static/images/interpolate_end.jpg"
class="interpolation-image"
alt="Interpolation end reference image."/>
<p class="is-bold">End Frame</p>
</div>
</div> -->
<br/>
<!--/ Interpolating. -->

</div>
</div>
<!--/ Segmentation Correspondence Model. -->
</section>

<br>

<hr>
<br>
<br>

<section class="section">

<div id="real-robot-results-div" style="justify-content: center;">
</div>
<h3 style="text-align: center!important;" class="title is-5">Success rates (%) of GROOT in real robot tasks.</h3>
</section>

<br>

<hr>
<br>
<br>

<!-- Carousel Video of Failure Rollouts. -->
<section class="hero is-small">
Expand Down
8 changes: 4 additions & 4 deletions docs/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ $(document).ready(function() {
const y = Math.floor(i / 4 / mask_canvas.width);
const object = maskImage[y][x];
if (object === highlightedObject) {
imgData.data[i] = color[0]; // red
imgData.data[i] = color[0];
imgData.data[i + 1] = color[1];
imgData.data[i + 2] = color[2];
imgData.data[i + 3] = 200; // full opacity
} else {
imgData.data[i] = 0;
imgData.data[i + 1] = 0;
imgData.data[i + 2] = 0;
imgData.data[i] = 255;
imgData.data[i + 1] = 255;
imgData.data[i + 2] = 255;
imgData.data[i + 3] = 50; // partial opacity
}
}
Expand Down

0 comments on commit e814e37

Please sign in to comment.