Open jay98 opened 7 years ago
@jay98 can you please check and tell me if you are able to run this script?
@codeAC29 I was able to fix the error by looking at issues in the video-decore git , but now I get the following error
Preparing CamVid dataset for data loader
Filenames and their role found in: ./misc/dataDistributionCV.txt
Getting input images and labels for: 01TP_extract.avi
Input #0, avi, from '/home/jayp/Documents/LinkNet/data/CamVid/1/input/01TP_extract.avi':
Duration: 00:02:05.03, start: 0.000000, bitrate: 108156 kb/s
Stream #0:0: Video: lagarith (LAGS / 0x5347414C), none, 960x720, 108179 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
And I got the following output when I ran the script you told me to run
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'echo-hereweare.mp4': Metadata: major_brand : M4VP minor_version : 1 compatible_brands: M4VPM4A mp42isom creation_time : 2010-07-23T14:41:23.000000Z encoder : CoreMediaAuthoring 700, CoreMedia 484.11, x86_64 Duration: 00:00:44.60, start: 0.000000, bitrate: 961 kb/s Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, 2 channels, 132 kb/s (default) Metadata: creation_time : 2010-07-23T14:41:23.000000Z handler_name : Core Media Audio Stream #0:1(eng): Video: h264 (avc1 / 0x31637661), none, 480x270, 818 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 3k tbn, 3k tbc (default) Metadata: creation_time : 2010-07-23T14:41:23.000000Z handler_name : Core Media Video
I got the camVid dataset as specified in the in the read me file and installed video-decoder
Ientered the following command to start training:
th main.lua --datapath ./data/CamVid/ --cachepath ./dataCache/CamV/ --dataset cv --model ./models/model.lua --save ./Models/CamV/ --saveTrainConf --saveAll --plot
And I got the following error,
Preparing CamVid dataset for data loader
Filenames and their role found in: ./misc/dataDistributionCV.txt
Getting input images and labels for: 01TP_extract.avi
/home/jayp/torch/install/bin/luajit: /home/jayp/torch/install/share/lua/5.1/trepl/init.lua:389: /home/jayp/torch/install/share/lua/5.1/trepl/init.lua:389: error loading module 'libvideo_decoder' from file '/home/jayp/torch/install/lib/lua/5.1/libvideo_decoder.so': /home/jayp/torch/install/lib/lua/5.1/libvideo_decoder.so: undefined symbol: avcodec_get_frame_defaults stack traceback: [C]: in function 'error' /home/jayp/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' main.lua:34: in main chunk [C]: in function 'dofile' ...jayp/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
I would really appreciate if anyone would help me with this.
Thank You!