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

A bug #1

Open
jiwei08 opened this issue Jun 22, 2023 · 3 comments
Open

A bug #1

jiwei08 opened this issue Jun 22, 2023 · 3 comments

Comments

@jiwei08
Copy link

jiwei08 commented Jun 22, 2023

There is a bug when creating output_uz... in Farneback3D.calculate_flow using the default total_vol (-1,-1,-1).

@yongxb
Copy link
Owner

yongxb commented Jun 22, 2023

Hi @jiwei08, could you provide more details about the problem you are encountering? If you are able to provide an example and steps to reproduce it, that would be very helpful. Thank you.

@jiwei08
Copy link
Author

jiwei08 commented Jun 24, 2023

Emmmm, output_vx is created in line 87 in opticalflow3D.py with the shape of total_vol. But the default of total_vol is (-1,-1,-1) which would cause a bug when creating a numpy.ndarray using (-1,-1,-1).

I have just tried this code and sorry for not providing a MFE.

@yongxb
Copy link
Owner

yongxb commented Jun 26, 2023

Thanks for pointing out this issue. An update to the python package will be pushed shortly.

In the meantime, please either set total_vol to None or specify it explicitly (e.g. (100,100,100)).

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