Project - How to Deploy an Image Classification Model using Flask

5 / 15

Installing the Necessary Packages

Let us now install the necessary packages for our web app.

We would use pip to install the packages. pip is a package-management system used to install and manage software packages.

INSTRUCTIONS

Note: The following steps might take a bit of time. These packages are said to be successfully installed if the console displays any message like Successfully installed ... after each package installation.

  • Update the pip package manager.

    pip install --upgrade pip
    
  • Install the Flask package of version 1.1.2 as follows. Use the following command in the console.

    pip install Flask==1.1.2
    
  • Install the tensorflow package of version 1.14.0 as follows.

    python -m pip install --upgrade setuptools
    
    pip install protobuf==3.17.3
    
    pip install --no-cache-dir  --force-reinstall -I grpcio==1.11.0
    
    pip install tensorflow==1.14.0
    
  • Install the pillow package of version 6.2.2 as follows, for working with images(like loading the images which we would see later).

    pip install pillow==6.2.2
    

Note:

  • If you are facing any issues related to the disk quota, please follow the instructions mentioned here.

No hints are availble for this assesment

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...