pip install -r training/requirements.txt
cd frontend
npm install --from-lock-json
npm audit fix
- Dataset is taken from this kaggle dataset
- From each class random 600 images are picked for model building.
- To create train and test dataset run this script
training/create_train_test_folder.ipynb
- Open
training/All_plant_disease_new_selected.ipynb
in Jupyter Notebook. - Update dataset path from your local
- Run all the Cells one by one
- Copy the generated model into
model
folder.
- Go to
api
folder. - Run the FastAPI Server using uvicorn
python main.py
- Go to
frontend
folder.
cd frontend
npm run start