facebookarchive / C3D

C3D is a modified version of BVLC caffe to support 3D ConvNets.
Other
1.16k stars 506 forks source link

Error while extracting features from mp4 files!! #424

Closed Abk-sabrina closed 5 years ago

Abk-sabrina commented 5 years ago

I am using C3D to extract features from mp4 files. However , I get this error. can you please help me to fix it. Thanks WARNING: Logging before InitGoogleLogging() is written to STDERR E0121 18:27:50.564393 16879 extract_image_features.cpp:64] Using GPU #0 I0121 18:27:50.565733 16879 net.cpp:76] Creating Layer data I0121 18:27:50.565748 16879 net.cpp:112] data -> data I0121 18:27:50.565765 16879 net.cpp:112] data -> label I0121 18:27:50.565783 16879 video_data_layer.cpp:283] Opening file prototxt/input_list_video.txt I0121 18:27:50.566006 16879 video_data_layer.cpp:317] A total of 260 video chunks. [mjpeg @ 0xaec97a0] invalid id 63 I0121 18:27:50.671424 16879 video_data_layer.cpp:365] output data size: 10,3,16,112,112 I0121 18:27:50.671461 16879 video_data_layer.cpp:387] Loading mean file from fb_train16_128_mean.binaryproto I0121 18:27:50.678514 16879 net.cpp:127] Top shape: 10 3 16 112 112 (6021120) I0121 18:27:50.678544 16879 net.cpp:127] Top shape: 10 1 1 1 1 (10) I0121 18:27:50.678555 16879 net.cpp:159] data does not need backward computation. I0121 18:27:50.678568 16879 net.cpp:76] Creating Layer conv1a I0121 18:27:50.678575 16879 net.cpp:86] conv1a <- data I0121 18:27:50.678589 16879 net.cpp:112] conv1a -> conv1a I0121 18:27:50.678866 16879 net.cpp:127] Top shape: 10 64 16 112 112 (128450560) I0121 18:27:50.678877 16879 net.cpp:154] conv1a needs backward computation. I0121 18:27:50.678886 16879 net.cpp:76] Creating Layer relu1a I0121 18:27:50.678891 16879 net.cpp:86] relu1a <- conv1a I0121 18:27:50.678897 16879 net.cpp:100] relu1a -> conv1a (in-place) I0121 18:27:50.678903 16879 net.cpp:127] Top shape: 10 64 16 112 112 (128450560) I0121 18:27:50.678910 16879 net.cpp:154] relu1a needs backward computation. I0121 18:27:50.678917 16879 net.cpp:76] Creating Layer pool1 I0121 18:27:50.678922 16879 net.cpp:86] pool1 <- conv1a I0121 18:27:50.678928 16879 net.cpp:112] pool1 -> pool1 I0121 18:27:50.678943 16879 net.cpp:127] Top shape: 10 64 16 56 56 (32112640) I0121 18:27:50.678951 16879 net.cpp:154] pool1 needs backward computation. I0121 18:27:50.678961 16879 net.cpp:76] Creating Layer conv2a I0121 18:27:50.678966 16879 net.cpp:86] conv2a <- pool1 I0121 18:27:50.678972 16879 net.cpp:112] conv2a -> conv2a I0121 18:27:50.681480 16879 net.cpp:127] Top shape: 10 128 16 56 56 (64225280) I0121 18:27:50.681500 16879 net.cpp:154] conv2a needs backward computation. I0121 18:27:50.681511 16879 net.cpp:76] Creating Layer relu2a I0121 18:27:50.681517 16879 net.cpp:86] relu2a <- conv2a I0121 18:27:50.681524 16879 net.cpp:100] relu2a -> conv2a (in-place) I0121 18:27:50.681531 16879 net.cpp:127] Top shape: 10 128 16 56 56 (64225280) I0121 18:27:50.681536 16879 net.cpp:154] relu2a needs backward computation. I0121 18:27:50.681543 16879 net.cpp:76] Creating Layer pool2 I0121 18:27:50.681547 16879 net.cpp:86] pool2 <- conv2a I0121 18:27:50.681553 16879 net.cpp:112] pool2 -> pool2 I0121 18:27:50.681560 16879 net.cpp:127] Top shape: 10 128 8 28 28 (8028160) I0121 18:27:50.681565 16879 net.cpp:154] pool2 needs backward computation. I0121 18:27:50.681573 16879 net.cpp:76] Creating Layer conv3a I0121 18:27:50.681578 16879 net.cpp:86] conv3a <- pool2 I0121 18:27:50.681584 16879 net.cpp:112] conv3a -> conv3a [mjpeg @ 0x7fb0fc002b40] invalid id 63 I0121 18:27:50.694962 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.695013 16879 net.cpp:154] conv3a needs backward computation. I0121 18:27:50.695032 16879 net.cpp:76] Creating Layer relu3a I0121 18:27:50.695045 16879 net.cpp:86] relu3a <- conv3a I0121 18:27:50.695058 16879 net.cpp:100] relu3a -> conv3a (in-place) I0121 18:27:50.695070 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.695083 16879 net.cpp:154] relu3a needs backward computation. I0121 18:27:50.695101 16879 net.cpp:76] Creating Layer conv3b I0121 18:27:50.695113 16879 net.cpp:86] conv3b <- conv3a I0121 18:27:50.695127 16879 net.cpp:112] conv3b -> conv3b [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:50.726562 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.726598 16879 net.cpp:154] conv3b needs backward computation. I0121 18:27:50.726613 16879 net.cpp:76] Creating Layer relu3b I0121 18:27:50.726620 16879 net.cpp:86] relu3b <- conv3b I0121 18:27:50.726629 16879 net.cpp:100] relu3b -> conv3b (in-place) I0121 18:27:50.726636 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.726642 16879 net.cpp:154] relu3b needs backward computation. I0121 18:27:50.726650 16879 net.cpp:76] Creating Layer pool3 I0121 18:27:50.726656 16879 net.cpp:86] pool3 <- conv3b I0121 18:27:50.726662 16879 net.cpp:112] pool3 -> pool3 I0121 18:27:50.726672 16879 net.cpp:127] Top shape: 10 256 4 14 14 (2007040) I0121 18:27:50.726677 16879 net.cpp:154] pool3 needs backward computation. I0121 18:27:50.726686 16879 net.cpp:76] Creating Layer conv4a I0121 18:27:50.726691 16879 net.cpp:86] conv4a <- pool3 I0121 18:27:50.726697 16879 net.cpp:112] conv4a -> conv4a [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:50.778403 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.778431 16879 net.cpp:154] conv4a needs backward computation. I0121 18:27:50.778442 16879 net.cpp:76] Creating Layer relu4a I0121 18:27:50.778450 16879 net.cpp:86] relu4a <- conv4a I0121 18:27:50.778458 16879 net.cpp:100] relu4a -> conv4a (in-place) I0121 18:27:50.778465 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.778470 16879 net.cpp:154] relu4a needs backward computation. I0121 18:27:50.778478 16879 net.cpp:76] Creating Layer conv4b I0121 18:27:50.778483 16879 net.cpp:86] conv4b <- conv4a I0121 18:27:50.778491 16879 net.cpp:112] conv4b -> conv4b [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:50.890735 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.890765 16879 net.cpp:154] conv4b needs backward computation. I0121 18:27:50.890779 16879 net.cpp:76] Creating Layer relu4b I0121 18:27:50.890785 16879 net.cpp:86] relu4b <- conv4b I0121 18:27:50.890794 16879 net.cpp:100] relu4b -> conv4b (in-place) I0121 18:27:50.890801 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.890806 16879 net.cpp:154] relu4b needs backward computation. I0121 18:27:50.890817 16879 net.cpp:76] Creating Layer pool4 I0121 18:27:50.890822 16879 net.cpp:86] pool4 <- conv4b I0121 18:27:50.890830 16879 net.cpp:112] pool4 -> pool4 I0121 18:27:50.890837 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:50.890842 16879 net.cpp:154] pool4 needs backward computation. I0121 18:27:50.890851 16879 net.cpp:76] Creating Layer conv5a I0121 18:27:50.890856 16879 net.cpp:86] conv5a <- pool4 I0121 18:27:50.890861 16879 net.cpp:112] conv5a -> conv5a [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:51.009661 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.009698 16879 net.cpp:154] conv5a needs backward computation. I0121 18:27:51.009721 16879 net.cpp:76] Creating Layer relu5a I0121 18:27:51.009737 16879 net.cpp:86] relu5a <- conv5a I0121 18:27:51.009752 16879 net.cpp:100] relu5a -> conv5a (in-place) I0121 18:27:51.009765 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.009778 16879 net.cpp:154] relu5a needs backward computation. I0121 18:27:51.009793 16879 net.cpp:76] Creating Layer conv5b I0121 18:27:51.009804 16879 net.cpp:86] conv5b <- conv5a I0121 18:27:51.009816 16879 net.cpp:112] conv5b -> conv5b [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:51.123850 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.123886 16879 net.cpp:154] conv5b needs backward computation. I0121 18:27:51.123899 16879 net.cpp:76] Creating Layer relu5b I0121 18:27:51.123908 16879 net.cpp:86] relu5b <- conv5b I0121 18:27:51.123915 16879 net.cpp:100] relu5b -> conv5b (in-place) I0121 18:27:51.123936 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.123950 16879 net.cpp:154] relu5b needs backward computation. I0121 18:27:51.123963 16879 net.cpp:76] Creating Layer pool5 I0121 18:27:51.123970 16879 net.cpp:86] pool5 <- conv5b I0121 18:27:51.123975 16879 net.cpp:112] pool5 -> pool5 I0121 18:27:51.123983 16879 net.cpp:127] Top shape: 10 512 1 4 4 (81920) I0121 18:27:51.123988 16879 net.cpp:154] pool5 needs backward computation. I0121 18:27:51.123996 16879 net.cpp:76] Creating Layer fc6 I0121 18:27:51.124001 16879 net.cpp:86] fc6 <- pool5 I0121 18:27:51.124007 16879 net.cpp:112] fc6 -> fc6 I0121 18:27:51.510727 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.510757 16879 net.cpp:154] fc6 needs backward computation. I0121 18:27:51.510782 16879 net.cpp:76] Creating Layer relu6 I0121 18:27:51.510789 16879 net.cpp:86] relu6 <- fc6 I0121 18:27:51.510797 16879 net.cpp:100] relu6 -> fc6 (in-place) I0121 18:27:51.510805 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.510812 16879 net.cpp:154] relu6 needs backward computation. I0121 18:27:51.510820 16879 net.cpp:76] Creating Layer drop6 I0121 18:27:51.510825 16879 net.cpp:86] drop6 <- fc6 I0121 18:27:51.510831 16879 net.cpp:100] drop6 -> fc6 (in-place) I0121 18:27:51.510838 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.510843 16879 net.cpp:154] drop6 needs backward computation. I0121 18:27:51.510851 16879 net.cpp:76] Creating Layer fc7 I0121 18:27:51.510856 16879 net.cpp:86] fc7 <- fc6 I0121 18:27:51.510862 16879 net.cpp:112] fc7 -> fc7 I0121 18:27:51.697782 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.697820 16879 net.cpp:154] fc7 needs backward computation. I0121 18:27:51.697834 16879 net.cpp:76] Creating Layer relu7 I0121 18:27:51.697844 16879 net.cpp:86] relu7 <- fc7 I0121 18:27:51.697854 16879 net.cpp:100] relu7 -> fc7 (in-place) I0121 18:27:51.697862 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.697870 16879 net.cpp:154] relu7 needs backward computation. I0121 18:27:51.697878 16879 net.cpp:76] Creating Layer drop7 I0121 18:27:51.697883 16879 net.cpp:86] drop7 <- fc7 I0121 18:27:51.697890 16879 net.cpp:100] drop7 -> fc7 (in-place) I0121 18:27:51.697896 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.697901 16879 net.cpp:154] drop7 needs backward computation. I0121 18:27:51.697909 16879 net.cpp:76] Creating Layer fc8 I0121 18:27:51.697914 16879 net.cpp:86] fc8 <- fc7 I0121 18:27:51.697921 16879 net.cpp:112] fc8 -> fc8 I0121 18:27:51.715450 16879 net.cpp:127] Top shape: 10 382 1 1 1 (3820) I0121 18:27:51.715476 16879 net.cpp:154] fc8 needs backward computation. I0121 18:27:51.715490 16879 net.cpp:76] Creating Layer prob I0121 18:27:51.715499 16879 net.cpp:86] prob <- fc8 I0121 18:27:51.715509 16879 net.cpp:112] prob -> prob I0121 18:27:51.715526 16879 net.cpp:127] Top shape: 10 382 1 1 1 (3820) I0121 18:27:51.715533 16879 net.cpp:154] prob needs backward computation. I0121 18:27:51.715543 16879 net.cpp:76] Creating Layer accuracy I0121 18:27:51.715548 16879 net.cpp:86] accuracy <- prob I0121 18:27:51.715554 16879 net.cpp:86] accuracy <- label I0121 18:27:51.715561 16879 net.cpp:112] accuracy -> accuracy I0121 18:27:51.715571 16879 net.cpp:127] Top shape: 1 2 1 1 1 (2) I0121 18:27:51.715576 16879 net.cpp:154] accuracy needs backward computation. I0121 18:27:51.715582 16879 net.cpp:165] This network produces output accuracy I0121 18:27:51.715602 16879 net.cpp:183] Collecting Learning Rate and Weight Decay. I0121 18:27:51.715617 16879 net.cpp:176] Network initialization done. I0121 18:27:51.715622 16879 net.cpp:177] Memory required for Data 1130649488 E0121 18:27:52.013372 16879 extract_image_features.cpp:81] Extracting features for 26 batches [mjpeg @ 0x7fb0fc034080] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc034080] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image E0121 18:27:55.118007 16879 extract_image_features.cpp:117] Extracted features of 10 images. [mjpeg @ 0x7fb0fc053d80] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc0533c0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 E0121 18:28:00.618724 16879 extract_image_features.cpp:121] Successfully extracted 16 features!

