microsoft / muzic

Muzic: Music Understanding and Generation with Artificial Intelligence
MIT License
4.49k stars 438 forks source link

[Museformer] Could not override 'task.dataset_impl' #168

Open aletote opened 1 year ago

aletote commented 1 year ago

I got this error, what's the solution please? I tried installing fairseq 0.10.2 but I get this when I try to install that version on google colab:

Installing build dependencies ... done error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

So I install 0.10.0 and get this when trying to run the bash part:

Traceback (most recent call last): File "/usr/local/bin/fairseq-interactive", line 8, in sys.exit(cli_main()) File "/usr/local/lib/python3.10/dist-packages/fairseq_cli/interactive.py", line 305, in cli_main parser = options.get_interactive_generation_parser() File "/usr/local/lib/python3.10/dist-packages/fairseq/options.py", line 54, in get_interactive_generation_parser return get_generation_parser(interactive=True, default_task=default_task) File "/usr/local/lib/python3.10/dist-packages/fairseq/options.py", line 44, in get_generation_parser parser = get_parser("Generation", default_task) File "/usr/local/lib/python3.10/dist-packages/fairseq/options.py", line 210, in get_parser utils.import_user_module(usr_args) File "/usr/local/lib/python3.10/dist-packages/fairseq/utils.py", line 458, in import_user_module importlib.import_module(unique_mod_name) File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/tmp/tmpl1fl7j7p/fairseq_user_dir_49211/init.py", line 2, in File "/tmp/tmpl1fl7j7p/fairseq_user_dir_49211/museformer_lm.py", line 9, in File "/tmp/tmpl1fl7j7p/fairseq_user_dir_49211/museformer_decoder.py", line 13, in File "/tmp/tmpl1fl7j7p/fairseq_user_dir_49211/data_structures/four_dim_pocket.py", line 1, in ModuleNotFoundError: No module named 'museformer'