Current repository is based on Image Classification for beginner tutorial (with some refactoring).
This repository will also be the basis for the "Workshop 1. Computer Vision | Image classification".
- Install Miniconda for your operation system. Current repository using conda 24.1.0
- Clone this repository to your workshop folder
- Run next command to create an environment from an environment.yml file
conda env create -y -f environment.yml
Verify that the new environment was installed correctly:
conda env list
- Activate a new environment
conda activate cv-workshop-01-3_11
-
Create
data
subfolder in the project folder. Download the data set - Rice Image Dataset and place it in thedata
folder. -
Train the model
python ./src/image_classification_for_beginner/main.py
- Test the model with selected image
python ./src/image_classification_for_beginner/test_model.py