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

test error #4

Open
Airotong opened this issue May 12, 2017 · 2 comments
Open

test error #4

Airotong opened this issue May 12, 2017 · 2 comments

Comments

@Airotong
Copy link

I have a big problem about test(). When I ran test(), there were no sentences been generated. And I found that video_feat.shape[1] was always 0 rather than 80(n_frame_step). How could I fix this?

@ayushgithub
Copy link

Maybe you are using cv2 with anaconda which is not compiled with ffmpeg. Thats is why you are not able to extract frames and u have no features at all. So in the extract features file. You can use skvideo instead of cv2.videocapture.

@Airotong
Copy link
Author

Thank you for your reply. I can run successfully.
Here is another question, I want to use GPU tensorflow because of the long training time. But it appeared a big problem:ResourceExhaustedError:OMM when allocating tensor with shape[3000,4000]. How could I fix this? Or maybe it is difficult which may cause many works. Please let me konw.
Thank you very much!

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