Cross-platform, customizable multimedia/video processing framework. With strong GPU acceleration, heterogeneous design, multi-language support, easy to use, multi-framework compatible and high performance, the framework is ideal for transcoding, AI inference, algorithm integration, live video streaming, and more.
The prompt is read from files and passed to the controlnet inference module through bmf.Packet. The type of the prompt is Python dict, and bmf/python/py_module_sdk.cpp shows that bmf.Packet support all python types. But when I run the pipeline, I get the following error:
When building the controlnet demo, I am trying to build a pipeline that looks like this:
image decoder ---> controlnet inference module ---> image encoder ^ | prompt reader ---------+
The prompt is read from files and passed to the controlnet inference module through bmf.Packet. The type of the prompt is Python dict, and
bmf/python/py_module_sdk.cpp
shows that bmf.Packet support all python types. But when I run the pipeline, I get the following error:I haven't used ffmpeg filter module in the graph, tt seems that bmf will insert ffmpeg filter modules in the graph. Test code as follows.
test_controlnet.py:
text_module.py: