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
Some part of the code in the save() method of ONNXWrapper class assumes a Keras model, but the load() method that uses onnx.load() returns a ModelProto model.
For ModelProto model, the following line doesn't work because ModelProto does not have layers attribute, for instance:
Some code in the save() method needs to be updated and onnx.save() should be used to save the OOD-enabled model. Parameters in the config file need to be read in a way using ModelProto methods.
The text was updated successfully, but these errors were encountered:
Some part of the code in the save() method of ONNXWrapper class assumes a Keras model, but the load() method that uses onnx.load() returns a ModelProto model.
For ModelProto model, the following line doesn't work because ModelProto does not have
layers
attribute, for instance:trustyai-ood/ood_enabler/model_wrapper/onnx.py
Line 102 in b4de64c
Some code in the save() method needs to be updated and onnx.save() should be used to save the OOD-enabled model. Parameters in the config file need to be read in a way using ModelProto methods.
The text was updated successfully, but these errors were encountered: