Reputation: 1
I'm encountering an issue when attempting to run a PyTorch model on a DigitalOcean Droplet. I can successfully run the model locally, but when I try to execute it on the Droplet, I get the following error: "RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory". How can I resolve this issue?
Below is the command I'm using and the error message I'm receiving:
[Command]: docker run -p 8000:8000 docker-name] [Error message]:"RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory"
And here is my docker file
I have verified the model file path, and I am confident it is correct. The model file is provided as a zip archive and works flawlessly locally. But in Digital Ocean droplet, it throws error message above.
Upvotes: 0
Views: 298