Implement a support vector machine (SVM) to classify images of cats and dogs from the Kaggle dataset. All the steps that are required for the experiment such as data preparation, model building, training, evaluation and saving are provided in the IPython notebook: PRODIGY_ML_03.ipynb
. The model inference was done on app.py
- Clone this repository.
git clone https://github.com/surajkarki66/PRODIGY_ML_03
- Create a Python virtual environment and activate the environment based on your machine(Linux, MacOS, and Windows)
- Download the trained model from here and put it into the project root directory.
- Install the requirements
pip install -r requirements.txt
- Run the following command
python app.py
Happy coding!