Comments (14)
If the video path is surely correct, one remaining issue might be the OpenCV is compiled without VideoIO support. Please cd into the build folder of OpenCV 3rd-party/opencv-2.4.12/build/
and run the command cmake ..
In the output lines, please try to find the section about VideoIO. On my workstation, it shows something like
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: YES (ver 2.2.1)
-- FFMPEG: YES
-- codec: YES (ver 54.35.0)
-- format: YES (ver 54.20.4)
-- util: YES (ver 52.3.0)
-- swscale: YES (ver 2.1.1)
-- resample: NO
-- gentoo-style: YES
from temporal-segment-networks.
Thank you for the quick response @yjxiong!
Just like you said, my openCV didn't support the Video I/O.
The problem is solved after I ran apt-get install libopencv-dev
and thecmake ..
command to re-install openCV
from temporal-segment-networks.
@yjxiong ,The openCV came from the TSN installation package, it should be okay.
excute scripts/extract_optical_flow.sh ,the log as follows:
2018-07-24 18:44:43,119 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,119 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
2018-07-24 18:44:43,142 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,142 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
305 v_WritingOnBoard_g20_c05 done
Any suggestion to solve this problem?
from temporal-segment-networks.
@yjxiong ,The openCV came from the TSN installation package, it should be okay.
excute scripts/extract_optical_flow.sh ,the log as follows:2018-07-24 18:44:43,119 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,119 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
2018-07-24 18:44:43,142 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal
2018-07-24 18:44:43,142 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583]
305 v_WritingOnBoard_g20_c05 doneAny suggestion to solve this problem?
I meet the same problem as you,could you solve this problem and share with me how to solve it?
from temporal-segment-networks.
@Ivy-blooming Have you solved the problem?
from temporal-segment-networks.
@yjxiong @GBJim I am seeing the same issue. So I did install apt-get install libopencv-dev and did cmake .. But still see the same.
make -j32 fixed it
from temporal-segment-networks.
I am trying to run -
scripts/extract_optical_flow.sh /home/nirahurk/temporal-segment-networks/src_folder/ /home/nirahurk/temporal-segment-networks/out_folder/ 1
I have taken just 5 sample videos from UCF101 in my src_folder:
v_SkateBoarding_g25_c01 v_SkateBoarding_g25_c02 v_SkateBoarding_g25_c03 v_SkateBoarding_g25_c04 v_SkateBoarding_g25_c05
I get the output:
4 v_SkateBoarding_g25_c01 done
3 v_SkateBoarding_g25_c03 done and so on..
But my out_folder --> out_folder/v_SkateBoarding_g25_c01# is empty.
My parameters look right:
('flow_type: ', 'tvl1') ('reading videos from folder: ', '/home/nirahurk/temporal-segment-networks/src_folder') ('selected extension of videos:', 'avi') ('total number of videos found: ', 5)
from temporal-segment-networks.
@124399839 @Ivy-blooming Have you solved that problems ? if you have done it ,how did you do it?
from temporal-segment-networks.
from temporal-segment-networks.
i still got this problem, but my video io seems ok?
-- Video I/O:
-- DC1394: YES (ver 2.2.4)
-- FFMPEG: YES
-- avcodec: YES (ver 58.54.100)
-- avformat: YES (ver 58.29.100)
-- avutil: YES (ver 56.31.100)
-- swscale: YES (ver 5.5.100)
-- avresample: YES (ver 2.1.0)
-- GStreamer:
-- base: YES (ver 1.8.3)
-- video: YES (ver 1.8.3)
-- app: YES (ver 1.8.3)
-- riff: YES (ver 1.8.3)
-- pbutils: YES (ver 1.8.3)
-- libv4l/libv4l2: NO
-- v4l/v4l2: NO
-- gPhoto2: YES
from temporal-segment-networks.
我遇到了同样的问题,最后发现是磁盘空间满了。
from temporal-segment-networks.
@Light-- @niveditarahurkar @Ivy-blooming Hello, I met the same problem, have you solved it? Thank you!
from temporal-segment-networks.
I installed Dockers to solve this problem
…
------------------ 原始邮件 ------------------ 发件人: "nanhui69"<[email protected]>; 发送时间: 2019年9月9日(星期一) 下午2:41 收件人: "yjxiong/temporal-segment-networks"<[email protected]>; 抄送: "✨🍓"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [yjxiong/temporal-segment-networks] FATAL occured while opening videos in scripts/extract_optical_flow.sh (#10) @124399839 @Ivy-blooming Have you solved that problems ? if you have done it ,how did you do it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I use the docker too, but it does not work.
from temporal-segment-networks.
@yjxiong ,The openCV came from the TSN installation package, it should be okay. excute scripts/extract_optical_flow.sh ,the log as follows:
2018-07-24 18:44:43,119 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal 2018-07-24 18:44:43,119 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583] 2018-07-24 18:44:43,142 FATAL [default] CRASH HANDLED; Application has crashed due to [SIGSEGV] signal 2018-07-24 18:44:43,142 WARN [default] Aborting application. Reason: Fatal log at [/home/project/temporal-segment-networks/lib/dense_flow/include/easylogging++/src/easylogging++.h:5583] 305 v_WritingOnBoard_g20_c05 done
Any suggestion to solve this problem?
I meet the same problem as you,could you solve this problem and share with me how to solve it?
from temporal-segment-networks.
Related Issues (20)
- What should I do if I want to change the main structure of the network to InceptionV3?
- how to change nem_segments?
- error when building dense_flow HOT 3
- could you supply the kinetics/labels/val_videofolder.txt ?
- calcDenseFlowGPU params
- extract_optical_flow.sh with single GPU HOT 1
- how to run build_all.sh on windows_10 system
- No registered converter was able to extract a C++ pointer to type char from this Python object of type bytes HOT 1
- how to dump_frames ?
- STOA vs SOTA
- Use RWF-2000 to train TSN
- Extract Frames and Optical Flow Images
- Docker extract flow: Only a part of videoes could be done, and the others were empty folders.
- cross modality gist
- For the problem 'Failed to build Caffe. '
- Failed to build OpenCV. Please check the logs above.
- How to use HMDB_ 51 data training
- how to detect? HOT 1
- Let me be clear: the code is non-functional, and video classification is not achievable with it.
- Unable to find 'extract_gpu' in Dense Flow during optical flow extraction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from temporal-segment-networks.