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

Regularization Issue with Multiple Training Datasets #71

Open
zhristophe opened this issue Sep 24, 2024 · 2 comments
Open

Regularization Issue with Multiple Training Datasets #71

zhristophe opened this issue Sep 24, 2024 · 2 comments

Comments

@zhristophe
Copy link

I am encountering a problem with the regularization process when using two separate training datasets. Here’s the scenario:
I have two training datasets, each consisting of 10 images.
I also have a regularization dataset, which contains 20 images.

The issue arises when connecting the regularization node to the training datasets:
If I connect the regularization node to both training dataset nodes, only 10 regularization images are used, but the number of steps in one epoch is 40.
If I connect the regularization node to only one of the training dataset nodes, still only 10 regularization images are used, and the number of steps in one epoch is 30.

I would like to know if this behavior is a bug or if I am misusing the regularization feature. Thank you for your assistance.

@RaySteve312
Copy link

when you have regs, the total iterations/steps will double. even if you use only 1 reg.

@zhristophe
Copy link
Author

I know this. The point is that only 10 reg images are used instead of 20. I have a total of 20 training images and 20 reg images, and I thought that all 20 reg images would be used.

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