S2VT icon indicating copy to clipboard operation
S2VT copied to clipboard

test error

Open Airotong opened this issue 7 years ago • 2 comments

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?

Airotong avatar May 12 '17 09:05 Airotong

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.

ayushgithub avatar Jun 11 '17 08:06 ayushgithub

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!

Airotong avatar Jun 29 '17 03:06 Airotong