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

about _batch_unshuffle_ddp issue #5

Open
konioy opened this issue Dec 23, 2021 · 2 comments
Open

about _batch_unshuffle_ddp issue #5

konioy opened this issue Dec 23, 2021 · 2 comments

Comments

@konioy
Copy link

konioy commented Dec 23, 2021

在DCQ的前向中,对im_k做了一次shuff(对应函数_batch_shuffle_ddp),然后又做了一次unshuff(对应函数_batch_unshuffle_ddp),我认为得到的结果和直接对im_k做前向的结果是一样的。这样做的目的是什么?

@liubx07
Copy link

liubx07 commented Jan 20, 2022

可以看一下Kaiming的MoCo,里面有详细的介绍,这里是借鉴了里面的做法,不过个人感觉这里不做影响应该也不大,可以试试

@konioy
Copy link
Author

konioy commented Jan 20, 2022

好的,收到,非常感谢

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

2 participants