3 ms·
I just ran all of the cited installation steps, which appear to have been successful... but I am now experiencing a profound sense of "now what?" There doesn't
by peteforde 3y ago
I just ran all of the cited installation steps, which appear to have been successful... but I am now experiencing a profound sense of "now what?"
There doesn't appear to be any new CLI executables installed, and the documentation links to an API but there's no clues on how to actually process a prompt.
What am I missing? Alternatively, I wouldn't mind using it in a Notebook but so far this thread doesn't link to anything so ambitious (yet?)
- speedgoose 3y agoThe main gradio app has been moved to the demos folder. python demos/musicgen_app.py Otherwise you can check the jupyter notebooks in the same folder.
- peteforde 3y agoThanks! This will be even more helpful if you could share a hint about where this was installed to. I carefully went through the output generated by the "pip install -U audiocraft" command, and there were no clues provided. Disclosure: I am not a Python developer, so I apologize if this is a master-of-the-obvious question for Python folks. However, if there was ever a scenario where a line or two of post-install notes would be useful, it's stuff like this.
- speedgoose 3y agoYou may have to clone the repository to get the demos folder. Otherwise it's perhaps somewhere depending on how you use python (global and often broken environment, virtual environments, conda hell, etc…). I feel like Python folks are on average terrible at distributing software. So many projects have some python script to install the dependencies, still assume you use conda, or don't bother to specify the dependencies versions. Thankfully it's often the same patterns and after some time you understand what to do based on the error messages. But I wish they could use something like NPM or Cargo. Even something like Maven would be an improvement.
- xolox 3y agoTip: If you run `pip uninstall audiocraft` it should render an interactive confirmation prompt that explains which files it is about to remove, this should help to understand where the library was installed (of course you don't have to confirm the prompt, just press Control-C or answer "No" to the prompt once you have your answer). Disregarding the tip above, determining where the library was installed requires a bit of context, for example your platform (Windows versus UNIX) and the fact that newer pip releases default to "pip install --user" when not running with super-user privileges, whereas older pip releases did not default to "pip install --user". Assuming you are using Linux and using an up-to-date pip release and you ran the "pip install -U audiocraft" command without super-user privileges, then the library was most likely installed in ~/.local/lib/pythonX.Y/site-packages (where X.Y is the version of Python that was used by the pip command you ran).
- javajosh 3y agoYou're not supposed to actually install it and use it, just comment on how cool and open Facebook is, especially in comparison to OpenAI. So, user error.
- parhamn 3y agoRight its not like anyone has operationalized Llama 2 or there aren't hundreds of repos for inference servers and the likes. /s
- goosinmouse 3y agoI just made a script that generates a two minute long classic radio show episode in the style of Johnny Dollar. Im using elevenlabs for the dialogue so the audiocraft element is definitely the weak point, but its super neat that its even possible currently.
- moffkalast 3y agoThis is the default state of deep learning projects, everyone assumes only phd researchers will ever try it who already know how to use everything in the tool chain. What's happened with llama and other LLMs with codebases that actually work outright with one click when compiled is a pretty big outlier.
- deleted 3y ago[deleted]