You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After exporting a Keras model to ONNX, all ONNX model nodes expose local system file paths in the nodes description. This is a security issue and seems like a possible debugging use case that was maybe left in the release, I'm speculating.
Exporting models with the following.
model.export(onnx_file, format='onnx')
Using https://netron.app/ to visualize the exported model, select a non-input or non-output nodes you will see file references for the given node listed under node properties description.
Keras 3.8.0
Torch 2.5.1
onnx 1.17.0
After exporting a Keras model to ONNX, all ONNX model nodes expose local system file paths in the nodes description. This is a security issue and seems like a possible debugging use case that was maybe left in the release, I'm speculating.
Exporting models with the following.
Using https://netron.app/ to visualize the exported model, select a non-input or non-output nodes you will see file references for the given node listed under node properties description.
To mitigate the issue, I'm doing the following.
A scrubbed example of a Cast node is seen below.
The text was updated successfully, but these errors were encountered: