-
Notifications
You must be signed in to change notification settings - Fork 477
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
DETAILS about using scripts/extract_optical_flow.sh #6
Comments
This log message means that it cannot open the video file. It may be due On Sunday, August 28, 2016, Hawk Wang notifications@github.com wrote:
Best regards, Yuanjun |
thanks a lot, just fixed by remove the space between the sys cmd in python |
Hi @hawklucky, can you share your modifications in detail? I have similar problem. Updated: My problem is solved :) |
I train the ucf101 successfully with the data size 240_320_3, but failed when the hmdb51 the data size is different, I already realize that. By the way, May I ask that when I extract the image and flow, should I set the size 240_320 or 256_340 ? Thanks! |
Setting 256*340 will be better. But both sizes should work. |
@hawklucky |
@yjxiong I use the branch of opencv-3.1 in dense_flow, it's no resize operation before calc flow and also no size args to use, so when i extract the image and flow, it's just the size of the origin data size, so it's failed because the size in CNN. |
Alright, if it is the case, I may suggest a workaround for this. In the
in |
Yes, it's convenient to solve the problem by using new_width and new_height, thanks. |
@hawklucky hello, I meet the same problem as you. Could you tell me which py file you changed to fix the problem on removing the space between the sys cmd? Thank you. I have found the problem: If anyone meet the problem say "Cannot open video stream # "true" for optical flow extraction", this solution may solve your question. |
@plaovem |
@hawklucky I'm working with TSN. I having the same problem as you. the empty file generated? How did you solve it? |
Thanks for your excellent work and code!
as above, when i using the dense flow to extract images and opt flow, the FATAL occure
2016-08-28 21:16:28,702 FATAL [default] Check failed: [video_stream.isOpened()] Cannot open video stream "true" for optical flow extraction.
2016-08-28 21:16:28,702 WARN [default] Aborting application. Reason: Fatal log at [/home/wanghao/my_project/temporal-segment-networks/lib/dense_flow/src/dense_flow_gpu.cpp:17]
my python is 2.7.6, i think maybe the reason of function pool.map, can you share some thoughts about it?
Thanks a lot!
The text was updated successfully, but these errors were encountered: