Skip to content

Loading a TYv2 model in a TYv3 backend segfaults #281

@michaelgruner

Description

@michaelgruner

I know this is a dumb and erroneous use case, but we should error out instead of segfaulting.

This is an example pipeline:

gst-launch-1.0 avfvideosrc ! video/x-raw ! inferencefilter filter-class=-1 ! inferencedebug name=before ! videoconvert ! tee name=tee tee. ! queue max-size-buffers=3 ! arch.sink_bypass tee. ! queue max-size-buffers=3 ! inferencecrop enable=false ! videoscale ! arch.sink_model arch.src_bypass ! queue ! inferencedebug name=after ! inferenceoverlay ! glimagesink sync=false tinyyolov3 name=arch model-location=graph_tinyyolov2_tensorflow.pb labels='(null)' backend::input-layer=input/Placeholder backend::output-layer=add_8  --gst-debug=2,*inference*:9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions