Open pure-water opened 6 years ago
There is a compiler present in nvdla's software folder: sw/pre-built/linux/nvdla_compiler
However, does this include the parser for nvdla also? Any information regarding this will be appreciated. Thanks
Also, can someone help me by letting me know how to use the compiler (and the parser). I'm not able to find a guide anywhere.
What is the input to the compiler? (Is it a .prototxt file?) Please help
nvdla@nvdla:~/NVDLA/git-nvdla-sw/prebuilt/linux$ ./nvdla_compiler -h
Usage: ./nvdla_compiler [-options] --prototxt
something like this:
nvdla@nvdla:~/NVDLA/git-nvdla-sw/prebuilt/linux$ ./nvdla_compiler --prototxt lenet/lenet.prototxt --caffemodel lenet/lenet_iter_5000.caffemodel
and after this done, you will get loadable file named basic.nvdla or default.nvdla.
BTW, nvdla_compiler contains parser and compiler.
Run PDP/PDP_L0_0_small_fbuf creating new runtime context... Emulator starting submitting tasks... [ 226.113537] Enter:dla_read_network_config [ 226.119198] Exit:dla_read_network_config status=0 [ 226.123877] Enter: dla_initiate_processors [ 226.127953] Enter: dla_submit_operation [ 226.131772] Prepare PDP operation index 0 ROI 0 dep_count 0 [ 226.137326] Enter: dla_prepare_operation [ 226.141234] processor:PDP group:0, rdma_group:0 available [ 226.146617] Enter: dla_read_config [ 226.150009] Exit: dla_read_config [ 226.153299] Exit: dla_prepare_operation status=0 [ 226.157901] Enter: dla_program_operation [ 226.161808] Program PDP operation index 0 ROI 0 Group[0] [ 226.167105] group id 0 rdma id 0 [ 226.170328] no desc get due to index==-1 [ 226.174220] no desc get due to index==-1 [ 226.178125] no desc get due to index==-1 [ 226.182032] no desc get due to index==-1 [ 226.185938] no desc get due to index==-1 [ 226.189845] no desc get due to index==-1 [ 226.193751] no desc get due to index==-1 [ 226.197658] Enter: dla_op_programmed [ 226.201217] Exit: dla_op_programmed [ 226.204690] Exit: dla_program_operation status=0 [ 226.209292] Enter: dla_enable_operation [ 226.213113] Enable PDP operation index 0 ROI 0 [ 226.217537] group id 0 rdma id 0 [ 226.220750] rdma needed 1 [ 226.223346] Enter: dla_op_enabled [ 226.226652] Exit: dla_op_enabled [ 226.229863] Exit: dla_enable_operation status=0 [ 226.234379] Exit: dla_submit_operation [ 226.238110] Enter: dla_dequeue_operation [ 226.242018] exit PDP as there's no further operation [ 226.246965] Exit: dla_dequeue_operation [ 226.250786] Exit: dla_initiate_processors status=0 [ 226.255559] Enter:dla_handle_events, processor:BDMA [ 226.260415] Exit:dla_handle_events, ret:0 [ 226.264407] Enter:dla_handle_events, processor:Convolution [ 226.269877] Exit:dla_handle_events, ret:0 [ 226.273869] Enter:dla_handle_events, processor:SDP [ 226.278644] Exit:dla_handle_events, ret:0 [ 226.282637] Enter:dla_handle_events, processor:PDP [ 226.287412] Handle op complete event, processor PDP group 0 [ 226.292969] Enter:dla_op_completion processor PDP group0 [ 226.298264] Completed PDP operation index 0 ROI 0 [ 226.302952] 1 HWLs done, totally 1 layers [ 226.306945] Enter: dla_free_op_desc op desc index 0 ROI 0 [ 226.312327] Exit: dla_free_op_desc [ 226.315712] Exit:dla_op_completion processor PDP group0 status=0 [ 226.321702] Exit:dla_handle_events, ret:0 [ 226.325694] Enter:dla_handle_events, processor:CDP [ 226.330469] Exit:dla_handle_events, ret:0 [ 226.334462] Enter:dla_handle_events, processor:RUBIK [ 226.339411] Exit:dla_handle_events, ret:0 [ 226.343417] reset engine done Shutdown signal received, exiting Test pass = Run CONV/CONV_D_L0_0_small_fbuf creating new runtime context... Emulator starting submitting tasks... [ 226.625387] Enter:dla_read_network_config [ 226.631046] Exit:dla_read_network_config status=0 [ 226.635725] Enter: dla_initiate_processors [ 226.639803] Enter: dla_submit_operation [ 226.643623] Prepare Convolution operation index 0 ROI 0 dep_count 1 [ 226.649872] Enter: dla_prepare_operation [ 226.653779] processor:Convolution group:0, rdma_group:0 available [ 226.659855] Enter: dla_read_config [ 226.663247] Exit: dla_read_config [ 226.666537] Exit: dla_prepare_operation status=0 [ 226.671140] Enter: dla_program_operation [ 226.675045] Program Convolution operation index 0 ROI 0 Group[0] [ 226.681060] no desc get due to index==-1 [ 226.684943] no desc get due to index==-1 [ 226.688850] no desc get due to index==-1 [ 226.692753] no desc get due to index==-1 [ 226.696660] no desc get due to index==-1 [ 226.700560] no desc get due to index==-1 [ 226.704473] Enter: dla_op_programmed [ 226.708033] Update dependency operation index 1 ROI 0 DEP_COUNT=1 [ 226.714111] enable SDP in dla_update_dependency as depdency are resolved [ 226.720794] Enter: dla_enable_operation [ 226.724614] exit dla_enable_operation without actual enable due to processor hasn't been programmed [ 226.733646] Exit: dla_enable_operation status=0 [ 226.738156] Exit: dla_op_programmed [ 226.741627] Exit: dla_program_operation status=0 [ 226.746230] Exit: dla_submit_operation [ 226.749961] Enter: dla_dequeue_operation [ 226.753868] exit Convolution as there's no further operation [ 226.759510] Exit: dla_dequeue_operation [ 226.763331] Enter: dla_submit_operation [ 226.767150] Prepare SDP operation index 1 ROI 0 dep_count 0 [ 226.772706] Enter: dla_prepare_operation [ 226.776612] processor:SDP group:0, rdma_group:0 available [ 226.781994] Enter: dla_read_config [ 226.785385] Exit: dla_read_config [ 226.788678] Exit: dla_prepare_operation status=0 [ 226.793278] Enter: dla_program_operation [ 226.797186] Program SDP operation index 1 ROI 0 Group[0] [ 226.802489] no desc get due to index==-1 [ 226.806386] no desc get due to index==-1 [ 226.810292] no desc get due to index==-1 [ 226.814199] no desc get due to index==-1 [ 226.818104] no desc get due to index==-1 [ 226.822012] no desc get due to index==-1 [ 226.825918] Enter: dla_op_programmed [ 226.829486] Exit: dla_op_programmed [ 226.832950] Exit: dla_program_operation status=0 [ 226.837557] Enter: dla_enable_operation [ 226.841371] Enable SDP operation index 1 ROI 0 [ 226.845799] Enter: dla_op_enabled [ 226.849096] Update dependency operation index 0 ROI 0 DEP_COUNT=1 [ 226.855175] enable Convolution in dla_update_dependency as depdency are resolved [ 226.862554] Enter: dla_enable_operation [ 226.866374] Enable Convolution operation index 0 ROI 0 [ 226.871496] Enter: dla_op_enabled [ 226.874792] Exit: dla_op_enabled [ 226.878003] Exit: dla_enable_operation status=0 [ 226.882518] Exit: dla_op_enabled [ 226.885729] Exit: dla_enable_operation status=0 [ 226.890245] Exit: dla_submit_operation [ 226.893977] Enter: dla_dequeue_operation [ 226.897883] exit SDP as there's no further operation [ 226.902831] Exit: dla_dequeue_operation [ 226.906652] Exit: dla_initiate_processors status=0 [ 226.911426] Enter:dla_handle_events, processor:BDMA [ 226.916281] Exit:dla_handle_events, ret:0 [ 226.920273] Enter:dla_handle_events, processor:Convolution [ 226.925743] Handle cdma weight done event, processor Convolution group 0 [ 226.932428] Handle cdma data done event, processor Convolution group 0 [ 226.938938] Handle op complete event, processor Convolution group 0 [ 226.945189] Enter:dla_op_completion processor Convolution group0 [ 226.951178] Completed Convolution operation index 0 ROI 0 [ 226.956560] 1 HWLs done, totally 2 layers [ 226.960552] Enter: dla_dequeue_operation [ 226.964458] exit Convolution as there's no further operation [ 226.970102] Exit: dla_dequeue_operation [ 226.973921] Exit:dla_op_completion processor Convolution group0 status=0 [ 226.980606] Exit:dla_handle_events, ret:0 [ 226.984598] Enter:dla_handle_events, processor:SDP [ 226.989373] Handle op complete event, processor SDP group 0 [ 226.994929] Enter:dla_op_completion processor SDP group0 [ 227.000225] Completed SDP operation index 1 ROI 0 [ 227.004912] 2 HWLs done, totally 2 layers [ 227.008906] Enter: dla_free_op_desc op desc index 0 ROI 0 [ 227.014288] Exit: dla_free_op_desc [ 227.017673] Enter: dla_free_op_desc op desc index 1 ROI 0 [ 227.023055] Exit: dla_free_op_desc [ 227.026441] Exit:dla_op_completion processor SDP group0 status=0 [ 227.032431] Exit:dla_handle_events, ret:0 [ 227.036423] Enter:dla_handle_events, processor:PDP [ 227.041198] Exit:dla_handle_events, ret:0 [ 227.045191] Enter:dla_handle_events, processor:CDP [ 227.049966] Exit:dla_handle_events, ret:0 [ 227.053958] Enter:dla_handle_events, processor:RUBIK [ 227.058907] Exit:dla_handle_events, ret:0 [ 227.062911] reset engine done Shutdown signal received, exiting Test pass = Run SDP/SDP_X1_L0_0_small_fbuf creating new runtime context... Emulator starting submitting tasks... [ 227.635347] Enter:dla_read_network_config [ 227.641005] Exit:dla_read_network_config status=0 [ 227.645681] Enter: dla_initiate_processors [ 227.649763] Enter: dla_submit_operation [ 227.653581] Prepare SDP operation index 0 ROI 0 dep_count 0 [ 227.659135] Enter: dla_prepare_operation [ 227.663043] processor:SDP group:1, rdma_group:0 available [ 227.668423] Enter: dla_read_config [ 227.671816] Exit: dla_read_config [ 227.675107] Exit: dla_prepare_operation status=0 [ 227.679709] Enter: dla_program_operation [ 227.683614] Program SDP operation index 0 ROI 0 Group[1] [ 227.688926] no desc get due to index==-1 [ 227.692816] no desc get due to index==-1 [ 227.696723] no desc get due to index==-1 [ 227.700628] no desc get due to index==-1 [ 227.704528] no desc get due to index==-1 [ 227.708441] no desc get due to index==-1 [ 227.712347] no desc get due to index==-1 [ 227.716254] Enter: dla_op_programmed [ 227.719813] Exit: dla_op_programmed [ 227.723287] Exit: dla_program_operation status=0 [ 227.727887] Enter: dla_enable_operation [ 227.731708] Enable SDP operation index 0 ROI 0 [ 227.736134] Enter: dla_op_enabled [ 227.739432] Exit: dla_op_enabled [ 227.742643] Exit: dla_enable_operation status=0 [ 227.747159] Exit: dla_submit_operation [ 227.750891] Enter: dla_dequeue_operation [ 227.754798] exit SDP as there's no further operation [ 227.759745] Exit: dla_dequeue_operation [ 227.763566] Exit: dla_initiate_processors status=0 [ 227.768340] Enter:dla_handle_events, processor:BDMA [ 227.773196] Exit:dla_handle_events, ret:0 [ 227.777188] Enter:dla_handle_events, processor:Convolution [ 227.782657] Exit:dla_handle_events, ret:0 [ 227.786649] Enter:dla_handle_events, processor:SDP [ 227.791425] Handle op complete event, processor SDP group 1 [ 227.796981] Enter:dla_op_completion processor SDP group1 [ 227.802276] Completed SDP operation index 0 ROI 0 [ 227.806964] 1 HWLs done, totally 1 layers [ 227.810957] Enter: dla_free_op_desc op desc index 0 ROI 0 [ 227.816340] Exit: dla_free_op_desc [ 227.819724] Exit:dla_op_completion processor SDP group1 status=0 [ 227.825714] Exit:dla_handle_events, ret:0 [ 227.829707] Enter:dla_handle_events, processor:PDP [ 227.834482] Exit:dla_handle_events, ret:0 [ 227.838475] Enter:dla_handle_events, processor:CDP [ 227.843249] Exit:dla_handle_events, ret:0 [ 227.847242] Enter:dla_handle_events, processor:RUBIK [ 227.852191] Exit:dla_handle_events, ret:0 [ 227.856194] reset engine done Shutdown signal received, exiting Test pass = Run CDP/CDP_L0_0_small_fbuf creating new runtime context... Emulator starting submitting tasks... [ 228.144982] Enter:dla_read_network_config [ 228.150653] Exit:dla_read_network_config status=0 [ 228.155327] Enter: dla_initiate_processors [ 228.159409] Enter: dla_submit_operation [ 228.163226] Prepare CDP operation index 0 ROI 0 dep_count 0 [ 228.168781] Enter: dla_prepare_operation [ 228.172691] processor:CDP group:0, rdma_group:0 available [ 228.178068] Enter: dla_read_config [ 228.181461] Exit: dla_read_config [ 228.184752] Exit: dla_prepare_operation status=0 [ 228.189354] Enter: dla_program_operation [ 228.193259] Program CDP operation index 0 ROI 0 Group[0] [ 228.198556] Enter: dla_cdp_program [ 228.198563] Enter: processor_cdp_program [ 228.205953] Exit: processor_cdp_program [ 228.205955] Exit: dla_cdp_program [ 228.209712] no desc get due to index==-1 [ 228.216913] no desc get due to index==-1 [ 228.220821] no desc get due to index==-1 [ 228.224726] no desc get due to index==-1 [ 228.228634] no desc get due to index==-1 [ 228.232534] no desc get due to index==-1 [ 228.236446] no desc get due to index==-1 [ 228.240352] Enter: dla_op_programmed [ 228.243912] Exit: dla_op_programmed [ 228.247386] Exit: dla_program_operation status=0 [ 228.251986] Enter: dla_enable_operation [ 228.255805] Enable CDP operation index 0 ROI 0 [ 228.260233] Enter: dla_cdp_enable [ 228.263530] Exit: dla_cdp_enable [ 228.266743] Enter: dla_op_enabled [ 228.270041] Exit: dla_op_enabled [ 228.273255] Exit: dla_enable_operation status=0 [ 228.277767] Exit: dla_submit_operation [ 228.281501] Enter: dla_dequeue_operation [ 228.285407] exit CDP as there's no further operation [ 228.290356] Exit: dla_dequeue_operation [ 228.294174] Exit: dla_initiate_processors status=0 [ 228.298951] Enter:dla_handle_events, processor:BDMA [ 228.303805] Exit:dla_handle_events, ret:0 [ 228.307797] Enter:dla_handle_events, processor:Convolution [ 228.313267] Exit:dla_handle_events, ret:0 [ 228.317259] Enter:dla_handle_events, processor:SDP [ 228.322034] Exit:dla_handle_events, ret:0 [ 228.326027] Enter:dla_handle_events, processor:PDP [ 228.330802] Exit:dla_handle_events, ret:0 [ 228.334794] Enter:dla_handle_events, processor:CDP [ 228.339569] Handle op complete event, processor CDP group 0 [ 228.345126] Enter:dla_op_completion processor CDP group0 [ 228.350421] Completed CDP operation index 0 ROI 0 [ 228.355109] 1 HWLs done, totally 1 layers [ 228.359102] Enter: dla_free_op_desc op desc index 0 ROI 0 [ 228.364484] Exit: dla_free_op_desc [ 228.367869] Exit:dla_op_completion processor CDP group0 status=0 [ 228.373859] Exit:dla_handle_events, ret:0 [ 228.377851] Enter:dla_handle_events, processor:RUBIK [ 228.382800] Exit:dla_handle_events, ret:0 [ 228.386814] reset engine done Shutdown signal received, exiting Test pass = Run NN/NN_L0_1_small_fbuf creating new runtime context... Emulator starting submitting tasks... [ 231.546798] Enter:dla_read_network_config [ 231.552459] Exit:dla_read_network_config status=0 [ 231.557136] Enter: dla_initiate_processors [ 231.561215] Enter: dla_submit_operation [ 231.565033] Prepare Convolution operation index 0 ROI 0 dep_count 1 [ 231.571281] Enter: dla_prepare_operation [ 231.575192] processor:Convolution group:1, rdma_group:0 available [ 231.581264] Enter: dla_read_config [ 231.584657] Exit: dla_read_config [ 231.587941] Exit: dla_prepare_operation status=0 [ 231.592549] Enter: dla_program_operation [ 231.596455] Program Convolution operation index 0 ROI 0 Group[1] [ 231.602471] no desc get due to index==-1 [ 231.606353] no desc get due to index==-1 [ 231.610265] no desc get due to index==-1 [ 231.614165] no desc get due to index==-1 [ 231.618070] no desc get due to index==-1 [ 231.621976] Enter: dla_op_programmed [ 231.625537] Update dependency operation index 2 ROI 0 DEP_COUNT=2 [ 231.631613] Update dependency operation index 1 ROI 0 DEP_COUNT=1 [ 231.637691] enable SDP in dla_update_dependency as depdency are resolved [ 231.644374] Enter: dla_enable_operation [ 231.648195] exit dla_enable_operation without actual enable due to processor hasn't been programmed [ 231.657225] Exit: dla_enable_operation status=0 [ 231.661736] Exit: dla_op_programmed [ 231.665207] Exit: dla_program_operation status=0 [ 231.669809] Exit: dla_submit_operation [ 231.673541] Enter: dla_dequeue_operation [ 231.677449] Dequeue op from Convolution processor, index=2 ROI=0 [ 231.683437] Enter: dla_submit_operation [ 231.687258] Prepare Convolution operation index 2 ROI 0 dep_count 1 [ 231.693507] Enter: dla_prepare_operation [ 231.697418] processor:Convolution group:0, rdma_group:0 available [ 231.703490] Enter: dla_read_config [ 231.706883] Exit: dla_read_config [ 231.710174] Exit: dla_prepare_operation status=0 [ 231.714775] Enter: dla_program_operation [ 231.718681] Program Convolution operation index 2 ROI 0 Group[0] [ 231.724694] no desc get due to index==-1 [ 231.728573] no desc get due to index==-1 [ 231.732485] no desc get due to index==-1 [ 231.736390] no desc get due to index==-1 [ 231.740297] no desc get due to index==-1 [ 231.744202] Enter: dla_op_programmed [ 231.747763] Update dependency operation index 6 ROI 0 DEP_COUNT=3 [ 231.753840] Update dependency operation index 3 ROI 0 DEP_COUNT=2 [ 231.759916] Exit: dla_op_programmed [ 231.763391] Exit: dla_program_operation status=0 [ 231.767990] Exit: dla_submit_operation [ 231.771721] Exit: dla_dequeue_operation [ 231.775542] Enter: dla_submit_operation [ 231.779361] Prepare SDP operation index 1 ROI 0 dep_count 0 [ 231.784917] Enter: dla_prepare_operation [ 231.788824] processor:SDP group:0, rdma_group:1 available [ 231.794206] Enter: dla_read_config [ 231.797597] Exit: dla_read_config [ 231.800890] Exit: dla_prepare_operation status=0 [ 231.805490] Enter: dla_program_operation [ 231.809398] Program SDP operation index 1 ROI 0 Group[0] [ 231.814705] no desc get due to index==-1 [ 231.818598] no desc get due to index==-1 [ 231.822503] no desc get due to index==-1 [ 231.826415] no desc get due to index==-1 [ 231.830317] Enter: dla_op_programmed [ 231.833877] Update dependency operation index 3 ROI 0 DEP_COUNT=1 [ 231.839954] enable SDP in dla_update_dependency as depdency are resolved [ 231.846638] Enter: dla_enable_operation [ 231.850457] exit dla_enable_operation without actual enable due to processor hasn't been programmed [ 231.859490] Exit: dla_enable_operation status=0 [ 231.864000] Exit: dla_op_programmed [ 231.867472] Exit: dla_program_operation status=0 [ 231.872072] Enter: dla_enable_operation [ 231.875893] Enable SDP operation index 1 ROI 0 [ 231.880320] Enter: dla_op_enabled [ 231.883618] Update dependency operation index 0 ROI 0 DEP_COUNT=1 [ 231.889696] enable Convolution in dla_update_dependency as depdency are resolved [ 231.897076] Enter: dla_enable_operation [ 231.900893] Enable Convolution operation index 0 ROI 0 [ 231.906019] Enter: dla_op_enabled [ 231.909313] Exit: dla_op_enabled [ 231.912519] Exit: dla_enable_operation status=0 [ 231.917039] Exit: dla_op_enabled [ 231.920244] Exit: dla_enable_operation status=0 [ 231.924765] Exit: dla_submit_operation [ 231.928491] Enter: dla_dequeue_operation [ 231.932405] Dequeue op from SDP processor, index=3 ROI=0 [ 231.937700] Enter: dla_submit_operation [ 231.941520] Prepare SDP operation index 3 ROI 0 dep_count 0 [ 231.947075] Enter: dla_prepare_operation [ 231.950986] processor:SDP group:1, rdma_group:0 available [ 231.956364] Enter: dla_read_config [ 231.959756] Exit: dla_read_config [ 231.963047] Exit: dla_prepare_operation status=0 [ 231.967649] Enter: dla_program_operation [ 231.971555] Program SDP operation index 3 ROI 0 Group[1] [ 231.976860] no desc get due to index==-1 [ 231.980756] no desc get due to index==-1 [ 231.984667] no desc get due to index==-1 [ 231.988563] no desc get due to index==-1 [ 231.992476] Enter: dla_op_programmed [ 231.996035] Update dependency operation index 7 ROI 0 DEP_COUNT=2 [ 232.002113] Exit: dla_op_programmed [ 232.005584] Exit: dla_program_operation status=0 [ 232.010186] Enter: dla_enable_operation [ 232.014005] Enable SDP operation index 3 ROI 0 [ 232.018437] Enter: dla_op_enabled [ 232.021731] Update dependency operation index 2 ROI 0 DEP_COUNT=1 [ 232.027808] enable Convolution in dla_update_dependency as depdency are resolved [ 232.035188] Enter: dla_enable_operation [ 232.039006] Enable Convolution operation index 2 ROI 0 [ 232.044130] Enter: dla_op_enabled [ 232.047426] Exit: dla_op_enabled [ 232.050637] Exit: dla_enable_operation status=0 [ 232.055153] Exit: dla_op_enabled [ 232.058363] Exit: dla_enable_operation status=0 [ 232.062878] Exit: dla_submit_operation [ 232.066610] Exit: dla_dequeue_operation [ 232.070434] Enter: dla_submit_operation [ 232.074250] Prepare PDP operation index 5 ROI 0 dep_count 1 [ 232.079807] Enter: dla_prepare_operation [ 232.083713] processor:PDP group:1, rdma_group:1 available [ 232.089095] Enter: dla_read_config [ 232.092480] Exit: dla_read_config [ 232.095779] Exit: dla_prepare_operation status=0 [ 232.100379] Enter: dla_program_operation [ 232.104287] Program PDP operation index 5 ROI 0 Group[1] [ 232.109582] group id 1 rdma id 1 [ 232.112808] no desc get due to index==-1 [ 232.116698] no desc get due to index==-1 [ 232.120607] no desc get due to index==-1 [ 232.124505] no desc get due to index==-1 [ 232.128419] no desc get due to index==-1 [ 232.132323] Enter: dla_op_programmed [ 232.135884] Update dependency operation index 11 ROI 0 DEP_COUNT=2 [ 232.142048] Exit: dla_op_programmed [ 232.145520] Exit: dla_program_operation status=0 [ 232.150120] Exit: dla_submit_operation [ 232.153853] Enter: dla_dequeue_operation [ 232.157760] Dequeue op from PDP processor, index=11 ROI=0 [ 232.163143] Enter: dla_submit_operation [ 232.166962] Prepare PDP operation index 11 ROI 0 dep_count 1 [ 232.172608] Enter: dla_prepare_operation [ 232.176505] processor:PDP group:0, rdma_group:0 available [ 232.181894] Enter: dla_read_config [ 232.185284] Exit: dla_read_config [ 232.188570] Exit: dla_prepare_operation status=0 [ 232.193178] Enter: dla_program_operation [ 232.197085] Program PDP operation index 11 ROI 0 Group[0] [ 232.202467] group id 0 rdma id 0 [ 232.205691] no desc get due to index==-1 [ 232.209588] no desc get due to index==-1 [ 232.213491] no desc get due to index==-1 [ 232.217398] no desc get due to index==-1 [ 232.221302] no desc get due to index==-1 [ 232.225210] Enter: dla_op_programmed [ 232.228769] Update dependency operation index 22 ROI 0 DEP_COUNT=2 [ 232.234933] Exit: dla_op_programmed [ 232.238403] Exit: dla_program_operation status=0 [ 232.243006] Exit: dla_submit_operation [ 232.246738] Exit: dla_dequeue_operation [ 232.250559] Enter: dla_submit_operation [ 232.254378] Prepare CDP operation index 4 ROI 0 dep_count 2 [ 232.259934] Enter: dla_prepare_operation [ 232.263841] processor:CDP group:1, rdma_group:1 available [ 232.269223] Enter: dla_read_config [ 232.272616] Exit: dla_read_config [ 232.275900] Exit: dla_prepare_operation status=0 [ 232.280508] Enter: dla_program_operation [ 232.284414] Program CDP operation index 4 ROI 0 Group[1] [ 232.289710] Enter: dla_cdp_program [ 232.289716] Enter: processor_cdp_program [ 232.297105] Exit: processor_cdp_program [ 232.297107] Exit: dla_cdp_program [ 232.300865] no desc get due to index==-1 [ 232.308068] no desc get due to index==-1 [ 232.311975] no desc get due to index==-1 [ 232.315882] no desc get due to index==-1 [ 232.319788] no desc get due to index==-1 [ 232.323693] Enter: dla_op_programmed [ 232.327255] Update dependency operation index 10 ROI 0 DEP_COUNT=3 [ 232.333418] Exit: dla_op_programmed [ 232.336889] Exit: dla_program_operation status=0 [ 232.341489] Exit: dla_submit_operation [ 232.345223] Enter: dla_dequeue_operation [ 232.349129] Dequeue op from CDP processor, index=10 ROI=0 [ 232.354513] Enter: dla_submit_operation [ 232.358331] Prepare CDP operation index 10 ROI 0 dep_count 2 [ 232.363975] Enter: dla_prepare_operation [ 232.367881] processor:CDP group:0, rdma_group:0 available [ 232.373263] Enter: dla_read_config [ 232.376653] Exit: dla_read_config [ 232.379940] Exit: dla_prepare_operation status=0 [ 232.384548] Exit: dla_submit_operation [ 232.388279] Exit: dla_dequeue_operation [ 232.392100] Exit: dla_initiate_processors status=0 [ 232.396875] Enter:dla_handle_events, processor:BDMA [ 232.401730] Exit:dla_handle_events, ret:0 [ 232.405722] Enter:dla_handle_events, processor:Convolution [ 232.411192] Exit:dla_handle_events, ret:0 [ 232.415184] Enter:dla_handle_events, processor:SDP [ 232.419959] Exit:dla_handle_events, ret:0 [ 232.423952] Enter:dla_handle_events, processor:PDP [ 232.428727] Exit:dla_handle_events, ret:0 [ 232.432719] Enter:dla_handle_events, processor:CDP [ 232.437494] Exit:dla_handle_events, ret:0 [ 232.441487] Enter:dla_handle_events, processor:RUBIK [ 232.44643
then, the process stalls and the FPGA is not responding anymore. Does anyone have an idea of which could be the problem? I wil really appreciate your help, thank you
directory
Do you have one of nv_small like NN/NN_L0_1_small_fbuf for real image input?
@JunningWu I did exactly what you did but I was not able to generate the ".nvdla" file. I ran the command
./nvdla_compiler --prototxt ./models/lenet2.prototxt --caffemodel ./models/lenet_iter_5000.caffemodel --cprecision int8 --configtarget nv_small -o ./output/
And received the following output. Kindly help me resolve this issue.
Hi, the NVDLA compiler does not seem to be in the UMD or anywhere? How I can compile the network?