intel / openvino-plugins-ai-audacity

A set of AI-enabled effects, generators, and analyzers for Audacity®.
GNU General Public License v3.0
1.02k stars 67 forks source link

Audacity 3.5.1 crashes when using Music Separation #271

Open downwater opened 3 months ago

downwater commented 3 months ago

Hi,

I tried to use "Music Separation" feature of the plug-in (Effects > OpenVINO Effects > Music Separation), Audacity crashes with this output:

demucs_v4_path = /usr/lib/openvino-models/htdemucs_v4.xml
cache_path = /home/mounir/.audacity-data/openvino-model-cache
number of shifts = 1
Creating OpenVINO-based HTDemucs object that will run on CPU
Setting cache_dir to /home/mounir/.audacity-data/openvino-model-cache
Inputs:
input.25, f32, [1,4,2048,336], [...]
input.1, f32, [1,2,343980], [...]
Outputs:
4172, f32, [1,16,2048,336], [...]
4262, f32, [1,8,343980], [...]
audacity: /tmp/SBo/audacity-sources-3.5.1/libraries/lib-channel/Channel.h:529: std::enable_if_t<is_const_v<IntervalType>, IteratorRange<ChannelGroup::IntervalIterator<IntervalType> > > ChannelGroup::Intervals() const [with IntervalType = const WideChannelGroupInterval; std::enable_if_t<is_const_v<IntervalType>, IteratorRange<ChannelGroup::IntervalIterator<IntervalType> > > = IteratorRange<ChannelGroup::IntervalIterator<const WideChannelGroupInterval> >]: Assertion `IsLeader()' failed.

I checked the requirements of all dependencies (Whisper.cpp must be compiled after OpenVINO toolkit). Here are the main dependencies installed in my current setup:

The plugin is built on Slackware 64 15.0 "up to date" from Slackbuild script and its dependencies.

I contacted the maintainer but I submitted the issue here as it might be on topic here.

RyanMetcalfeInt8 commented 3 months ago

Hi @downwater,

Can you try with a 'Release' build? I think I've encountered this to, if you're building Audacity in 'Debug' or other configurations where asserts are enabled.

Thanks, Ryan

downwater commented 3 months ago

Hi @RyanMetcalfeInt8,

I will try to rebuild Audacity. I don't understand how it was built as Debug type since the Slackbuild script sets "Release". I'll give it a try and keep you informed.

Regards, D.

RyanMetcalfeInt8 commented 3 months ago

Hey @downwater, any luck? I've also just checked the script there -- and you're right, it uses Release build which should be disabling asserts. Strange.

downwater commented 2 months ago

Hello @RyanMetcalfeInt8 , sorry for the delay.

I just contacted the maintainers of Audacity and OpenVino Slackbuilds. If I got some news, I'll do my best to keep you informed.

Regards, D.

downwater commented 1 month ago

Hello @RyanMetcalfeInt8, I got some news from the maintainer of Audacity. Unfortunately for hardware reasons they wasn't able to reproduce the issue, but a new Slackbuild for version 3.6.3 of Audacity will be published soon, I'll try it to see if the issue got somehow solved.