gst-inference icon indicating copy to clipboard operation
gst-inference copied to clipboard

Loading a TYv2 model in a TYv3 backend segfaults

Open michaelgruner opened this issue 5 years ago • 0 comments

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

michaelgruner avatar Mar 12 '20 22:03 michaelgruner