-
Notifications
You must be signed in to change notification settings - Fork 63
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
Questions about Segmentation fault (core dumped) #50
Comments
I have no clue... from the above info.
Maybe it loads the wrong library. Try to re-compile&install everything without anaconda python environments and without the |
Thank you, I followed your suggestion to configure the environment from the beginning outside anaconda, but according to your denseflow link, the installation is still not successful, and other tutorials are indeed successful. There are too many experiences that are difficult to describe. Interference between environments may be the biggest problem. Thank you again, it took me a lot of time to install denseflow. |
@innerlee @ADstudyer I also encountered a similar problem, which occurs when the frame count is low. Can you share your solution? |
denseflow test.avi -b=20 -a=tvl1 -s=1 -v Segmentation fault (core dumped) Hello, I have been experiencing this error for a day and it has not been resolved yet. Thank you very much 我也遇到这个问题了能帮忙解决一下吗 |
您好!您的邮件我已收到,我会尽快查看并回复 ,请不用担心。 祝您万事如意!
冷川江
|
Hello author! I downloaded denseflow through your link, and an exception was thrown when using “denseflow videolist.txt -s=0 -v”:
"/home/developers/xianyun/anaconda3/envs/pt/lib/python3.6/site-packages/denseflow/build/video0.avi", frames ≈ 300
Segmentation fault (core dumped).
When I extract a single video frame, run “denseflow test.avi -b=20 -a=tvl1 -s=1 -v”:
"video0.avi", frames ≈ 300
push frames gray, video_flow_idx 0, batch_size 300
loaded video "video0.avi", 300 frames
load frames exit.
Segmentation fault (core dumped)
I tried to change many avi files, but still failed with the same error.
The followings are the Installation process:
(pt) xianyun@zhangd3:/home/developers/xianyun/anaconda3/envs/pt/lib/python3.6/site-packages/denseflow/build$ cmake -DCMAKE_INSTALL_PREFIX=/home/develoDF5=no -DUSE_NVFLOW=no ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-9.0 (found version "9.0")
-- Found OpenCV: /home/developers/xianyun/anaconda3/envs/pt (found version "3.4.10")
-- OpenCV library status:
-- config: /home/developers/xianyun/anaconda3/envs/pt/share/OpenCV
-- version: 3.4.10
-- libraries: opencv_calib3d;opencv_core;opencv_cudaarithm;opencv_cudabgsegm;opencv_cudacodec;opencv_cudafeatures2d;opencv_cudafilters;opencv_cudabjdetect;opencv_cudaoptflow;opencv_cudastereo;opencv_cudawarping;opencv_cudev;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecetect;opencv_photo;opencv_shape;opencv_stitching;opencv_superres;opencv_video;opencv_videoio;opencv_videostab;opencv_aruco;opencv_bgsegm;opencv_bioinsencv_dnn_objdetect;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img
-- libraries: /usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so
-- include path: /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/developers/xianyun/anaconda3/envs/pt/lib/python3.6/site-packages/denseflow/build
(pt) xianyun@zhangd3:/home/developers/xianyun/anaconda3/envs/pt/lib/python3.6/site-packages/denseflow/build$ make -j
[ 16%] Building CXX object CMakeFiles/zzdenseflow.dir/src/common.cpp.o
[ 33%] Building CXX object CMakeFiles/zzdenseflow.dir/src/denseflow_gpu.cpp.o
[ 50%] Building CXX object CMakeFiles/zzdenseflow.dir/src/utils.cpp.o
[ 66%] Linking CXX static library libzzdenseflow.a
[ 66%] Built target zzdenseflow
[ 83%] Building CXX object CMakeFiles/denseflow.dir/tools/denseflow.cpp.o
[100%] Linking CXX executable denseflow
[100%] Built target denseflow
(pt) xianyun@zhangd3:/home/developers/xianyun/anaconda3/envs/pt/lib/python3.6/site-packages/denseflow/build$ make install
Consolidate compiler generated dependencies of target zzdenseflow
[ 66%] Built target zzdenseflow
Consolidate compiler generated dependencies of target denseflow
[100%] Built target denseflow
Install the project...
-- Install configuration: ""
-- Installing: /home/developers/xianyun/anaconda3/envs/pt/bin/denseflow
-- Set runtime path of "/home/developers/xianyun/anaconda3/envs/pt/bin/denseflow" to ""
-- Installing: /home/developers/xianyun/anaconda3/envs/pt/lib/libzzdenseflow.a
Please give me some advice, thank you!
The text was updated successfully, but these errors were encountered: