This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
1、run error:
root@tda4vm-sk:/opt/vision_apps# ./bin/vx_app_tidl_seg.out --cfg config/app_seg.cfg
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
104710.766918 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
104710.766962 s: VX_ZONE_INIT:Enabled
104710.766968 s: VX_ZONE_ERROR:Enabled
104710.766973 s: VX_ZONE_WARNING:Enabled
104710.767503 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
104710.767704 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[SCALER-MODULE] Unable to create output image template!
[SCALER-MODULE] Unable to create output image template!
104710.769126 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769211 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769218 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769226 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769233 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769238 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769244 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769249 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769254 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769261 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769266 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769272 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769279 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769284 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:307] Invalid reference
104710.769593 s: VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
104710.774211 s: VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 1 alloc's of 2600 bytes
MEM: Free's : 1 free's of 2600 bytes
MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
2、app_seg.cfg
root@tda4vm-sk:/opt/vision_apps# cat config/app_seg.cfg
# location of conifg
tidl_config /opt/vision_apps/test_data/tivx/tidl_models/tidl_io_deeplabv3_mnv2.bin
# location of network
tidl_network /opt/vision_apps/test_data/tivx/tidl_models/tidl_net_deeplabv3_mnv2.bin
# location of input files
input_file_path /opt/vision_apps/test_data/psdkra/tidl_demo_images
# location of output files
output_file_path ./apps_out
# start frame Number
start_frame 500
# number of frames
num_frames 3
# input size (width height)
in_size 1024 512
# size given to DL network (width height)
# This should should not be less than 4x of input width or height
dl_size 513 513
# size given for display (width height)
# This should should not be less than 4x of input width or height
out_size 513 513
# Maximum number of Semantic Segmentation classes
num_classes 90
# delay in milli seconds (max 2000ms)
delay_in_msecs 0
# Enable or disable output image writing. 1 Enables it , 0 disables it
en_out_img_write 0
# If 1 - Enable display 0 - Disable display
display_option 0
# number of iterations to loop the inputs
num_iterations 3
# interactive input mode 1: yes, 0: no
is_interactive 0
感谢您对TI产品的关注!为更加有效地解决您的问题,您的问题已经发布在E2E英文技术论坛上,将由资深的英文论坛工程师为您提供帮助。您也可以查看下帖了解进展:
你能告诉我scalar obj 使用的格式是什么吗? 例如 scalerObj->color_format ?
vx_app_tidl_seg 应用程序中是否有任何更改,或者它是否与 SDK 8.2 中可用的应用程序相同?
请问您可以分享“source ./vision_apps_init.sh”的日志吗?
抱歉回复晚了。
请问您可以分享“source ./vision_apps_init.sh”的日志 (请附上日志1)吗?
另外,您能否在代码中进行以下 2 项更改并再次运行应用程序?
1. 在 vision_apps/modules/src/app_scalar_module.c 文件中的 create_scaler_outputs() 函数中,您能否打印出 num_outputs、scalerObj->color_format、scalerObj->output[idx].width 和 height 的值。
2. 能否启用宏APP_DEBUG,以便在应用程序的main.c 和app_scalar_module.c 中打印出作为APP_PRINTF() 的调试日志
同时,请提供上述更改后的日志(请附上日志2),以便于更清楚地了解该问题。