timothybrooks / instruct-pix2pix

Other
6.41k stars 540 forks source link

`Dataloader` returned 0 length #137

Open gabgren opened 2 months ago

gabgren commented 2 months ago

Hi, I am trying to train ip2p, but even when using the default config and the default clip-filtered-dataset, I get this error: ValueError: 'Dataloader' returned 0 length. Please make sure that it returns at least 1 batch

The example dataset doesnt have train/val architecture, so I also tried also tried creating a "train" and "val" folders and put the samples in there, but no luck, I still get the error.

It's unclear to me why the Dataloader does not see any sample. Any idea ?

Thank you ! Gab