We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
作者您好,我再运行程序时,使用命令 python -m torch.distributed.launch --nproc_per_node=1 train.py
python -m torch.distributed.launch --nproc_per_node=1 train.py
但是错误告诉我: AttributeError: 'Engine' object has no attribute 'local_rank'.
请问是我分布式这里出错了吗? 该如何处理呢?
The text was updated successfully, but these errors were encountered:
https://github.com/caiyuanhao1998/RSN/blob/master/cvpack/torch_modeling/engine/engine.py#L55-L66
当我self.distributed 未False时,似乎self.local_rank并没有定义。
Sorry, something went wrong.
强行在train.py里把它屏蔽掉
No branches or pull requests
作者您好,我再运行程序时,使用命令
python -m torch.distributed.launch --nproc_per_node=1 train.py
但是错误告诉我:
AttributeError: 'Engine' object has no attribute 'local_rank'.
请问是我分布式这里出错了吗? 该如何处理呢?
The text was updated successfully, but these errors were encountered: