Skip to content

Commit

Permalink
Update info
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkHershey committed Dec 13, 2022
1 parent c86bfde commit 5698452
Show file tree
Hide file tree
Showing 8 changed files with 110 additions and 131 deletions.
2 changes: 1 addition & 1 deletion examples/dataloader_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, **kwargs):

print(f"Loading appearance feature from {kwargs['appearance_feat']}")
with h5py.File(kwargs["appearance_feat"], "r") as app_features_file:
app_video_ids = app_features_file["ids"][()]
app_video_ids = app_features_file["video_ids"][()]

app_feat_id_to_index = {str(_id): i for i, _id in enumerate(app_video_ids)}
print(f"Loading motion feature from {kwargs['motion_feat']}")
Expand Down
2 changes: 1 addition & 1 deletion examples/preprocess_video_appearance_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def generate_h5(model_res101, model_res18, model_mobilev2, video_ids, outfile):
dtype=np.float32,
)
video_ids_dset = fd.create_dataset(
"ids",
"video_ids",
shape=(video_total_num,),
dtype=np.int,
)
Expand Down
87 changes: 33 additions & 54 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions web/src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import React from 'react'
const Footer = () => {
return (
<footer className="mt-5 footer user-select-none">
<div style={{height:70}}></div>
<div style={{ height: 70 }}></div>
<hr className="mt-auto mx-5"></hr>
<div className="container d-flex flex-row justify-content-center">
<p className="text-capitalize fw-light text-muted">SUTD CV Lab © 2021. All rights reserved.</p>
<p className="text-capitalize fw-light text-muted"><a href="https://github.com/sutdcv" className="text-reset">SUTD Computer Vision & Learning Group (VLG)</a> © 2023. All rights reserved.</p>
</div>
</footer>
)
Expand Down
28 changes: 14 additions & 14 deletions web/src/components/PageHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const PageHome = () => {
return (
<div>
<div className="jumbotron jumbotron-fluid py-5 bg-dark">

<div className={"container pb-5 text-center"}>
<img src={titleImg} style={{maxWidth: "90%"}} alt="SUTD-TrafficQA" />
<img src={titleImg} style={{ maxWidth: "90%" }} alt="SUTD-TrafficQA" />
</div>
<div className="container">
<h1 className="display-3 text-white text-center">SUTD-TrafficQA Dataset</h1>
Expand All @@ -17,18 +17,18 @@ const PageHome = () => {

</div>


<div className="pt-5 container-sm">
<h3 className="m-3">Paper</h3>
<h3 className="m-3">Paper</h3>
</div>
<div className="container-sm d-flex flex-column align-items-center">
<PaperBlock
paperTitle={"SUTD-TrafficQA: A Question Answering Benchmark and an Efficient Network for Video Reasoning over Traffic Events"}
authors={"Li Xu, He Huang, Jun Liu"}
venue={"CVPR 2021"}
paperLink={"https://openaccess.thecvf.com/content/CVPR2021/html/Xu_SUTD-TrafficQA_A_Question_Answering_Benchmark_and_an_Efficient_Network_for_CVPR_2021_paper.html"}
codeLink={"https://github.com/SUTDCV/SUTD-TrafficQA"}
cite={`@InProceedings{Xu_2021_CVPR,
<div className="container-sm d-flex flex-column align-items-center">
<PaperBlock
paperTitle={"SUTD-TrafficQA: A Question Answering Benchmark and an Efficient Network for Video Reasoning over Traffic Events"}
authors={"Li Xu, He Huang, Jun Liu"}
venue={"CVPR 2021"}
paperLink={"https://openaccess.thecvf.com/content/CVPR2021/html/Xu_SUTD-TrafficQA_A_Question_Answering_Benchmark_and_an_Efficient_Network_for_CVPR_2021_paper.html"}
codeLink={"https://github.com/SUTDCV/SUTD-TrafficQA"}
cite={`@InProceedings{Xu_2021_CVPR,
author = {Xu, Li and Huang, He and Liu, Jun},
title = {SUTD-TrafficQA: A Question Answering Benchmark and an Efficient Network for Video Reasoning Over Traffic Events},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
Expand All @@ -39,10 +39,10 @@ const PageHome = () => {
/>
</div>
<div className="pt-4 container-sm">
<h3 className="m-3">Example</h3>
<h3 className="m-3">Example</h3>
</div>
<div className="pt-2 container-sm text-center">
<img src={exampleImg} alt="exampleImg" style={{maxWidth: "90%"}} />
<img src={exampleImg} alt="exampleImg" style={{ maxWidth: "90%" }} />
</div>

</div>
Expand Down
18 changes: 9 additions & 9 deletions web/src/components/PlaceholderProfileImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import PropTypes from 'prop-types'

const PlaceholderProfileImg = (props) => {
return (
<svg
className="bd-placeholder-img rounded-circle text-center"
width={props.dim}
height={props.dim}
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid slice"
focusable="false"
role="img"
ariaLabel={"Placeholder: " + props.dim + "x" + props.dim}
<svg
className="bd-placeholder-img rounded-circle text-center"
width={props.dim}
height={props.dim}
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid slice"
focusable="false"
role="img"
ariaLabel={"Placeholder: " + props.dim + "x" + props.dim}
>
<title>Placeholder</title>
<rect fill="#777" width="100%" height="100%"></rect>
Expand Down
Loading

0 comments on commit 5698452

Please sign in to comment.