image classification

  • YOLOv8 Tutorial: Classify Agricultural Pests


    Classify Agricultural Pests | Complete YOLOv8 Classification TutorialThis tutorial provides a comprehensive guide for using the YOLOv8 model to classify agricultural pests through image classification. It covers the entire process from setting up the necessary Conda environment and Python libraries, to downloading and preparing the dataset, training the model, and testing it with new images. The tutorial is designed to be practical, offering both video and written explanations to help users understand how to effectively run inference and interpret model outputs. Understanding how to classify agricultural pests using machine learning can significantly enhance pest management strategies in agriculture, leading to more efficient and sustainable farming practices.

    Read Full Article: YOLOv8 Tutorial: Classify Agricultural Pests

  • CNN in x86 Assembly: Cat vs Dog Classifier


    I implemented a Convolutional Neural Network (CNN) from scratch entirely in x86 Assembly, Cat vs Dog ClassifierAn ambitious project involved implementing a Convolutional Neural Network (CNN) from scratch in x86-64 assembly to classify images of cats and dogs, using a dataset of 25,000 RGB images. The project aimed to deeply understand CNNs by focusing on low-level operations such as memory layout, data movement, and SIMD arithmetic, without relying on any machine learning frameworks or libraries. Key components like Conv2D, MaxPool, Dense layers, activations, forward and backward propagation, and the data loader were developed in pure assembly, achieving a performance approximately 10 times faster than a NumPy version. Despite the challenges of debugging at this scale, the implementation successfully runs inside a lightweight Debian Slim Docker container, showcasing a unique blend of low-level programming and machine learning. This matters because it demonstrates the potential for significant performance improvements in neural networks through low-level optimizations.

    Read Full Article: CNN in x86 Assembly: Cat vs Dog Classifier