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

请教一下马赛克数据增强的问题 #141

Open
bukeN1 opened this issue May 6, 2023 · 2 comments
Open

请教一下马赛克数据增强的问题 #141

bukeN1 opened this issue May 6, 2023 · 2 comments

Comments

@bukeN1
Copy link

bukeN1 commented May 6, 2023

if self.mosaic and self.rand() < self.mosaic_prob and self.epoch_now < self.epoch_length * self.special_aug_ratio:
这里显示self.epoch_now < self.epoch_length * self.special_aug_ratio:时不使用马赛克,但是参数中self.epoch_now=-1,我看后面的代码这个参数也没有变化,是否可以理解为整个训练过程中除了不满足这两个条件(self.mosaic and self.rand() < self.mosaic_prob )外,都是使用马赛克的,如果不是的话,那么这参数self.epoch_now的变化在哪呢

@bubbliiiing
Copy link
Owner

epoch_now在train.py

@bukeN1
Copy link
Author

bukeN1 commented May 8, 2023

感谢找到了

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