Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

When running Caffe build command I get error urllib.ContentTooShortError:  #43

@buzzkillionair

Description

@buzzkillionair

I have started to implement this on a server. When I am running the
docker build -t inference_server -f Dockerfile.caffe_server .
command I have the following error during step 7/26:
...15%, 35 MB, 18 KB/s, 1981 seconds passedTraceback (most recent call last): File "/caffe/scripts/download_model_binary.py", line 74, in <module> frontmatter['caffemodel_url'], model_filename, reporthook) File "/usr/lib/python2.7/urllib.py", line 98, in urlretrieve return opener.retrieve(url, filename, reporthook, data) File "/usr/lib/python2.7/urllib.py", line 292, in retrieve "of %i bytes" % (read, size), result) urllib.ContentTooShortError: retrieval incomplete: got only 37654968 out of 2438 62418 bytes
I have tried running it on a vm as well to see if it was just my environemnt causing the issues but I had the same result. The highest percent that I have reached has been 60%. The percent completion that this error occurs on changes every time.

My os is Ubuntu 20.04.5 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions