Skip to content

blebleee/1mg_codingtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1MG Coding challenge

Source code

https://github.com/blebleee/1mg_codingtest

What's inside

Installation guide

In order to install this product, kindly choose 1 of the following 2 options:

Option 1: Using Docker

Prerequisite:

  • Docker installed in the local machine
  • git installed in the local machine

Steps:

  1. Clone the source code
  • This step will do get the source code from github to your local machine
git clone https://github.com/blebleee/1mg_codingtest
cd 1mg_codingtest
  1. Build the docker image
  • This step will do build a dockerfile
  • Remember to enter root password in order to run sudo
sudo docker build -t mnisting .
  1. Run the server using docker
sudo docker run -itd -p 8888:8888 --name mnist mnisting:latest

Option 2: Using the source code

pip install -r requirements.txt
python3 main.py

Usage guide

  • In order to use the product, please
    • Prepare some handwritten images
    • Open your web browser
    • Enter localhost:8888
    • Upload images with "select" button then predict with "submit" button.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published