I have had the same problem and managed to solve it as shown here. As @ahmedbr points out, more details – in particular what task you train for – are required to solve this.
mdroth
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| ValueError: Expected input batch_size (8) to match target batch_size (280) | 1 | 2083 | November 18, 2024 | |
| ValueError: Expected input batch_size (16) to match target batch_size (64) | 7 | 5274 | November 7, 2023 | |
| Expected input batch_size (2048) to match target batch_size (4) | 3 | 1683 | May 23, 2022 | |
| Expected input batch_size.. to match target batch_size | 0 | 554 | July 1, 2022 | |
| ValueError: batch_size should be a positive integer value, but got batch_size=(1, 1, 1, 1) | 1 | 657 | June 11, 2023 |