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

windows cannot run bash #144

Open
yingtaoluo opened this issue Oct 17, 2022 · 0 comments
Open

windows cannot run bash #144

yingtaoluo opened this issue Oct 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@yingtaoluo
Copy link

Using git bash under windwos OS, it reports errors:

$ bash pcqv1.sh
Your OS does not support multiprocessing based on fork, please use num_workers=0
2022-10-17 19:22:19 | WARNING | root | The OGB package is out of date. Your version is 1.3.2, while the latest version is 1.3.4.
Using backend: pytorch
Traceback (most recent call last):
File "D:\python\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "D:\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\python\Scripts\fairseq-train.exe_main
.py", line 7, in
File "D:\python\lib\site-packages\fairseq_cli\train.py", line 541, in cli_main
parser = options.get_training_parser()
File "D:\python\lib\site-packages\fairseq\options.py", line 38, in get_training_parser
parser = get_parser("Trainer", default_task)
File "D:\python\lib\site-packages\fairseq\options.py", line 234, in get_parser
utils.import_user_module(usr_args)
File "D:\python\lib\site-packages\fairseq\utils.py", line 497, in import_user_module
import_tasks(tasks_path, f"{module_name}.tasks")
File "D:\python\lib\site-packages\fairseq\tasks_init
.py", line 117, in import_tasks
importlib.import_module(namespace + "." + task_name)
File "D:\python\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "D:\PycharmProjects\Graphormer\graphormer\tasks\is2re.py", line 25, in
class LMDBDataset:
File "D:\PycharmProjects\Graphormer\graphormer\tasks\is2re.py", line 43, in LMDBDataset
def getitem(self, idx: int) -> dict[str, Union[Tensor, float]]:
TypeError: 'type' object is not subscriptable
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "D:\python\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
return stream.closed
ValueError: underlying buffer has been detached

@zhengsx zhengsx added the enhancement New feature or request label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants