robertatdm

Results 10 comments of robertatdm

I had a similar issue with `tf.split`. I could overcome the error by wrapping tf.split in a keras layer: ``` @keras.saving.register_keras_serializable(package="MyLayers", name="SplitLayer") class SplitLayer(keras.layers.Layer): def __init__(self, num_or_size_splits, axis, **kwargs): super(SplitLayer,...

I think I had the same issue. I could overcome this error by wrapping `tf.split()` in a keras layer: ``` @keras.saving.register_keras_serializable(package="MyLayers", name="SplitLayer") class SplitLayer(keras.layers.Layer): def __init__(self, num_or_size_splits, axis, **kwargs): super(SplitLayer,...

Solved the issue, by specifying the `dtype` argument for the resizing layer to be `tf.float32`. ``` resizing_layer = kcv.layers.Resizing( height=480, width=640, bounding_box_format='xywh', pad_to_aspect_ratio=True, name="aug_resizing", dtype=tf.float32 #

I reduced the framerate to 10 fps and the rate of unsuccessful GrabResults is increasing. Now we also have unsuccessful results with an empty error description and ones with the...

Thank you for your quick answer. Unfortunately, the error persists. Every few images, I still get unsuccessful grabResults. ``` WARNING: Grab didn't succeed Payload data has been discarded. Payload data...

I don't think, it is related to memory bandwidth. The test works fine on an NXP I.MX8M+ evaluation board (No unsuccessful GrabResults) . Same SoC, same test, but different Module...

The issue seems to be gone for now. Apparently, after the first time calling `self.interpreter.invoke()`, we should retrieve the output tensors using `interpreter.get_tensor()`. Otherwise, something isn't cleaned up or released...

Unfortunately, I have to reopen this issue. It only disappeared temporarily and came back right the week after. Since then I have tried to play with different kernel versions, kernel...

Here is the output of usbmon when the error occured: ``` ffff0000d7dc9f00 2364447587 S Bi:2:004:1 -115 874800 < ffff0000d7dc9d00 2364448205 S Bi:2:004:1 -115 1024 < ffff0000d7dc9700 2364448241 S Bi:2:004:1 -115...

Yes, see [here](https://community.nxp.com/t5/i-MX-Graphics/libusb1-transfer-stall-when-doing-NPU-computation-on-i-mx8mp/td-p/1816607). The error occurs also with the pylon gst-plugin. I believe, it is something kernel- related. Not sure, if we should keep this issue open or not. With...