@@ -156,12 +156,12 @@ <h1 class="title is-1 publication-title">CodeDiffuser: Attention-Enhanced Diffus
156156 < div class ="container is-fullhd ">
157157 < div class ="hero-body ">
158158 < div class ="container ">
159- <!-- < div class="columns is-vcentered is-centered">
159+ < div class ="columns is-vcentered is-centered ">
160160 < video id ="teaser " autoplay muted loop height ="60% " width ="60% ">
161161 < source src ="media/video/teaser.mp4 " type ="video/mp4 ">
162- </video> -->
163- < div class ="publication-video ">
164- < iframe src ="https://www.youtube.com/embed/cC81EqspCok " width ="60% " height ="60% " frameborder ="0 " allow ="autoplay; encrypted-media " allowfullscreen > </ iframe >
162+ </ video >
163+ <!-- < div class="publication-video">
164+ <iframe src="https://www.youtube.com/embed/cC81EqspCok" width="60%" height="60%" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->
165165 </ div >
166166 < br >
167167 < br >
@@ -173,7 +173,118 @@ <h2 class="subtitle has-text-centered">
173173 </ div >
174174</ section >
175175
176- <!-- <section class="hero is-light is-small">
176+
177+ < section class ="section ">
178+ < div class ="container ">
179+ < div class ="columns is-centered has-text-centered ">
180+ < div class ="column is-12 ">
181+ < h2 class ="title is-3 "> Interactive Method Visualization</ h2 >
182+ </ div >
183+ </ div >
184+ < div class ="columns ">
185+ <!-- first row: instruction -->
186+ < div class ="columns " style ="margin-bottom: -1rem; ">
187+ < div class ="column is-6 is-offset-5 " style ="max-width: 100%; ">
188+ < div style ="width: 60%; min-width: 300px; max-width: 500px; ">
189+ < div style ="margin-bottom: 0.25rem; text-align: left; ">
190+ < span style ="font-size: 0.85em; color: #888; white-space: nowrap; ">
191+ ⏳ It can take up to one minute to get results.
192+ </ span >
193+ </ div >
194+ < div class ="field has-addons " style ="position: relative; ">
195+ < div class ="control has-icons-left is-expanded ">
196+ < input type ="text "
197+ id ="instruction "
198+ class ="input is-small "
199+ style ="font-size: 0.875rem; "
200+ placeholder ="Hang the blue mug on the left branch. "
201+ autocomplete ="off "
202+ spellcheck ="false ">
203+ < span class ="icon is-left is-small ">
204+ < i class ="fas fa-terminal "> </ i >
205+ </ span >
206+ </ div >
207+ < div class ="control ">
208+ < button class ="button is-primary is-small "
209+ onclick ="processInstruction() "
210+ style ="font-size: 0.875rem; min-width: 70px; ">
211+ < span > Enter</ span >
212+ </ button >
213+ </ div >
214+ < div class ="control " id ="loading " style ="display: none; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); ">
215+ < span class ="icon is-small ">
216+ < i class ="fas fa-circle-notch fa-spin "> </ i >
217+ </ span >
218+ </ div >
219+ </ div >
220+ <!-- Example instructions -->
221+ < div style ="margin-top: 1rem; text-align: left; ">
222+ < p style ="font-size: 0.85em; color: #666; margin-bottom: 0.5rem; "> Select an example or enter custom instruction:</ p >
223+ < div class ="field ">
224+ < div class ="control ">
225+ < div class ="select is-small is-fullwidth ">
226+ < select id ="instruction-select " onchange ="handleInstructionSelect() ">
227+ < option value ="custom "> Custom instruction</ option >
228+ < option value ="Hang the blue mug on the left branch "> Hang the blue mug on the left branch</ option >
229+ < option value ="HHang the red mug on the branch furthest to it "> Hang the red mug on the branch furthest to it</ option >
230+ < option value ="Hang the red mug on one branch, sorry, the blue one. "> Hang the red mug on one branch, sorry, the blue one.</ option >
231+ < option value ="I want to use the blue mug. Hang the red mug on one branch. "> I want to use the blue mug. Hang the red mug on one branch.</ option >
232+ </ select >
233+ </ div >
234+ </ div >
235+ </ div >
236+ </ div >
237+ </ div >
238+ </ div >
239+ </ div >
240+ </ div >
241+ <!-- second row: method and point cloud visualization -->
242+ < div class ="columns is-centered ">
243+ < div class ="column is-8 ">
244+ < figure class ="image " style ="width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; ">
245+ < img src ="media/images/method.png " alt ="Method Overview " style ="max-width: 90%; max-height: 90%; object-fit: contain; ">
246+ </ figure >
247+ </ div >
248+ < div class ="column is-3 ">
249+ < div id ="visualization " style ="width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; "> </ div >
250+ </ div >
251+ </ div >
252+ <!-- Intermediate results section -->
253+ < div class ="columns is-centered " style ="margin-top: 2rem; ">
254+ < div class ="column is-8 ">
255+ < div class ="box ">
256+ < h3 class ="title is-5 "> Intermediate Results</ h3 >
257+ < div class ="columns ">
258+ < div class ="column is-6 ">
259+ < h4 class ="title is-6 "> Generated Code</ h4 >
260+ < pre id ="generated-code " style ="background-color: #f5f5f5; padding: 1rem; border-radius: 4px; max-height: 200px; overflow-y: auto; ">
261+ // Code will appear here
262+ </ pre >
263+ </ div >
264+ < div class ="column is-6 ">
265+ < h4 class ="title is-6 "> Object Detection</ h4 >
266+ < div id ="detection-results " style ="background-color: #f5f5f5; padding: 1rem; border-radius: 4px; max-height: 200px; overflow-y: auto; ">
267+ < div class ="columns is-multiline ">
268+ < div class ="column is-6 ">
269+ < p class ="has-text-centered mb-2 "> Detection 1</ p >
270+ < img id ="rgb-detection " src ="" alt ="RGB Detection " style ="max-width: 100%; height: auto; ">
271+ </ div >
272+ < div class ="column is-6 ">
273+ < p class ="has-text-centered mb-2 "> Detection 2</ p >
274+ < img id ="depth-detection " src ="" alt ="Depth Detection " style ="max-width: 100%; height: auto; ">
275+ </ div >
276+ </ div >
277+ </ div >
278+ </ div >
279+ </ div >
280+ </ div >
281+ </ div >
282+ </ div >
283+ </ div >
284+ </ section >
285+
286+
287+ < section class ="hero is-light is-small ">
177288 < div class ="hero-body ">
178289 < div class ="container ">
179290 < div id ="results-carousel " class ="carousel results-carousel ">
@@ -210,8 +321,7 @@ <h2 class="subtitle has-text-centered">
210321 </ div >
211322 </ div >
212323 </ div >
213- </section> -->
214-
324+ </ section >
215325
216326< section class ="section ">
217327 <!-- Abstract. -->
@@ -254,67 +364,6 @@ <h2 class="title is-3">Video</h2>
254364
255365</ section >
256366
257- < section class ="section ">
258- < div class ="container ">
259- < div class ="columns is-centered has-text-centered ">
260- < div class ="column is-12 ">
261- < h2 class ="title is-3 "> Method</ h2 >
262- </ div >
263- </ div >
264- < div class ="columns ">
265- <!-- first row: instruction -->
266- < div class ="columns " style ="margin-bottom: -3rem; ">
267- < div class ="column is-6 is-offset-5 " style ="max-width: 100%; ">
268- < div style ="width: 60%; min-width: 300px; max-width: 500px; ">
269- < div style ="margin-bottom: 0.25rem; text-align: left; ">
270- < span style ="font-size: 0.85em; color: #888; white-space: nowrap; ">
271- ⏳ It can take up to one minute to get results.
272- </ span >
273- </ div >
274- < div class ="field has-addons " style ="position: relative; ">
275- < div class ="control has-icons-left is-expanded ">
276- < input type ="text "
277- id ="instruction "
278- class ="input is-small "
279- style ="font-size: 0.875rem; "
280- placeholder ="Hang the blue mug on the left branch. "
281- autocomplete ="off "
282- spellcheck ="false ">
283- < span class ="icon is-left is-small ">
284- < i class ="fas fa-terminal "> </ i >
285- </ span >
286- </ div >
287- < div class ="control ">
288- < button class ="button is-primary is-small "
289- onclick ="processInstruction() "
290- style ="font-size: 0.875rem; min-width: 70px; ">
291- < span > Enter</ span >
292- </ button >
293- </ div >
294- < div class ="control " id ="loading " style ="display: none; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); ">
295- < span class ="icon is-small ">
296- < i class ="fas fa-circle-notch fa-spin "> </ i >
297- </ span >
298- </ div >
299- </ div >
300- </ div >
301- </ div >
302- </ div >
303- </ div >
304- <!-- second row: method and point cloud visualization -->
305- < div class ="columns is-centered ">
306- < div class ="column is-8 ">
307- < figure class ="image " style ="width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; ">
308- < img src ="media/images/method.png " alt ="Method Overview " style ="max-width: 90%; max-height: 90%; object-fit: contain; ">
309- </ figure >
310- </ div >
311- < div class ="column is-3 ">
312- < div id ="visualization " style ="width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; "> </ div >
313- </ div >
314- </ div >
315- </ div >
316- </ section >
317-
318367< section class ="section ">
319368 < div class ="container ">
320369 < div class ="columns is-centered has-text-centered ">
0 commit comments