sagedemage / pet_image_classification_system

Pet image classification system written in Python with PyTorch.
MIT License
0 stars 0 forks source link

pet_image_classification_system

Pet image classification system written in Python with PyTorch.

Pet Image Classification System Pick Pet Images GUI Program

Source of the Oxford-IIIT Pet Dataset

Usage Instructions

1. Train a Model

1.1 Start TensorBoard to provide the visualization required to check how well the trained model did:

tensorboard --logdir=runs

1.2 Train a model:

python3 train_model.py

2. Pick a Pet Image

2.1 Use the GUI program to pick a pet image:

python3 gui_pick_pet_image.py

3. Run Program

3.1 Run the program with the file path of the saved model:

python3 main.py trained_models/model_20241110_144454_22.pt

Note: It is a good idea to pick a model with the highest number of epochs.

Resource