fabiangal / space-efficient-context-encoding-acl21

Repository for the ACL 2021 paper "Space Efficient Context Encoding for Non-Task-Oriented Dialogue Generation with Graph Attention Transformer".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'Namespace' object has no attribute 'local_rank'

rashad101 opened this issue · comments

Hi,
I am receving this error after the first epoch.

File "/home/user/anaconda3/envs/se/lib/python3.8/site-packages/ignite/engine/engine.py", line 424, in _fire_event func(*first, *(event_args + others), **kwargs) File "/home/mrony/anaconda3/envs/se/lib/python3.8/site-packages/ignite/metrics/metric.py", line 340, in completed result = self.compute() File "/home/user/anaconda3/envs/se/lib/python3.8/site-packages/ignite/metrics/metrics_lambda.py", line 92, in compute return self.function(*materialized, **materialized_kwargs) File "train.py", line 114, in average_distributed_scalar if targs.local_rank == -1: AttributeError: 'Namespace' object has no attribute 'local_rank' Epoch [1/3]: [19850/19850] 100%|██████████, loss=2.33 [12:51:49<00:00]

  1. Do you have any ideas about what could be the reason and its possible solution?
  2. Also can we expect any GPU runnable version of the code anytime soon?