Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create train.py #295

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Create train.py #295

merged 1 commit into from
Jun 12, 2024

Conversation

AKSHITHA-CHILUKA
Copy link
Member

This Python script train.py trains the CNN model on the plant disease dataset. It does the following:

Preprocesses the data using the preprocess_data function from data_preprocessing.py. Creates the CNN model using the create_model function from model.py. Compiles and trains the model using the specified parameters. Uses ModelCheckpoint to save the best model based on validation accuracy. Uses EarlyStopping to stop training when the validation loss stops improving.

This Python script train.py trains the CNN model on the plant disease dataset. It does the following:

Preprocesses the data using the preprocess_data function from data_preprocessing.py.
Creates the CNN model using the create_model function from model.py.
Compiles and trains the model using the specified parameters.
Uses ModelCheckpoint to save the best model based on validation accuracy.
Uses EarlyStopping to stop training when the validation loss stops improving.
Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@sanjay-kv sanjay-kv merged commit 5a66e59 into recodehive:main Jun 12, 2024
2 checks passed
This was referenced Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants