Traceback (most recent call last):
File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/myq/lpc/EZ-BART-master/bart/train.py", line 325, in
cli_main()
File "/home/myq/lpc/EZ-BART-master/bart/train.py", line 294, in cli_main
distributed_utils.infer_init_method(args)
File "/home/myq/lpc/EZ-BART-master/fairseq/fairseq/distributed/utils.py", line 70, in infer_init_method
with open_dict(cfg):
File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/site-packages/omegaconf/omegaconf.py", line 669, in open_dict
prev_state = config._get_node_flag("struct")
AttributeError: 'Namespace' object has no attribute '_get_node_flag'
When I use this project again, the above error is reported.
I have deployed the project on two ubuntu services as the introduction requested, and the data processing is fine, but when I finally run train.sh, I get an AttributeError: 'Namespace' object has no attribute '_get_node_flag'. What is the reason for this?
Traceback (most recent call last): File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/myq/lpc/EZ-BART-master/bart/train.py", line 325, in
cli_main()
File "/home/myq/lpc/EZ-BART-master/bart/train.py", line 294, in cli_main
distributed_utils.infer_init_method(args)
File "/home/myq/lpc/EZ-BART-master/fairseq/fairseq/distributed/utils.py", line 70, in infer_init_method
with open_dict(cfg):
File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/home/myq/miniconda3/envs/ez_bart_lpc/lib/python3.7/site-packages/omegaconf/omegaconf.py", line 669, in open_dict
prev_state = config._get_node_flag("struct")
AttributeError: 'Namespace' object has no attribute '_get_node_flag'
When I use this project again, the above error is reported.
I have deployed the project on two ubuntu services as the introduction requested, and the data processing is fine, but when I finally run train.sh, I get an AttributeError: 'Namespace' object has no attribute '_get_node_flag'. What is the reason for this?