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

batch size issue #1

Open
tina5218 opened this issue Feb 28, 2023 · 1 comment
Open

batch size issue #1

tina5218 opened this issue Feb 28, 2023 · 1 comment

Comments

@tina5218
Copy link

Hi Author:
I recently tried to run your program with my own data set and ran into a problem,
An error occurs when neither my training data nor my validation data is divisible by the batch size.
The test data is also.
At present, the number of my data is respectively, train: 10742, validation: 3200, test: 1579.
Setting batch_size to 32 will be wrong, but setting 2 is ok. The train model is ok, but the test model will be wrong.

Do you have any suggestions?


4


3


5

@rladomingo
Copy link

Hello. Were you able to fix the problem? I am also planning to use my own dataset, but the train, validation, and test sets will not be divisible by 32. I cannot change the partitioning since I need it for consistency in my experiments. Looking forward to your response. Thank you.

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