Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyarrow.lib.ArrowInvalid: Empty CSV file #393

Open
R-Sheldon opened this issue Jan 23, 2024 · 0 comments
Open

pyarrow.lib.ArrowInvalid: Empty CSV file #393

R-Sheldon opened this issue Jan 23, 2024 · 0 comments

Comments

@R-Sheldon
Copy link

when i download images with img2dataset, have a error:
Starting the downloading of this file
Sharding file number 1 of 1 called cc3m.tsv
0it [00:04, ?it/s]
Traceback (most recent call last):
File "test.py", line 11, in
download(
File "/usr/local/lib/python3.8/dist-packages/img2dataset/main.py", line 262, in download
distributor_fn(
File "/usr/local/lib/python3.8/dist-packages/img2dataset/distributor.py", line 36, in multiprocessing_distributor
failed_shards = run(reader)
File "/usr/local/lib/python3.8/dist-packages/img2dataset/distributor.py", line 31, in run
for status, row in tqdm(process_pool.imap_unordered(downloader, gen)):
File "/usr/local/lib/python3.8/dist-packages/tqdm/std.py", line 1195, in iter
for obj in iterable:
File "/usr/lib/python3.8/multiprocessing/pool.py", line 868, in next
raise value
pyarrow.lib.ArrowInvalid: Empty CSV file

Anyone know how to solve it?
Please help me .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant