Datasets:
timm
/

Modalities:
Image
Text
Formats:
webdataset
ArXiv:
Libraries:
Datasets
WebDataset
License:

Windows Webdataset truncated header Error

#1
by MaxxxP - opened

Using the provided Webdataset on Windows i get the following error.
tarfile.ReadError: ('truncated header', <webdataset.gopen.Pipe object at 0x0000025ED50067F0>, "pipe: curl.exe -s -L -H 'Authorization:Bearer TOKEN' https://huggingface.co/datasets/timm/imagenet-12k-wds/resolve/main/imagenet12k-train-0000.tar")
Using a linux works.

PyTorch Image Models org
edited Jun 22

@MaxxxP is this in a standard windows cmd shell or wsl? I'd guess that it's unlikely the pipeing would work well with the windows port of curl in a normal cmd window, probably want a wsl2 linux shell?

yeah was standard cmd i will try that thanks! The same error appears when using linux and num_workers>0 i gues this might be intended.

PyTorch Image Models org

I always use num_workers > 0 and didn't have issues, hmm ... so possibly something else going on.

Sign up or log in to comment