Closed TechNerd-019 closed 4 months ago
Hi @TechNerd-019,
From the log, it looks like it had trouble finding the required model files. In this case, /usr/local/lib/openvino-models/htdemucs_v4.xml
.
Did you follow this step? https://github.com/intel/openvino-plugins-ai-audacity/blob/main/doc/build_doc/linux/README.md#openvino-models-installation
My apologies for this, that was indeed the problem. Somehow, it slipped my mind and did not notice that section. Can confirm it works now with Audacity 3.5.1 and Ubuntu 22.04 using DistroBox, not sure if it would work on Fedora native since packages are not the same, but using it within a container works.
Thanks again. Also, just a small question, how do we know if newer releases of audacity will be compatible with the models? Is it trial and error? If we want to update the models, I assume we need to re-download all related files, rebuild audacity, and replace the openvino-models folder with newer content, correct? Or would it be enough to just extract new versions of the .xml and .bin files and delete the older ones?
Thanks again, feel free to close this issue after your reply.
Hi @TechNerd-019,
Glad you were able to get it working!
Also, just a small question, how do we know if newer releases of audacity will be compatible with the models? Is it trial and error?
It's a good question. The models are sort of separate from the code, and while it is possible that the models themselves may get updated -- they will definitely be changing less often than the module code.
If we want to update the models, I assume we need to re-download all related files, rebuild audacity, and replace the openvino-models folder with newer content, correct? Or would it be enough to just extract new versions of the .xml and .bin files and delete the older ones?
Well, technically you could simply download all of the new models and replace the .xml / .bin files with the new ones. It is possible that a model update may have been 'paired' with a change to the mod-openvino source code -- so in this case you would also need to update the source code and re-build.
It's not so straightforward, but the best place I can think of to understand if the models have changed is to take a look at a given tagged version of this file: https://github.com/intel/openvino-plugins-ai-audacity/blob/main/tools/windows/audacity_ai_plugins.iss#L220
This is what is used to generate the Windows installer, and will show the URL / commit-id's / hash of the model files that are used for that release.
Thanks, Ryan
Hello. I have successfully built Audacity with the openVINO AI models as instructed for Linux users. My base system runs Fedora Workstation 40, so for this to work I had to make use of an Ubuntu container within distrobox. Although I am able to launch Audacity and the models are enabled, I am facing an error whenever I attempt to use them. Here is the complete log for what is displayed by Audacity:
From what I am able to tell, a directory needed cannot be created since permissions are denied. I tried executing with
sudo
, by typingsudo Release/bin/audacity
, but the results remain the same. I have attached an image of the error I face when attempting to run the effect:If additional information is needed from my end, let me know, but I have not had luck with any of the models thus far.
Additional system information: System: Ubuntu 22.04 (Running through DistroBox) Host System: Fedora Workstation 40, GNOME 46.3.1 Kernel: 6.9.7-200.fc40.x86_64 CPU: Core i7-11800H Mobile CPU GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q