In newer versions of Onnx the runtime providers need to be included, otherwise the onnx model inference will fail. Proposed solution here: https://github.com/ShieldMnt/invisible-watermark/pull/25.