ps: I already used c3d to extract features from avi files and it worked perfectly!!

kjsr7 commented 5 years ago

I am using C3D to extract features from mp4 files. However , I get this error. can you please help me to fix it. Thanks WARNING: Logging before InitGoogleLogging() is written to STDERR E0121 18:27:50.564393 16879 extract_image_features.cpp:64] Using GPU #0 I0121 18:27:50.565733 16879 net.cpp:76] Creating Layer data I0121 18:27:50.565748 16879 net.cpp:112] data -> data I0121 18:27:50.565765 16879 net.cpp:112] data -> label I0121 18:27:50.565783 16879 video_data_layer.cpp:283] Opening file prototxt/input_list_video.txt I0121 18:27:50.566006 16879 video_data_layer.cpp:317] A total of 260 video chunks. [mjpeg @ 0xaec97a0] invalid id 63 I0121 18:27:50.671424 16879 video_data_layer.cpp:365] output data size: 10,3,16,112,112 I0121 18:27:50.671461 16879 video_data_layer.cpp:387] Loading mean file from fb_train16_128_mean.binaryproto I0121 18:27:50.678514 16879 net.cpp:127] Top shape: 10 3 16 112 112 (6021120) I0121 18:27:50.678544 16879 net.cpp:127] Top shape: 10 1 1 1 1 (10) I0121 18:27:50.678555 16879 net.cpp:159] data does not need backward computation. I0121 18:27:50.678568 16879 net.cpp:76] Creating Layer conv1a I0121 18:27:50.678575 16879 net.cpp:86] conv1a <- data I0121 18:27:50.678589 16879 net.cpp:112] conv1a -> conv1a I0121 18:27:50.678866 16879 net.cpp:127] Top shape: 10 64 16 112 112 (128450560) I0121 18:27:50.678877 16879 net.cpp:154] conv1a needs backward computation. I0121 18:27:50.678886 16879 net.cpp:76] Creating Layer relu1a I0121 18:27:50.678891 16879 net.cpp:86] relu1a <- conv1a I0121 18:27:50.678897 16879 net.cpp:100] relu1a -> conv1a (in-place) I0121 18:27:50.678903 16879 net.cpp:127] Top shape: 10 64 16 112 112 (128450560) I0121 18:27:50.678910 16879 net.cpp:154] relu1a needs backward computation. I0121 18:27:50.678917 16879 net.cpp:76] Creating Layer pool1 I0121 18:27:50.678922 16879 net.cpp:86] pool1 <- conv1a I0121 18:27:50.678928 16879 net.cpp:112] pool1 -> pool1 I0121 18:27:50.678943 16879 net.cpp:127] Top shape: 10 64 16 56 56 (32112640) I0121 18:27:50.678951 16879 net.cpp:154] pool1 needs backward computation. I0121 18:27:50.678961 16879 net.cpp:76] Creating Layer conv2a I0121 18:27:50.678966 16879 net.cpp:86] conv2a <- pool1 I0121 18:27:50.678972 16879 net.cpp:112] conv2a -> conv2a I0121 18:27:50.681480 16879 net.cpp:127] Top shape: 10 128 16 56 56 (64225280) I0121 18:27:50.681500 16879 net.cpp:154] conv2a needs backward computation. I0121 18:27:50.681511 16879 net.cpp:76] Creating Layer relu2a I0121 18:27:50.681517 16879 net.cpp:86] relu2a <- conv2a I0121 18:27:50.681524 16879 net.cpp:100] relu2a -> conv2a (in-place) I0121 18:27:50.681531 16879 net.cpp:127] Top shape: 10 128 16 56 56 (64225280) I0121 18:27:50.681536 16879 net.cpp:154] relu2a needs backward computation. I0121 18:27:50.681543 16879 net.cpp:76] Creating Layer pool2 I0121 18:27:50.681547 16879 net.cpp:86] pool2 <- conv2a I0121 18:27:50.681553 16879 net.cpp:112] pool2 -> pool2 I0121 18:27:50.681560 16879 net.cpp:127] Top shape: 10 128 8 28 28 (8028160) I0121 18:27:50.681565 16879 net.cpp:154] pool2 needs backward computation. I0121 18:27:50.681573 16879 net.cpp:76] Creating Layer conv3a I0121 18:27:50.681578 16879 net.cpp:86] conv3a <- pool2 I0121 18:27:50.681584 16879 net.cpp:112] conv3a -> conv3a [mjpeg @ 0x7fb0fc002b40] invalid id 63 I0121 18:27:50.694962 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.695013 16879 net.cpp:154] conv3a needs backward computation. I0121 18:27:50.695032 16879 net.cpp:76] Creating Layer relu3a I0121 18:27:50.695045 16879 net.cpp:86] relu3a <- conv3a I0121 18:27:50.695058 16879 net.cpp:100] relu3a -> conv3a (in-place) I0121 18:27:50.695070 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.695083 16879 net.cpp:154] relu3a needs backward computation. I0121 18:27:50.695101 16879 net.cpp:76] Creating Layer conv3b I0121 18:27:50.695113 16879 net.cpp:86] conv3b <- conv3a I0121 18:27:50.695127 16879 net.cpp:112] conv3b -> conv3b [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:50.726562 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.726598 16879 net.cpp:154] conv3b needs backward computation. I0121 18:27:50.726613 16879 net.cpp:76] Creating Layer relu3b I0121 18:27:50.726620 16879 net.cpp:86] relu3b <- conv3b I0121 18:27:50.726629 16879 net.cpp:100] relu3b -> conv3b (in-place) I0121 18:27:50.726636 16879 net.cpp:127] Top shape: 10 256 8 28 28 (16056320) I0121 18:27:50.726642 16879 net.cpp:154] relu3b needs backward computation. I0121 18:27:50.726650 16879 net.cpp:76] Creating Layer pool3 I0121 18:27:50.726656 16879 net.cpp:86] pool3 <- conv3b I0121 18:27:50.726662 16879 net.cpp:112] pool3 -> pool3 I0121 18:27:50.726672 16879 net.cpp:127] Top shape: 10 256 4 14 14 (2007040) I0121 18:27:50.726677 16879 net.cpp:154] pool3 needs backward computation. I0121 18:27:50.726686 16879 net.cpp:76] Creating Layer conv4a I0121 18:27:50.726691 16879 net.cpp:86] conv4a <- pool3 I0121 18:27:50.726697 16879 net.cpp:112] conv4a -> conv4a [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:50.778403 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.778431 16879 net.cpp:154] conv4a needs backward computation. I0121 18:27:50.778442 16879 net.cpp:76] Creating Layer relu4a I0121 18:27:50.778450 16879 net.cpp:86] relu4a <- conv4a I0121 18:27:50.778458 16879 net.cpp:100] relu4a -> conv4a (in-place) I0121 18:27:50.778465 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.778470 16879 net.cpp:154] relu4a needs backward computation. I0121 18:27:50.778478 16879 net.cpp:76] Creating Layer conv4b I0121 18:27:50.778483 16879 net.cpp:86] conv4b <- conv4a I0121 18:27:50.778491 16879 net.cpp:112] conv4b -> conv4b [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:50.890735 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.890765 16879 net.cpp:154] conv4b needs backward computation. I0121 18:27:50.890779 16879 net.cpp:76] Creating Layer relu4b I0121 18:27:50.890785 16879 net.cpp:86] relu4b <- conv4b I0121 18:27:50.890794 16879 net.cpp:100] relu4b -> conv4b (in-place) I0121 18:27:50.890801 16879 net.cpp:127] Top shape: 10 512 4 14 14 (4014080) I0121 18:27:50.890806 16879 net.cpp:154] relu4b needs backward computation. I0121 18:27:50.890817 16879 net.cpp:76] Creating Layer pool4 I0121 18:27:50.890822 16879 net.cpp:86] pool4 <- conv4b I0121 18:27:50.890830 16879 net.cpp:112] pool4 -> pool4 I0121 18:27:50.890837 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:50.890842 16879 net.cpp:154] pool4 needs backward computation. I0121 18:27:50.890851 16879 net.cpp:76] Creating Layer conv5a I0121 18:27:50.890856 16879 net.cpp:86] conv5a <- pool4 I0121 18:27:50.890861 16879 net.cpp:112] conv5a -> conv5a [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:51.009661 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.009698 16879 net.cpp:154] conv5a needs backward computation. I0121 18:27:51.009721 16879 net.cpp:76] Creating Layer relu5a I0121 18:27:51.009737 16879 net.cpp:86] relu5a <- conv5a I0121 18:27:51.009752 16879 net.cpp:100] relu5a -> conv5a (in-place) I0121 18:27:51.009765 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.009778 16879 net.cpp:154] relu5a needs backward computation. I0121 18:27:51.009793 16879 net.cpp:76] Creating Layer conv5b I0121 18:27:51.009804 16879 net.cpp:86] conv5b <- conv5a I0121 18:27:51.009816 16879 net.cpp:112] conv5b -> conv5b [mjpeg @ 0x7fb0fc055a40] invalid id 63 [mjpeg @ 0x7fb0fc055a40] invalid id 63 I0121 18:27:51.123850 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.123886 16879 net.cpp:154] conv5b needs backward computation. I0121 18:27:51.123899 16879 net.cpp:76] Creating Layer relu5b I0121 18:27:51.123908 16879 net.cpp:86] relu5b <- conv5b I0121 18:27:51.123915 16879 net.cpp:100] relu5b -> conv5b (in-place) I0121 18:27:51.123936 16879 net.cpp:127] Top shape: 10 512 2 7 7 (501760) I0121 18:27:51.123950 16879 net.cpp:154] relu5b needs backward computation. I0121 18:27:51.123963 16879 net.cpp:76] Creating Layer pool5 I0121 18:27:51.123970 16879 net.cpp:86] pool5 <- conv5b I0121 18:27:51.123975 16879 net.cpp:112] pool5 -> pool5 I0121 18:27:51.123983 16879 net.cpp:127] Top shape: 10 512 1 4 4 (81920) I0121 18:27:51.123988 16879 net.cpp:154] pool5 needs backward computation. I0121 18:27:51.123996 16879 net.cpp:76] Creating Layer fc6 I0121 18:27:51.124001 16879 net.cpp:86] fc6 <- pool5 I0121 18:27:51.124007 16879 net.cpp:112] fc6 -> fc6 I0121 18:27:51.510727 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.510757 16879 net.cpp:154] fc6 needs backward computation. I0121 18:27:51.510782 16879 net.cpp:76] Creating Layer relu6 I0121 18:27:51.510789 16879 net.cpp:86] relu6 <- fc6 I0121 18:27:51.510797 16879 net.cpp:100] relu6 -> fc6 (in-place) I0121 18:27:51.510805 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.510812 16879 net.cpp:154] relu6 needs backward computation. I0121 18:27:51.510820 16879 net.cpp:76] Creating Layer drop6 I0121 18:27:51.510825 16879 net.cpp:86] drop6 <- fc6 I0121 18:27:51.510831 16879 net.cpp:100] drop6 -> fc6 (in-place) I0121 18:27:51.510838 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.510843 16879 net.cpp:154] drop6 needs backward computation. I0121 18:27:51.510851 16879 net.cpp:76] Creating Layer fc7 I0121 18:27:51.510856 16879 net.cpp:86] fc7 <- fc6 I0121 18:27:51.510862 16879 net.cpp:112] fc7 -> fc7 I0121 18:27:51.697782 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.697820 16879 net.cpp:154] fc7 needs backward computation. I0121 18:27:51.697834 16879 net.cpp:76] Creating Layer relu7 I0121 18:27:51.697844 16879 net.cpp:86] relu7 <- fc7 I0121 18:27:51.697854 16879 net.cpp:100] relu7 -> fc7 (in-place) I0121 18:27:51.697862 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.697870 16879 net.cpp:154] relu7 needs backward computation. I0121 18:27:51.697878 16879 net.cpp:76] Creating Layer drop7 I0121 18:27:51.697883 16879 net.cpp:86] drop7 <- fc7 I0121 18:27:51.697890 16879 net.cpp:100] drop7 -> fc7 (in-place) I0121 18:27:51.697896 16879 net.cpp:127] Top shape: 10 4096 1 1 1 (40960) I0121 18:27:51.697901 16879 net.cpp:154] drop7 needs backward computation. I0121 18:27:51.697909 16879 net.cpp:76] Creating Layer fc8 I0121 18:27:51.697914 16879 net.cpp:86] fc8 <- fc7 I0121 18:27:51.697921 16879 net.cpp:112] fc8 -> fc8 I0121 18:27:51.715450 16879 net.cpp:127] Top shape: 10 382 1 1 1 (3820) I0121 18:27:51.715476 16879 net.cpp:154] fc8 needs backward computation. I0121 18:27:51.715490 16879 net.cpp:76] Creating Layer prob I0121 18:27:51.715499 16879 net.cpp:86] prob <- fc8 I0121 18:27:51.715509 16879 net.cpp:112] prob -> prob I0121 18:27:51.715526 16879 net.cpp:127] Top shape: 10 382 1 1 1 (3820) I0121 18:27:51.715533 16879 net.cpp:154] prob needs backward computation. I0121 18:27:51.715543 16879 net.cpp:76] Creating Layer accuracy I0121 18:27:51.715548 16879 net.cpp:86] accuracy <- prob I0121 18:27:51.715554 16879 net.cpp:86] accuracy <- label I0121 18:27:51.715561 16879 net.cpp:112] accuracy -> accuracy I0121 18:27:51.715571 16879 net.cpp:127] Top shape: 1 2 1 1 1 (2) I0121 18:27:51.715576 16879 net.cpp:154] accuracy needs backward computation. I0121 18:27:51.715582 16879 net.cpp:165] This network produces output accuracy I0121 18:27:51.715602 16879 net.cpp:183] Collecting Learning Rate and Weight Decay. I0121 18:27:51.715617 16879 net.cpp:176] Network initialization done. I0121 18:27:51.715622 16879 net.cpp:177] Memory required for Data 1130649488 E0121 18:27:52.013372 16879 extract_image_features.cpp:81] Extracting features for 26 batches [mjpeg @ 0x7fb0fc034080] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc034080] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image [mjpeg @ 0x7fb0fc033c20] mjpeg: unsupported coding type (ce) [mjpeg @ 0x7fb0fc033c20] No JPEG data found in image E0121 18:27:55.118007 16879 extract_image_features.cpp:117] Extracted features of 10 images. [mjpeg @ 0x7fb0fc053d80] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc052560] No JPEG data found in image [mjpeg @ 0x7fb0fc0533c0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 [mjpeg @ 0x7fb0fc0014a0] invalid id 183 E0121 18:28:00.618724 16879 extract_image_features.cpp:121] Successfully extracted 16 features!

ps: I already used c3d to extract features from avi files and it worked perfectly!!

@Abk-sabrina I am also facing the same error. Did you find any solution for this? Are the features being extracted for the .mp4 files?

dutran commented 5 years ago

there is one option in VideoData layer say use_image, turn this into 0 or false will make video_data_layer read video files instead of sequences of frames.

kjsr7 commented 5 years ago

Hello du, I haven't changed any parameter but successfully extracted the features by changing the environment and rebuilding. The error disappeared. Does this parameter change the features of the .mp4 files?