conda create -n ai2 python=3.12 -y
conda activate ai2
pip install -r requirements.txtFirst get the data ready by unzipping the "Garbage-Classification.zip"
To get the original pictures resized to the same size, run the following command:
bash preprocess.shThen you will see resized images in directory "garbage-dataset-resized"
Baseline model training, run:
bash run_cnn_baseline.shData augment model training, run:
bash run_cnn_augment_data.shStructure improve model training, run:
bash run_cnn_structure_improve.shOutputs can be seen in directory "output".