Skip to content

Fix super invocations for onnx and tflite backends#30

Merged
mbeissinger merged 1 commit intolobe:masterfrom
stevecheckoway:fix-super
Nov 29, 2021
Merged

Fix super invocations for onnx and tflite backends#30
mbeissinger merged 1 commit intolobe:masterfrom
stevecheckoway:fix-super

Conversation

@stevecheckoway
Copy link
Copy Markdown
Contributor

The super() calls are using the wrong class name. By doing this,
they're skipping the __init__() for the actual super class.

This breaks calling predict() because self.lock has not been
assigned.

The change for the tflite backend has been tested. The change for
onnx has not been tested, but seems correct.

The `super()` calls are using the wrong class name. By doing this,
they're skipping the `__init__()` for the actual super class.

This breaks calling `predict()` because `self.lock` has not been
assigned.

The change for the `tflite` backend has been tested. The change for
`onnx` has not been tested, but seems correct.
@mbeissinger mbeissinger merged commit 1782164 into lobe:master Nov 29, 2021
@stevecheckoway stevecheckoway deleted the fix-super branch November 30, 2021 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants