Deployment Platform: Render ✅

Hooray :laughing::laughing::laughing::laughing:I have now got my model working on Render.

I train my models on Google Colab as I do not have a GPU at the present and my mac takes to long sometimes.

When I forked the GitHub teddy bear example I mentioned in my previous post I had an error.

My Solution
l looked in the requirements.txt and changed the pytorch version to the version in my Google Colab notebook.

I got a different error.

I ran !pip list on my Google Colab notebook and changed all the libraries in the requirements.txt to the same version as on my Colab notebook.

This solved the problem.

However even though the errors were gone in the Render terminal the app was stuck in the analyzing state.

I switched from Safari to Chrome and it works fine now.

It seems that the .pkl must match the libraries of the system the .pkl was created on, so in this case the requirements.txt must be amended.

Hope this helps.

3 Likes