-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Hello,
I followed the example found here except that I load the network from a onnx- instead of nnet-file.
When runing the code, I get the following error Code:
TypeError Traceback (most recent call last)
in <cell line: 0>()
----> 1 vals1, stats1 = net1.solve()
1 frames
/usr/local/lib/python3.11/dist-packages/maraboupy/parsers/InputQueryBuilder.py in getInputQuery(self)
331 converted_disjunct = []
332 for e in disjunct:
--> 333 eq = MarabouCore.Equation(e.EquationType)
334 for (c, v) in e.addendList:
335 assert v < self.numVars
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. maraboupy.MarabouCore.Equation()
2. maraboupy.MarabouCore.Equation(arg0: maraboupy.MarabouCore.Equation.EquationType)
Invoked with: <class 'maraboupy.MarabouCore.Equation.EquationType'>