assert indexed_indices.size>0 error #1143
Replies: 1 comment
-
|
This error is most commonly caused by the dataset being too small (or not producing any valid samples) rather than by the model itself. An assertion like: assert indexed_indices.size > 0usually indicates that, after preprocessing and indexing, the dataset builder ended up with zero valid indices. Some things to check are:
If your goal is simply to test the training pipeline with a tiny dataset, you may also want to:
If you could share:
it would be easier to determine exactly why If this answer helped or pointed you in the right direction, I'd appreciate it if you could mark it as the accepted answer so it's easier for others with the same issue to find. Also, if you found my contribution useful, I'd appreciate it if you could check out my GitHub profile, follow me, and star any repositories you find interesting. GitHub: https://github.com/Advait251206 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When pre-training a large model, errors occur when inputting a small data set
Beta Was this translation helpful? Give feedback.
All reactions