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

rescal flow to [-1,1] #40

Open
neauniko opened this issue Apr 1, 2022 · 1 comment
Open

rescal flow to [-1,1] #40

neauniko opened this issue Apr 1, 2022 · 1 comment

Comments

@neauniko
Copy link

neauniko commented Apr 1, 2022

in gen_denseflow_npy.py :
Following I3D data preprocessing, for the flow stream, we convert the videos to grayscale,and pixel values are truncated to the range [-20, 20], then rescaled between -1 and 1. We only use the first two output dimensions, and apply the same cropping as for RGB.
but i dont see the operation '' recal flow from [-20, 20] to [-1, 1]''
Thanks for you work

@linchuming
Copy link
Collaborator

os.system('denseflow {} -b=20 -a=tvl1 -s=1 -if -v -o={}'.format(video_name, output_dir))

use the denseflow will do the operation

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

2 participants