Skip to content

Segmentation fault at TfLiteTensorsToDetectionsCalculator::ProcessCPU #5596

Open
@Danil0v3s

Description

@Danil0v3s

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

WSL Ubuntu 22.04

MediaPipe version

0.10.15

Bazel version

6.1.1

Solution

Autoflip

Programming Language and version

C++

Describe the actual behavior

Segmentation fault at TfLiteTensorsToDetectionsCalculator::ProcessCPU

Describe the expected behaviour

No segmentation fault

Standalone code/steps you may have used to try to get what you need

Compiled the code with below and no modifications to the original source


bazel build --compilation_mode=dbg --define MEDIAPIPE_DISABLE_GPU=1 --define xnn_enable_avx512fp16=false --define xnn_enable_avxvnni=false --define xnn_enable_avx512amx=false mediapipe/examples/desktop/autoflip:run_autoflip

And ran with

bazel-bin/mediapipe/examples/desktop/autoflip/run_autoflip --calculator_graph_config_file=mediapipe/examples/desktop/autoflip/autoflip_graph.pbtxt --input_side_packets=input_video_path=/absolute/path/to/the/local/video/file,output_video_path=/absolute/path/to/save/the/output/video/file,aspect_ratio=3:4

I can't seem to compile without disabling avx512fp16, avx512amx and avxvnni and when I run the code above it would fail intermittently



### Other info / Complete Logs

image

Metadata

Metadata

Assignees

Labels

legacy:autoflipAutoFlip related issuesplatform:c++Issues specific to C++ framework in mediapipetype:supportGeneral questions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions