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

BroxDir missing #33

Open
giorgioblandano opened this issue Mar 7, 2021 · 3 comments
Open

BroxDir missing #33

giorgioblandano opened this issue Mar 7, 2021 · 3 comments

Comments

@giorgioblandano
Copy link

giorgioblandano commented Mar 7, 2021

I tried to download the BroxDir file by clicking the link you provided, but It doesn't seem to work.
The link I am talking about is into the ./generate_date folder.
Could you please fix it?

Thank you in advance.

@alfotos
Copy link

alfotos commented May 12, 2021

Following the comment from @Gio-97, would it be possible to upload the "BroxDir" file from the OF folder? Unfortunately the link provided in the README file BroxDir seems to be broken. Maybe they can also be uploaded to the same URL as the AUNets weights.

Thanks for the sharing the code and the weights for the pretrained model.

@thiravet
Copy link

Hi

If it can help you, Brox dense optical flow is included in opencv (with cuda contribution module). It was necessary to compile OpenCV with this contrib.
I adapted the code found in AUNets to this library: It seems i got the same results

main.cpp.txt

@alfotos
Copy link

alfotos commented Jun 8, 2021

Thanks @thiravet for the adapted version of the code. Indeed, after reinstalling OpenCV with CUDA support I managed to compile and run the code.

I just had to do a couple of modifications:

  1. Use "experimental/filesystem" instead of "filesystem"
  2. Add a vector sort statement sort(imageNames.begin(), imageNames.end()); at the end of the getFileNamesFromDirAsVector function. This ensures the frames are correctly returned to the OF logic, as in some runs I had a mix of frames (i.e. calculating the OF between the last and first frames).

Now I am able to run AUNets correctly. :)

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