Skip to content

3arafawy/efficientnet-model-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

Make sure your python version >= 3.8 to run pytorch.

You can check your python version by running the following command:

python --version

Before running the server, please make sure you have set up a virtual environment and installed the necessary dependencies. Here are the steps:

  1. Activate the virtual environment:

    source <venv_name>/bin/activate  # for Linux/Mac
    <venv_name>/Scripts/activate  # for Windows
  2. Install PyTorch and torchvision: check installation command based on your machine here or just

    pip install torch torchvision
  3. Install Server dependencies:

    pip install flask flask-cors numpy pillow pillow-heif

Once you have completed these steps, you are ready to run the server using the following command:

flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages