Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate th14_i3d2s_ft_info.json? #17

Closed
ttgeng233 opened this issue Oct 21, 2022 · 2 comments
Closed

How to generate th14_i3d2s_ft_info.json? #17

ttgeng233 opened this issue Oct 21, 2022 · 2 comments

Comments

@ttgeng233
Copy link

Hello, thank you for your good work!
I want to know how to generate th14_i3d2s_ft_info.json for thumos14 video features. And how to compute ''feature_length", "feature_second" and "feature_fps" for each video?

@yyccli
Copy link

yyccli commented Oct 22, 2022

The information in this json file mainly depends on how you extract video features from raw videos.
feature_length can be read directly from the video feature files.
In TadTR paper, it says 1 video feature is extracted from 8 frames with no overlap from the raw video, which means if the raw video is 30fps, then its feature fps is 30/8=3.75.
When you get feature_length and feature_fps, the feature_second is computed by feature_length / feature_fps.

@xlliu7
Copy link
Owner

xlliu7 commented Oct 25, 2022

@yyccli's explanation is correct.

@xlliu7 xlliu7 closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants