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

dataloader.py文件中flag标志位的作用? #29

Open
kingkung2016 opened this issue Mar 10, 2021 · 2 comments
Open

dataloader.py文件中flag标志位的作用? #29

kingkung2016 opened this issue Mar 10, 2021 · 2 comments

Comments

@kingkung2016
Copy link

博主的代码dataloader.py文件中,__getitem__函数里面判断mosaic为真之后,最后有一行代码self.flag = bool(1-self.flag),请问这里设置flag标志位的作用是什么呢?

@bubbliiiing
Copy link
Owner

交替使用不同数据增强

@kingkung2016
Copy link
Author

非常感谢

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