facebookresearch / demucs

Code for the paper Hybrid Spectrogram and Waveform Source Separation
MIT License
8.1k stars 1.01k forks source link

main() takes 0 positional arguments but 1 was given #585

Open nikifori opened 6 months ago

nikifori commented 6 months ago

❓ Questions

I got this error regarding the execution of: demucs.separate.main(args)

using as args:

args = [ "--two-stems", "vocals", "-n", separation_model, "-o", outputfolder, "--filename", "{track}{stem}.{ext}", "-j", str(jobs), full_file_path, ]

probably, full_file_path raises the error, but I think this way of execution is the one that is suggested.

CarlGao4 commented 6 months ago

Run python3 -c "import demucs; print(demucs.__version__)" This function is only available from version 4.0.1