caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Problems when python examples/ssd/ssd_pascal_video.py

Open xczexcel opened this issue 9 years ago • 2 comments

F0225 16:11:01.584316 4704 video_data_layer.cpp:51] Failed to open video: /home/cvpr/ssd/examples/videos/ILSVRC2015_train_00755001.mp4 *** Check failure stack trace: *** @ 0x7fa30c02c5cd google::LogMessage::Fail() @ 0x7fa30c02e433 google::LogMessage::SendToLog() @ 0x7fa30c02c15b google::LogMessage::Flush() @ 0x7fa30c02ee1e google::LogMessageFatal::~LogMessageFatal() @ 0x7fa30c8bb1f4 caffe::VideoDataLayer<>::DataLayerSetUp() @ 0x7fa30c7b1e53 caffe::BasePrefetchingDataLayer<>::LayerSetUp() @ 0x7fa30c6f0c12 caffe::Net<>::Init() @ 0x7fa30c6f2c7b caffe::Net<>::Net() @ 0x4097a7 test() @ 0x4077c8 main @ 0x7fa30a7ea830 __libc_start_main @ 0x408099 _start @ (nil) (unknown) Aborted (core dumped)

I have install opencv ,and successfully python examples/ssd/score_ssd_pascal.py

xczexcel avatar Feb 25 '17 08:02 xczexcel

Did you install libavcodec-dev libavformat-dev libswscale-dev when you compile opencv? Most likely your opencv doesn't support openning .mp4 video.

weiliu89 avatar Mar 03 '17 18:03 weiliu89

@xczexcel  @weiliu89 It seems as if I met the same problem, did you solver it. I had installed libavcodec-dev libavformat-dev libswscale-dev before I compiled opencv.

Alex287 avatar Mar 31 '17 03:03 Alex287