Ask Your Question
2

What does the error message "Fastai error: batch sizes do not match. ValueError: The expected input batch size (6912) does not match the target batch size (128)" mean?

asked 2023-07-04 08:02:14 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-07-04 08:13:02 +0000

woof gravatar image

The error message means that the expected input batch size of 6912 does not match the target batch size of 128. It could mean that the data is not properly formatted or that there is an issue with the input and target data being passed to the model. It may also suggest that the batch sizes need to be adjusted to match each other for the model to work properly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-04 08:02:14 +0000

Seen: 16 times

Last updated: Jul 04 '23