pytorch / pytorch/vision

Densenet pretrained model - “unexpected EOF, expected 899672 more bytes. The file might be corrupted.“)

Open
#8,296 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

📚 The doc issue

The code found on the documentation (https://pytorch.org/hub/pytorch_vision_densenet/) to download the model gives me an error: “unexpected EOF, expected 899672 more bytes. The file might be corrupted.“

Suggest a potential alternative/fix

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the download example linked at https://pytorch.org/hub/pytorch_vision_densenet/ and inspect the model-download path involved in the unexpected EOF. No repository file or test is named in the issue; done means the documented DenseNet example downloads the pretrained model successfully without the corruption error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, documentation, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.