I added context_switch_param(mode=disabled)
to the compilation configuration to compile the model into single context. The original YOLOX_s model with three downsampling branches was successfully compiled into a HEF file. However, when I added an additional output (4x downsampling branch) to YOLOX_s, the following error occurred during the compilation stage. How can I resolve this issue?
[info] ParsedPerformanceParam command, setting optimization_level(max=2)
[info] Loading model script commands to model from string
[info] ParsedPerformanceParam command, setting optimization_level(max=2)
[info] Loading network parameters
[info] Starting Hailo allocation and compilation flow
[error] Mapping Failed (allocation time: 0s)
Context switch is disabled, but model could not fit in single context. consider changing it and try again.
Detailed error is: Recoverable single context error
[error] Failed to produce compiled graph
[error] BackendAllocatorException: Compilation failed: Context switch is disabled, but model could not fit in single context. consider changing it and try again.
Detailed error is: Recoverable single context error