craston / MARS

MARS: Motion-Augmented RGB Stream for Action Recognition
MIT License
161 stars 45 forks source link

The speed to extract the flow map is too slow #15

Closed GuardSkill closed 4 years ago

GuardSkill commented 4 years ago

The speed to extract the flow map is too slow > _ <

GuardSkill commented 4 years ago

I sincerely appreciate the provided code, and will heartfelt thank you if you would like to provide the extracted optical flow dataset for UCF or HMDB51-1.

craston commented 4 years ago

Hi,

I understand that extracting optical flows using TV-L1 (with GPU support) takes time. You could use another methods to estimate optical flow like PWC-Net which is faster to compute but less accurate than TV-L1. However, RGB+PWCNet Flow gives comparable performance to RGB+TVL1Flow.

Since I switched jobs recently, I no longer have access to the extracted flows for UCF101 and HMDB51. Sorry.

GuardSkill commented 4 years ago

Okay, thanks for your great contribution!!!. I will try to write a multiprocess program to improve speed.

tadbeer commented 4 years ago

outputs_Flow = model_Flow(inputs_Flow)[1].detach() IndexError: list index out of range

Getting this error. What is the mistake i am doing ?

craston commented 4 years ago

@tadbeer could you please check the shape for model_Flow(inputs_Flow). Also could you provide the script with argument values