Closed james-trayford closed 1 month ago
To do:
%matplotlib inline
AFTER import plt
in all notebooksNote:
Need to add !git checkout -b development origin/development
line after the %cd strauss/examples/
line to get all the examples to work in Colab
.sf2
) in theSampler
:sf2
files in git so we don't end up committing these big files...Spectraliser
applications.Note the
examples/colab
directory containing versions of the notebooks with preambles that allow them to run in Google Colab. This can be opened using the github URL to the file and changinggithub.com
togithibtocolab.com
. This provides a way to test the notebooks in a 'fresh' environment. In particular, theexamples/colab/AudioCaption.ipynb
example by default should install the TTS extras to strauss. Without these extras captioning still fail, but all other aspects of strauss should work. Some of the default Colab modules don't play well with these modules, but examples should still work (though may complain and ask to reset the runtime)The Colab notebooks won't work by default at the moment, as they're designed to pip install strauss from PyPI (and they're not there yet). When open in Colab, can change:
%pip --quiet install strauss
to
%pip --quiet install "strauss @ git+https://github.com/james-trayford/strauss.git@development"
for this
development
branch. In the case of theexamples/colab/AudioCaption.ipynb
example, for the full functionality need to specify theTTS
extras for strauss, so:%pip --quiet install "strauss[TTS] @ git+https://github.com/james-trayford/strauss.git@development"