huggingface / autotrain-advanced

🤗 AutoTrain Advanced
https://huggingface.co/autotrain
Apache License 2.0
3.79k stars 466 forks source link

num_samples should be a positive integer value, but got num_samples=0 #432

Closed FiveTechSoft closed 8 months ago

FiveTechSoft commented 8 months ago

Prerequisites

Backend

Local

Interface Used

CLI

CLI Command

❌ ERROR | 2023-12-22 08:41:18 | autotrain.trainers.common:wrapper:91 - num_samples should be a positive integer value, but got num_samples=0

UI Screenshots & Parameters

❌ ERROR | 2023-12-22 08:41:18 | autotrain.trainers.common:wrapper:91 - num_samples should be a positive integer value, but got num_samples=0

Error Logs

❌ ERROR | 2023-12-22 08:41:18 | autotrain.trainers.common:wrapper:91 - num_samples should be a positive integer value, but got num_samples=0

Additional Information

No response

FiveTechSoft commented 8 months ago

what to do ?

abhishekkrthakur commented 8 months ago

I have checked other issues for similar problems.

No you did not 🥲

https://github.com/huggingface/autotrain-advanced/issues/397

FiveTechSoft commented 8 months ago

change block_size to something like 128 or even lower

autotrainer should warn about it, just a suggestion :-)