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

No attribute error. #2

Open
rvsingh31 opened this issue Feb 27, 2019 · 7 comments
Open

No attribute error. #2

rvsingh31 opened this issue Feb 27, 2019 · 7 comments

Comments

@rvsingh31
Copy link

rvsingh31 commented Feb 27, 2019

First of all, that code is very useful. Thanks a lot for that.
Secondly, I had a look over your code. I am implementing Video Classification task over a data set named UCF101.
I was able to store the frames successfully. However, it throws error while creating an instance of DualOpticalFlow_TVL1 module.

Module 'cv2.cv2' has no attribute 'createOptFlow_DualTVL1'

I have all the packages installed and updated. Did you face this error before? If yes, how did you resolve it?

@samsara1995
Copy link

i have same error~

@agapiR
Copy link

agapiR commented May 7, 2019

Hi. Any update on this issue? I'm having the same error.

@qijiezhao
Copy link
Owner

qijiezhao commented May 15, 2019

I haven't met this error. I have googled, seems like a version problem. You can have a try.

@ZWJ-here
Copy link

i have same error~

@MrCuiHao
Copy link

MrCuiHao commented Jun 5, 2019

Hello, everyone !
As the qijiezhao said, the problem is accossiated with the version of opencv-python , your version must be 3.x , try again!
图片

@holmdk
Copy link

holmdk commented Jul 30, 2019

If you (like me) are using cv2 version '4.1.0', then do the following

Replace
dtvl1=cv2.createOptFlow_DualTVL1()

with
dtvl1=cv2.optflow.DualTVL1OpticalFlow_create()

@reubencmoyo
Copy link

If you (like me) are using cv2 version '4.1.0', then do the following

Replace
dtvl1=cv2.createOptFlow_DualTVL1()

with
dtvl1=cv2.optflow.DualTVL1OpticalFlow_create()

This worked for me. Thank you

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

8 participants