videosegmentation / video_segment

Main repository for The Video Segmentation Project
Other
168 stars 80 forks source link

No output generated #10

Closed neurohn closed 9 years ago

neurohn commented 9 years ago

I built the code on a fresh installation of Ubuntu 14.10 using the scripts on this page -->https://docs.google.com/document/d/1idKVuSn-8Muhx4bIk5peXzaaYmDgK8bDgw4mgMn8gUY/edit

I'm running the seg_tree_sample on an input video mp4 file but am not seeing any output mp4.pb file being generated. I can't run the other binaries as I don't have the output to this binary.

Can you help me out with this. What am I doing wrong?

dcastro9 commented 9 years ago

You have to pass in a flag to get the output.

neurohn commented 9 years ago

Can you please inform me what flag to use . I'm using this command--> ./seg_tree_sample --input_file=INPUT.mp4 --logging --write-to-file

dcastro9 commented 9 years ago

That should work, what is it printing out?

On Thu Feb 05 2015 at 1:19:48 AM Rohan Jain notifications@github.com wrote:

Can you please inform me what flag to use . I'm using this command--> ./seg_tree_sample --input_file=INPUT.mp4 --logging --write-to-file

— Reply to this email directly or view it on GitHub https://github.com/videosegmentation/video_segment/issues/10#issuecomment-73000055 .

neurohn commented 9 years ago

My apologies, I am actually unable to run the code with the --write-to-file flag:

~/SRC/bin$ ./seg_tree_sample/seg_tree_sample --input_file=../video_segment/video_example/test_video.MOV --logging --write-to-file ERROR: unknown command line flag 'write-to-file'

However, it runs without it and appears to run through the segmentation... although no output is generated.

Glog is installed: $ sudo apt-get install libgoogle-glog-dev Reading package lists... Done Building dependency tree
Reading state information... Done libgoogle-glog-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

Any ideas?

dcastro9 commented 9 years ago

This is my mistake, the flag is supposed to be write_to_file, i've updated the README, thanks for bringing this up.