Open hauhsu opened 5 years ago
I was trying to run the example in README, but there is an error:
Traceback (most recent call last): File "./plaidml-test.py", line 18, in <module> output = onnx_plaidml.backend.run_model(model, [data]) File "/home/hsu.hau/.virtualenvs/ml/lib/python3.5/site-packages/onnx_plaidml/backend.py", line 166, in run_model return super(PlaidMLBackend, cls).run_model(model, device=device, **kwargs) TypeError: run_model() missing 1 required positional argument: 'inputs'
And I have to modify the code onnx_plaidml/backend.py to avoid this error:
onnx_plaidml/backend.py
166c166 < return super(PlaidMLBackend, cls).run_model(model, inputs, device=device, **kwargs) --- > return super(PlaidMLBackend, cls).run_model(model, device=device, **kwargs)
Is that a bug or I did something wrong? Thanks!
I was trying to run the example in README, but there is an error:
And I have to modify the code
onnx_plaidml/backend.py
to avoid this error:Is that a bug or I did something wrong? Thanks!