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

Dog_Vs_cat CLassification added #424

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

Shy029
Copy link
Contributor

@Shy029 Shy029 commented Oct 18, 2024

Proposed Changes

  • Implemented Dogs vs. Cats Classification using Transfer Learning with MobileNetV2 from TensorFlow Hub.
  • Integrated Kaggle API to access the large dataset directly without local downloads.
  • Resolved the import issue with tf.keras.Sequential by providing instructions to install and use tf_keras.Sequential.
  • Achieved Test Accuracy of 99% with optimized loss of 0.0445.

Additional Info

  • How to Use Kaggle API:

    1. Create a Kaggle account and verify via email or phone.
    2. Generate a new API token from Account Settings (downloads kaggle.json file).
    3. Upload kaggle.json to Google Colab to access the dataset directly.
  • Dataset Used:

  • Common Errors Resolved:

    • Compatibility issue with TensorFlow’s default Keras module. Solution:
      pip install tf_keras
      Replace:
      model = tf.keras.Sequential([...])
      With:
      import tf_keras
      model = tf_keras.Sequential([...])

Results

  • Test Loss: 0.0445
  • Test Accuracy: 99.00%

Copy link

👋 Thank you for opening this pull request! We appreciate your contribution to improving this project. Your PR is under review, and we'll get back to you shortly.
Don't forget to mention the issue you solved!.

To help move the process along, please tag @UppuluriKalyani, @Neilblaze, and @SaiNivedh26 for a faster review!

@UppuluriKalyani UppuluriKalyani merged commit 29cba27 into UppuluriKalyani:main Oct 18, 2024
3 checks passed
Copy link

🎉🎉 Thank you for your contribution! Your PR #424 has been merged! 🎉🎉

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