Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aletote opened this issue Oct 5, 2023 · 0 comments
Open

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

aletote opened this issue Oct 5, 2023 · 0 comments

Comments

@aletote
Copy link

aletote commented Oct 5, 2023

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant