Posixpath has no len()

I tried creating a dataloaders with the datablock I created and I get the following error:

And this is the path of to the files:
path=Path(’/content/drive/My Drive/train_catdog/train’)

Why am I getting this error?


What’s the definition of aud_dblk? Looks like the issue is with its get_items function.

1 Like

Hi @slawekbiel
Thanks for the clarification.
I misunderstood the usage of get_items.
I passed the get_files() to get_x instead of get_items. Now it works fine.

Thank you