GithubHelp home page GithubHelp logo

image_classification_101's Introduction

Image_Classification_101

This project aims to build a multi-classification image model for practice and hands-on experience.

Setting up Mac GPU usage

To utilize the Apple GPU for training the model with TensorFlow and PyTorch, follow the steps mentioned in this article: How to Use GPU with TensorFlow and PyTorch Libraries on MacBook Pro M2Apple

If you encounter any errors while installing virtualenv, you can refer to this solution from Stack Overflow: Virtualenv Command Not Found

To verify the successful installation, you can check the codes provided in this article: How to Enable GPU Support for TensorFlow or PyTorch on macOS

Steps to setup the Kaggle API to download dataset directly from kaggle to Project Terminal

  • First, you need to create a kaggle account -> your account -> "Create New API Token" -> download's a file kaggle.json.
  • Then, you need to move this file to the .kaggle directory in your home directory. If this directory does not exist, you can create it by running the following command in your terminal:
mkdir ~/.kaggle
  • Then, you need to move the kaggle.json file to the .kaggle directory by running the following command in your terminal:
mv ~/Downloads/kaggle.json ~/.kaggle
  • Finally, you need to change the permissions of the kaggle.json file so that only you can read and write to it by running the following command in your terminal:
chmod 600 ~/.kaggle/kaggle.json
  • Now, you should be able to use the kaggle API to download datasets directly from kaggle to your Jupyter Notebook.

Now download the dataset using the following code in the terminal:

    kaggle datasets download -d vishweshsalodkar/wild-animals

To extract the zip file, use the following command in the terminal:

    unzip file_name.zip 

Test Images

I have downloaded 5 diffrent classes of images from the internet to test the model. The images are as follows:

    Test_Images
        - Lion
        - Cheetah
        - Jaguar
        - Tiger
        - Leopard

Posted on portfolio

image_classification_101's People

Contributors

sathvik-chowdary-veerapaneni avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.