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

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

Open
buzzkillionair opened this issue Nov 24, 2022 · 0 comments

Comments

@buzzkillionair
Copy link

buzzkillionair commented Nov 24, 2022

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

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

No branches or pull requests

1 participant