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
the image extraction part does not get the images #28
Comments
Few things to check here:
|
Opps. I used my current opencv. |
I have another question, is opencv2.4.12 compatible with boost 1.59? When compiling, I got the follow message:
And from my search, it might be connected to boost. |
Haven't met this before. Sorry I cannot help on it. Maybe try other version of Boost before digging into the problem. |
I have found the respective keywords under my boost and system boost like below: MINE: all the keywords are found like above. So boost has these keywords and compiled to xxx.so, for my boost and the system one. While, there are two versions of boost, 1.54 and 1.55. So I guess it is because opencv can not find it. I check the cmake file of opencv2.4.12 you provided, and could not find any clue of boost. |
Finally!!! |
@KnightOfTheMoonlight hello, I meet the same problem when I run bash scripts/extraction_optical_flow.sh SRC_FOLDER OUT_FOLDER NUM_WORKER ,the image extraction part does not get the images. can you give me some suggest about the image extraction? Thank you . |
@wcj021312 Did you check all the details above first? |
@KnightOfTheMoonlight Video paths is true, and opencv support videoIO, what detail that I need to check? example? |
@wcj021312 |
Thank you very much for yuor reply, I have successfully run the bash build_all.sh, but the videos is Downloaded by myself, not follow the way get-the-videos. this is the why i failed? I will try, thank you !
…------------------ 原始邮件 ------------------
发件人: "Lin Li";<notifications@github.com>;
发送时间: 2017年7月27日(星期四) 晚上6:24
收件人: "yjxiong/temporal-segment-networks"<temporal-segment-networks@noreply.github.com>;
抄送: "C.J!!!"<2925428721@qq.com>; "Mention"<mention@noreply.github.com>;
主题: Re: [yjxiong/temporal-segment-networks] the image extraction partdoes not get the images (#28)
So could I assume you have already successfully run the bash build_all.sh? My problem comes from building issues.
By the way, did you get the videos by this -> https://github.com/yjxiong/temporal-segment-networks#get-the-videos?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@wcj021312 Or you can change the script to fit your storage pattern. |
hello,i meet the same question, when i run scripts/extract_optical_flow, there is no images generated, but the path generated, and i checked build_of.py ,i don't think the flowing code has worked, do you have any idea? thank u! cmd = os.path.join(df_path + 'build/extract_gpu')+' -f {} -x {} -y {} -i {} -b 20 -t 1 -d {} -s 1 -o {} -w {} -h {}'.format(quote(vid_path), quote(flow_x_path), quote(flow_y_path), quote(image_path), dev_id, out_format, new_size[0], new_size[1]) |
@ymxv You can solve it by using this command instead: |
Problem: the image extraction part does not get the images.
The denseflow library is build correctly.
And after run
bash scripts/extraction_optical_flow.sh SRC_FOLDER OUT_FOLDER NUM_WORKER
. I got the correct image paths but did not get the correct rgb and optical flow images.I checked the code, and I guess it is
tools/build_of.py
in charge of the image extraction mission. And I guess it must bebuild/extract_gpu
for the image extraction task. The running shell outputs the content ofprint '{} {} done.format(vid_id, vid_name)
Cause the
build/extract_gpu
is binary. I do not know how to check the details.The text was updated successfully, but these errors were encountered: