Apple Disease Recognition System 🍎
To use this project, you need to download a pre-trained model from the given Google Drive link and place it in the models directory. Follow the steps below to set it up correctly:
git clone https://github.com/InvernessPeak/AppleRx.git
cd machine-learning-projects
pip install -r requirements.txt
-
Download the Model
- Click [here](---Link of Our Project----) to open the Google Drive link.
- Click the Download button to save the file to your local system.
-
Create the Models Folder
- Navigate to the root directory of this project.
- Create a folder named
modelsif it does not already exist.mkdir models
-
Place the Model in the Folder
- Move the downloaded file into the
modelsdirectory.Replacemv /path/to/downloaded/model models/
/path/to/downloaded/modelwith the actual path where you downloaded the file.
- Move the downloaded file into the
-
Verify the Setup
- Ensure that the model file is correctly placed in the
modelsdirectory by listing the folder's contents:You should see the downloaded model file in the output.ls models
- Ensure that the model file is correctly placed in the
-
Specify the Model File Location
- Open the
app.pyfile in a text editor. - Locate line 8, which contains the following code:
tf.keras.models.load_model("")
- Update the empty string with the relative path to the model file. For example:
Replace
tf.keras.models.load_model("models/your_model_file.keras")
your_model_file.keraswith the actual name of the model file you downloaded.
- Open the
-
Run the Server
- Open a terminal and navigate to the root directory of this project.
- Run the following command to start the server:
python app.py
-
Access the Application
- Once the server is running, follow the instructions displayed in the terminal to access the application in your web browser.