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

not get the images when extract optical_flow #118

Closed
wcj021312 opened this issue Jul 26, 2017 · 12 comments
Closed

not get the images when extract optical_flow #118

wcj021312 opened this issue Jul 26, 2017 · 12 comments

Comments

@wcj021312
Copy link

when run bash scripts/extraction_optical_flow.sh UCF101 result 2
I get 13320 empty folder in result and no provide me error
my opencv support videoIO
please give me some suggestion,thank you!

@wcj021312
Copy link
Author

wcj021312 commented Jul 26, 2017

opencv 2.4.13

@yjxiong
Copy link
Owner

yjxiong commented Jul 30, 2017

See #28

@wcj021312
Copy link
Author

@yjxiong Thank you for your reply. When run bash scripts/extract_optical_flow.sh UCF-101 result 2, but I got 13320 empty folders.
No error feedback,so I do not how to solve.

@yjxiong
Copy link
Owner

yjxiong commented Jul 30, 2017

You can run extract_flow_gpu on one video and see what happens to know the problem.

@wcj021312
Copy link
Author

wcj021312 commented Jul 30, 2017 via email

@wcj021312
Copy link
Author

I have updated my Nvidia-drivers, now I get the image. I have solved this problem. Thank you very much.

@yjxiong
Copy link
Owner

yjxiong commented Jul 30, 2017

Good to know. Happy experimenting.

@yjxiong yjxiong closed this as completed Jul 30, 2017
@milkcat0904
Copy link

hello,I got the same issue,and i run extract_flow_gpu on one video still got one empty file and no error.
my opencv is 2.4.9
any suggestion?thx a lot

@ymxv
Copy link

ymxv commented Mar 22, 2019

See #28

@yjxiong i docker pull the image you provided, then i run build_all.sh and 'happy experimenting' appeared, but when i run scripts/extract_optical_flow.sh, i meet the same question as @wcj021312
, i sure the path is right, i don't think the extract_gpu worked. any suggestion? thank u

你好,我通过docker下载了你的镜像,并成功运行了build_all.sh,出现了 'happy experimenting' ,但是当我运行scripts/extract_optical_flow.sh的时候,出现了和@wcj021312 相同的问题,在提取UCF视频集的时候,在输出文件夹中出现了13000多个空的文件夹,我看了build_of.py的源码,感觉

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])
os.system(cmd)

这两句好像没起作用,因此想询问一下是什么原因,能给我一些建议吗? 谢谢

@jimmy-ng
Copy link

Try this command instead: 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])

@sousoul
Copy link

sousoul commented Oct 31, 2019

See #28

@yjxiong i docker pull the image you provided, then i run build_all.sh and 'happy experimenting' appeared, but when i run scripts/extract_optical_flow.sh, i meet the same question as @wcj021312
, i sure the path is right, i don't think the extract_gpu worked. any suggestion? thank u

你好,我通过docker下载了你的镜像,并成功运行了build_all.sh,出现了 'happy experimenting' ,但是当我运行scripts/extract_optical_flow.sh的时候,出现了和@wcj021312 相同的问题,在提取UCF视频集的时候,在输出文件夹中出现了13000多个空的文件夹,我看了build_of.py的源码,感觉

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])
os.system(cmd)

这两句好像没起作用,因此想询问一下是什么原因,能给我一些建议吗? 谢谢

你好!我也出现了空文件夹的问题;而且在docker里我输入pkg-config --modversion opencv查看opencv版本发现是2.4.9.1不是2.4.13,请问你出现这种情况了吗?谢谢!

@TitaniumOne
Copy link

@ymxv @sousoul Hello, I met the same problem, have you solved it?

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

7 participants