Part Number: AM5749
Hi,When the created tidl_config_XXX file is executed with test_tidl, the following error occurs. Please tell me what to do.
[error log]root@am57xx-evm:/usr/share/ti/tidl/examples/test# ./test_tidl -n 1 -t e -c ./tidl_config_ssdJacintoNetV2_deploy.txt -v[10623.574095] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1[10623.612128] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0[10623.618698] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0[10623.626121] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0[10623.632005] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0-> Executor::Executor() OCL Device: EVE createdCreating kernel ocl_tidl_setup OCL Create B:0x461cc Arg: 0x461cc OCL Create B:0x4625c Arg: 0x4625c OCL Create B:0x55324 Arg: 0x55324 OCL Create B:0x553b4 Arg: 0x553b4 Kernel: EVE device 0 executing ocl_tidl_setup, context 0 Kernel: waiting context 0...[eve 0] TIDL Device Trace: -> ocl_tidl_setup()[eve 0] TIDL Device Trace: PARAM heap: Size 9437184, Free 6340248, Total requested 3096936[eve 0] TIDL Device Trace: <- ocl_tidl_setup() Kernel: finished execution OCL Release B:0x461cc OCL Release B:0x4625c OCL Release B:0x55324 OCL Release B:0x553b4-> ExecutionObject::ExecutionObject()Creating kernel ocl_tidl_cleanupCreating kernel ocl_tidl_initialize OCL Create B:0x553b4 Arg: 0x553b4 OCL Create B:0x55324 Arg: 0x55324 OCL Create B:0x4625c Arg: 0x4625c OCL Create B:0x461cc Arg: 0x461cc Arg: local, 4Creating kernel ocl_tidl_process OCL Create B:0x55f5c Arg: 0x55f5c OCL Create B:0x56254 Arg: 0x56254 OCL Create B:(nil) Arg: (nil) Arg: 0xbecc1408<- ExecutionObject::ExecutionObject() Kernel: EVE device 0 executing ocl_tidl_initialize, context 0 Kernel: waiting context 0...[eve 0] TIDL Device Trace: -> ocl_tidl_initialize()[eve 0] TIDL Device Trace: -> SetupMemoryRecords()[eve 0] TIDL Device Trace: <- SetupMemoryRecords()[eve 0] TIDL Device Trace: -> InitializeInputOutputBuffers()[eve 0] TIDL Device Trace: <- InitializeInputOutputBuffers()[eve 0] TIDL Device Trace: <- ocl_tidl_initialize()[eve 0] TIDL Device Trace: NETWORK heap: Size 67108864, Free 30793344, Total requested 36315520 Kernel: finished execution<- Executor::Executor()test_tidl: ../common/utils.cpp:95: bool read_frame_helper(char*, size_t, std::istream&): Assertion `input_file.good()' failed.
numFrames = 1preProcType = 4netBinFile = "./tidl_net_custom_ssdJacintoNetV2.bin"paramsBinFile = "./tidl_param_custom_ssdJacintoNetV2.bin"inWidth = 512inHeight = 256inNumChannels = 3inData = "./000000_bgr_512x256.raw"outData = "./stats_tool_out.bin"
Best Regards,Shigehiro Tsuda
Hi Tsuda-san, It is failing to find the inData input file for running the inference. Is that file in the location where you are running the test_tidl binary from?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to manisha:
Hi manisha,Thank you for quick reply.These file is located in the following directory./home/root/custom_tidlnetBinFile = "/home/root/custom_tidl/tidl_net_custom_ssdJacintoNetV2.bin"paramsBinFile = "/home/root/custom_tidl/tidl_param_custom_ssdJacintoNetV2.bin"inData = "/home/root/custom_tidl/000000_bgr_512x256.raw"test_tidl binary is default./usr/share/ti/tidl/examples/testBest Regards,Shigehiro Tsuda
In reply to shigehiro tsuda:
Is this still an open issue for you? Please use the absolute path of the input files in your tidl_config_XXX file. If that still fails, I would suggest to first try the out if box example and then do one change at a time in the example config file to find out what's incorrect entry for you.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.