NVIDIA / gpu-rest-engine

A REST API for Caffe using Docker and Go
BSD 3-Clause "New" or "Revised" License
421 stars 94 forks source link

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

Open buzzkillionair opened 1 year ago

buzzkillionair commented 1 year ago

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