open-unmix-pytorch icon indicating copy to clipboard operation
open-unmix-pytorch copied to clipboard

Missing import of predict when extracting from youtube

Open aframires opened this issue 4 years ago • 1 comments

🐛 Bug

When running the Colab just for extracting the stems from the youtube video, we get NameError: name 'predict' is not defined. This might have been overlooked as the import of predict happens on the Separate MUSDB18 tracks section. I think there should not be any need to run that section if the user just desires to extract the stems from an youtube video.

To Reproduce

Steps to reproduce the behaviour:

  1. Run Installation and Imports
  2. Do not run Separate MUSDB18 tracks
  3. Run Separate Youtube Video

Expected behaviour

The loading in from openunmix import predict should happen either in Installation and Imports or in both Separate MUSDB18 tracks and Separate Youtube Video

Environment

Please add some information about your environment

  • Google Colab

aframires avatar Oct 19 '21 14:10 aframires

@aframires thanks, probably I've overlooked something. I can fix this soon

faroit avatar Oct 19 '21 16:10 faroit