Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.8 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.8 KB

Philips-Tech-Xperience

A Classification algorithm trained using a Convolutional Neural Network model on philips dataset to classify images as shaver, smart-baby-bottle, toothbrush and wake-up-light. This repository delivers the solution to the image classification problem as challenged in the philips case package. Due to the space constraint the docker image has not been uploaded here but, instead a set of instructions are provided to safely download and run the docker image successfully.

Instructions to run the docker image

The docker image has been uploaded to a docker-hub repository.

  1. Firstly, make sure that the docker tool has been installed and up-and-running on your system properly. If incase not, then follow this link.
  2. Pull the docker image from the docker repository using ~$ docker pull kirankt1995/philips_tech_xperience command. Incase the docker is run as root, use sudo like ~$ sudo docker pull kirankt1995/philips_tech_xperience.

This docker image comes with all dependency packages installed so there is no need to worry about dependency anxeity 😀. An empty folder /Validation_Images is also created so one can mount their test-images-folder on host to this folder while running the image in a container.

  1. Place all test images in the test-images-folder.
  2. Now all you have to do is run this command:

~$ docker run -it --rm -v <src-test_images_dir>:/Validation_Images kirankt1995/philips_tech_xperience:latest python -W ignore classification_model.py.

Note: Pass in the absolute path in <src-test_images_dir> of your test-images-folder.

Example

A sample output of a test run.

alt text