five-video-classification-methods
five-video-classification-methods copied to clipboard
2_extract_files.py
I started following step by step as suggested in the readme. Now I am here at running python 2_extract_files.py in the data folder i get ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=har dened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --en able-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroe dinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable- libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable- libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroe dinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enabl e-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libweb p --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libo pencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Input #0, avi, from 'train/HandstandPushups/v_HandStandPushups_g20_c07.avi': Metadata: encoder : MEncoder r34118-4.2.5 Duration: 00:00:04.60, start: 0.000000, bitrate: 548 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 396 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 125 kb/s [swscaler @ 0x1434ea0] deprecated pixel format used, make sure you did set range correctly I would really appreciate if someone guided me! Many thanks!
when i run python train.py ,i get the error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 10485760 values, but the requested shape has 2621440 [[Node: gradients/time_distributed_13/Reshape_1_grad/Reshape = _MklReshape[T=DT_FLOAT, Tshape=DT_INT32, _kernel="MklOp", _device="/job:localhost/replica:0/task:0/device:CPU:0"](gradients/time_distributed_14/convolution_grad/Conv2DBackpropInput, gradients/time_distributed_13/Reshape_1_grad/Shape, gradients/time_distributed_14/convolution_grad/Conv2DBackpropInput:1, DMT/_322)]] I would really appreciate if someone guided me! Many thanks!
@13293824182 did you solve the problem ? I also get this "deprecated pixel format used, make sure you did set range correctly"
@fotoon1993 Did you solve the problem "deprecated pixel format used, make sure you did set range correctly"? I'm also confused about this.