Skip to content

InkolluvenkatBhargav/CNN

Repository files navigation

Cotton Plant Disease Classification using CNN

Steps

1. Install Python 3.11.4 and Add to PATH

Windows:

  • Download Python 3.11.4 from python.org.
  • During installation, check "Add Python to PATH".
  • Verify installation using:
    python --version
    python3 --version

macOS/Linux

  • brew install python@3.11 or sudo apt update && sudo apt install python3.11
  • Verify installation using:
python3 --version

a

2. Clone the GitHub Repository

  • git clone https://github.com/InkolluvenkatBhargav/CNN.git
  • cd CNN.git
  • Download Dataset from Here

3. Create a Virtual Environment

  • Windows python -m venv venv
  • macOS/Linux python3 -m venv venv

4. Activate the Virtual Environment

  • Windows CMD venv\Scripts\activate
  • Windows Powershell venv\Scripts\Activate.ps1
  • macOS/Linux source venv/bin/activate

5. Install Dependencies from requirements.txt

  • In terminal pip install -r requirements.txt

6. Run CNN Model

  • In Terminal run python model.py
  • After successful execution you should see a file named
    • pred_cotton.h5
  • For Visualization execute each cell in model.ipynb by selecting venv kernel

7. Run Flask Application

  • python index.py

8. Open Browser

  • Go to http://127.0.0.1:5000/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors