Thanks @Myzhar, updating the SDK to v5 and pulling today’s latest changes did the trick, the custom ONNX files are working!
However, I’ve experienced some issues with launching the ROS wrapper with SVO files with the latest SDK and ROS wrapper version, maybe you could give it a look: Problems Launching the ROS2 Wrapper with a SVO File on SDK 5.0 EA