Deployment Platform: Render ✅

Hello! I stuck with the similar problem. I also have an error messages in log sections at render.com related to Relu activation function (sorry, but I didn’t save the exact text). What is important - that the error was due to the fact that bears model was made using PyTorch v1.0.1 and my model was trained using PyTorch v1.1.0.

here is how I managed to resolve it:

  1. Check what versions of libraries and packages you are using with following command in your Jupyter Notebook:

! pip list

  1. Update requirements.txt in the repo with this information. In my case requirements.txt looks like:

numpy==1.16.3
torchvision==0.2.2
https://download.pytorch.org/whl/cpu/torch-1.1.0-cp37-cp37m-linux_x86_64.whl
fastai==1.0.52
starlette==0.11.4
uvicorn==0.3.32
python-multipart
aiofiles==0.4.0
aiohttp==3.5.4

After these changes everything works fine for me.
Good luck!

8 Likes