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

cv_core/parallel/data_parallel.py中的53行和77行是不是少写了[0] #42

Open
Bilibilee opened this issue Dec 26, 2021 · 0 comments

Comments

@Bilibilee
Copy link

作者您好,在阅读你的MMDataParallel源码时发现,53行和77行与mmcv中不符。
你的代码库是return self.module.train_step(*inputs, **kwargs)
mmcv代码库是return self.module.train_step(*inputs[0], **kwargs[0])

scatter返回的tuple嘛,应该是需要[0]取一下元素的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant