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

how could I re-download those "failed_to_download"? #336

Open
linhaojia13 opened this issue Apr 17, 2024 · 0 comments
Open

how could I re-download those "failed_to_download"? #336

linhaojia13 opened this issue Apr 17, 2024 · 0 comments

Comments

@linhaojia13
Copy link

I run this command to download webvid-2m:

video2dataset --url_list="results_2M_train.csv" \
        --input_format="csv" \
        --output-format="webdataset" \
	--output_folder="results_2M_train" \
        --url_col="contentUrl" \
        --caption_col="name" \
        --save_additional_columns='[videoid,page_idx,page_dir,duration]' \
        --enable_wandb=True \
	--config=default \

However, I find some of these videos are failed to downloaded, as shown in the xxxxx_stats.json:

{
    "count": 1000,
    "successes": 984,
    "failed_to_download": 16,
    "failed_to_subsample": 0,
    "duration": 402.9706723690033,
    "bytes_downloaded": 2114718582,
    "start_time": 1713343040.4027474,
    "end_time": 1713343443.3734198,
    "status_dict": {
        "success": 984,
        "HTTPSConnectionPool(host='ak.picdn.net', port=443): Read timed out.": 16
    }
}

How could I use video2dataset to re-download these part files that contain failed_to_download?

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