Problem During Deploying Machine Learning Model in Heroku App…..

Swarup Karmokar
1 min readJul 6, 2020

If you new in this field so this topic is for you my friends…..

hello to all my name is Swarup Karmokar. in this particular topic we discuss about the problems we faced during deploying a machine learning model in heroku app. so lets starts…..

Make sure you link your github account with heroku app.

The problems:

  1. problem during deploy github branch: showing Build failed..
  2. showing App error though Build succeeded…

If you find the first type of error please follows this steps →

At first we talk about why we get this type of error…..

  • for first kind of problems: we get this type of error when we miss to initialize the packages which we use into our program in <requirements.txt file>
  • for second type of error: we get this type of error when we doing some kind of miss-code in our program… or doing some mistake in our <Procfile>

Solution:

  1. for first type of problems: You initialize all the Packages properly.

make sure you initialize <Jinja and gunicorn> Pakage version…..

2. for second type of Problems: write your <Procfile> code Properly.

make sure you have Procfile without .txt extension.

THANKS…….

--

--

Swarup Karmokar
0 Followers

I am learning Machine Learning and Deep Learning...i love to code.