Giter VIP home page Giter VIP logo

mydarapy / alexnet-implementation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5 KB

This repository contains an implementation of the AlexNet convolutional neural network (CNN) architecture using the Pytorch framework. The model is trained on a dataset consisting of images of cats and dogs, with the objective of classifying images into these two categories.

Home Page: https://colab.research.google.com/drive/1TKCgDtQ8SbIj65hcNa-x_NOyBUNkdW6Z?usp=sharing

Python 100.00%
alexnet-pytorch cnn-model computer computervison image-classification neural-networks

alexnet-implementation's Introduction

AlexNet for Cat and Dog Classification

This repository contains an implementation of the AlexNet convolutional neural network (CNN) architecture using Pytorch. The model is trained to classify images of cats and dogs.

About AlexNet

AlexNet is a convolutional neural network architecture proposed by Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton. It gained significant attention after winning the ImageNet Large Scale Visual Recognition Challenge in 2012, demonstrating remarkable performance in image classification tasks. The architecture consists of five convolutional layers followed by three fully connected layers, along with max-pooling layers and ReLU activation functions. alex

Dataset

The model is trained on a dataset containing images of cats and dogs. The dataset is divided into training and validation sets for model training and evaluation. The dataset can be found here- https://drive.google.com/drive/folders/1-7jdS8Zt8JQBB6L8Ma545-HmP2qbtnbV?usp=sharing

Prerequisites

Python 3.10 PyTorch

Usage

Clone the Repository:

git clone https://github.com/MyDarapy/alexnet-implementation.git cd alexnet-cat-dog

Install Dependencies

  • Torchvision
  • PIL
  • Numpy
  • Matplotlib
  • os
  • Torch

Training: python alexnetscatsanddogs.py Replace path_to_image.jpg with the path to the image you want to classify.

Results

After training and evaluation, the model achieves a certain accuracy on the validation set. The performance can be further analyzed through confusion matrices, accuracy, precision, recall, and F1-score metrics.

Acknowledgments

The implementation is inspired by the original AlexNet paper and PyTorch's documentation. The dataset used in this project is sourced from [source_link], and we acknowledge their contribution to making it publicly available.

License This project is licensed under the MIT License - see the LICENSE file for details.

alexnet-implementation's People

Contributors

mydarapy avatar

Watchers

 avatar  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.