Spaces:
Running
Running
ercanburak
commited on
Commit
·
b7ece76
1
Parent(s):
248985f
add citation, acknowledgement, and contact info
Browse files
app.py
CHANGED
@@ -10,15 +10,15 @@ query_params = st.experimental_get_query_params()
|
|
10 |
disable_header = "header" in query_params and query_params["header"][0] == "false"
|
11 |
|
12 |
if not disable_header:
|
13 |
-
st.
|
14 |
|
15 |
paper_link = "https://arxiv.org/abs/2305.00434"
|
16 |
code_link = "https://github.com/ercanburak/EVREAL"
|
17 |
page_link = "https://ercanburak.github.io/evreal.html"
|
18 |
|
19 |
-
st.markdown("Paper
|
20 |
-
st.markdown("Code
|
21 |
-
st.markdown("Page
|
22 |
|
23 |
|
24 |
@st.cache_data(show_spinner="Retrieving results...")
|
@@ -167,8 +167,36 @@ def retrieve_results(selected_dataset, selected_sequence, selected_models, selec
|
|
167 |
return video_bytes
|
168 |
|
169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
if not disable_header:
|
171 |
-
st.divider()
|
172 |
st.header("Result Analysis Tool")
|
173 |
|
174 |
base_data_dir = "data"
|
@@ -234,6 +262,10 @@ selected_viz = st.multiselect('Select other visualizations to display:', usable_
|
|
234 |
selected_visualizations = [visualizations[viz_display_names.index(viz_name)] for viz_name in selected_viz]
|
235 |
|
236 |
if not st.button('Get Results'):
|
|
|
|
|
|
|
|
|
237 |
st.stop()
|
238 |
|
239 |
video_bytes = retrieve_results(selected_dataset, selected_sequence, selected_models, selected_metrics, selected_visualizations)
|
@@ -246,3 +278,8 @@ st.video(video_bytes)
|
|
246 |
if len(selected_metrics) > 0:
|
247 |
st.write("Note: For the selected metrics, the instantaneous values are indicated to the upper right of each subplot, "
|
248 |
"whereas the average value over the sequence is indicated in parenthesis next to it.")
|
|
|
|
|
|
|
|
|
|
|
|
10 |
disable_header = "header" in query_params and query_params["header"][0] == "false"
|
11 |
|
12 |
if not disable_header:
|
13 |
+
st.title("EVREAL - Event-based Video Reconstruction Evaluation and Analysis Library")
|
14 |
|
15 |
paper_link = "https://arxiv.org/abs/2305.00434"
|
16 |
code_link = "https://github.com/ercanburak/EVREAL"
|
17 |
page_link = "https://ercanburak.github.io/evreal.html"
|
18 |
|
19 |
+
st.markdown("**Paper**: " + paper_link, unsafe_allow_html=True)
|
20 |
+
st.markdown("**Code**: " + code_link, unsafe_allow_html=True)
|
21 |
+
st.markdown("**Page**: " + page_link, unsafe_allow_html=True)
|
22 |
|
23 |
|
24 |
@st.cache_data(show_spinner="Retrieving results...")
|
|
|
167 |
return video_bytes
|
168 |
|
169 |
|
170 |
+
def display_citation():
|
171 |
+
citation_string = \
|
172 |
+
"""
|
173 |
+
```
|
174 |
+
@inproceedings{ercan2023evreal,
|
175 |
+
title={{EVREAL}: Towards a Comprehensive Benchmark and Analysis Suite for Event-based Video Reconstruction},
|
176 |
+
author={Ercan, Burak and Eker, Onur and Erdem, Aykut and Erdem, Erkut},
|
177 |
+
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
|
178 |
+
month={June},
|
179 |
+
year={2023},
|
180 |
+
pages={3942-3951}}
|
181 |
+
```
|
182 |
+
"""
|
183 |
+
|
184 |
+
st.markdown("## Citation")
|
185 |
+
st.markdown("If you find this tool useful, please cite the following paper:")
|
186 |
+
st.markdown(citation_string)
|
187 |
+
|
188 |
+
|
189 |
+
def display_acknowledgements():
|
190 |
+
st.markdown("## Acknowledgements")
|
191 |
+
st.markdown("This work was supported in part by KUIS AI Center Research Award, TUBITAK-1001 Program Award No. 121E454, and BAGEP 2021 Award of the Science Academy to A. Erdem.")
|
192 |
+
|
193 |
+
|
194 |
+
def display_footer():
|
195 |
+
st.markdown("## Contact")
|
196 |
+
st.markdown("For questions and comments, please contact [Burak Ercan](mailto:[email protected]).")
|
197 |
+
|
198 |
+
|
199 |
if not disable_header:
|
|
|
200 |
st.header("Result Analysis Tool")
|
201 |
|
202 |
base_data_dir = "data"
|
|
|
262 |
selected_visualizations = [visualizations[viz_display_names.index(viz_name)] for viz_name in selected_viz]
|
263 |
|
264 |
if not st.button('Get Results'):
|
265 |
+
if not disable_header:
|
266 |
+
display_citation()
|
267 |
+
display_acknowledgements()
|
268 |
+
display_footer()
|
269 |
st.stop()
|
270 |
|
271 |
video_bytes = retrieve_results(selected_dataset, selected_sequence, selected_models, selected_metrics, selected_visualizations)
|
|
|
278 |
if len(selected_metrics) > 0:
|
279 |
st.write("Note: For the selected metrics, the instantaneous values are indicated to the upper right of each subplot, "
|
280 |
"whereas the average value over the sequence is indicated in parenthesis next to it.")
|
281 |
+
|
282 |
+
if not disable_header:
|
283 |
+
display_citation()
|
284 |
+
display_acknowledgements()
|
285 |
+
display_footer()
|