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
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