Skip to content

Use this tool to create custom NN classification problems, scrape the data automatically from google images, and then train and export a classifier.

Notifications You must be signed in to change notification settings

Michaeljurado42/Scrape-and-Classify

Repository files navigation

Project Description

DESCRIPTION

This is a tool to scrape and clean datasets for classification from google images, classify those images using transfer learning, and then diagnose the model performance using confusion matrices and grad cam. And it is all built into an easy to use app so that machine learning novices can quickly gain experience.

There are two novelties in this application: The first is that users can collect large datasets for image recognition tasks with minimal effort using this application. The second is that the confusion matrices produced after training are interactive, meaning that users can click on any corner of confusion matrices and apply grad-cam, score-cam, and saliency maps to images in that subset. This can be especially useful for diagnosing model failures and understanding the inner workings of a trained neural network.

alt text

Running App

python app/app.py

Environment Setup

INSTALLATION

  1. Verify you have a version of python < 3.9 on your device, like python=3.7.6 on your Windows PC or MAC
  2. Download Chrome from the internet (for the scraping tool)
  3. pip install -r requirements.txt

EXECUTION

python app/app.py

Additional Instructions Once inside the app you can upload the dataset.zip class as a test and train your model. See the video for additional instructions.

DEMO VIDEO https://youtu.be/zRKHzcFV0KQ

Poster Presentation https://youtu.be/i_TPnr1pfeo

© 2022 GitHub, Inc. Terms

Disclaimers

  • Using this tool for personal profit is probably risky since the images scraped may be copyrighted.
  • Please be respectful and do not use this tool to discrimate, harm, or harass. Let us be scientists - not mad scientists.

Code Sources:

About

Use this tool to create custom NN classification problems, scrape the data automatically from google images, and then train and export a classifier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •