/ Модель

Характеристики

Библиотека
keras
Опубликована
13 ноя 2026

wasteai-models

Классификация изображенийИзображение → label3 профессии

Набор Keras-моделей WasteAI классифицирует изображения отходов по шести категориям и подходит для экспериментов с компьютерным зрением и переработкой.

217скачиваний за 30 дней1лайквеса обновлены13 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

WasteAI — набор из четырёх обученных сверточных нейросетей, опубликованный Atchyuteswar Gottumukkala. Модели классифицируют изображения отходов по шести категориям: картон, стекло, металл, бумага, пластик и прочий мусор. В репозитории представлены собственная CNN и модели на основе transfer learning: MobileNetV2, VGG16 и VGG19. Все варианты принимают RGB-изображения размером 224 × 224 пикселя; репозиторий содержит модели в формате Keras/TensorFlow.

Модели предназначены для учебных и исследовательских экспериментов, сравнения архитектур и создания прототипов распознавания отходов. На тестовой выборке проекта VGG19 показала точность 91,29%, VGG16 — 88,65%, а MobileNetV2 — 87,07%; эти результаты не гарантируют аналогичную работу на реальных изображениях. Для предсказаний важно применять именно ту предобработку, которая соответствует выбранной архитектуре. Лицензия в предоставленных данных не указана.

Сценарии применения

  • Классификация изображений отходов на картон, стекло, металл, бумагу, пластик и прочий мусор
  • Создание учебного прототипа распознавания отходов по фотографии
  • Сравнение CNN, MobileNetV2, VGG16 и VGG19 на задаче классификации мусора

Ограничения

Классификация ограничена шестью категориями и не определяет состав материала, загрязнение, тип пластика или возможность переработки по местным правилам. Показатели тестовой выборки могут не переноситься на реальные условия; оценки модели не являются калиброванными вероятностями.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

WasteAI — Deep Learning-Based Waste Classification

WasteAI is an academic deep-learning project that classifies waste images into six categories using four convolutional neural network architectures.

The repository contains four trained Keras models, allowing developers and researchers to explore image classification, compare model performance and experiment with waste-category recognition.

Project Overview

WasteAI explores automated waste classification using computer vision and deep learning. It compares a custom CNN architecture with three transfer-learning architectures and provides a common evaluation workflow.

Project links:

Supported Waste Categories

The models classify images into six categories:

  1. Cardboard
  2. Glass
  3. Metal
  4. Paper
  5. Plastic
  6. Trash

The class-index mapping is:

ClassIndex
Cardboard0
Glass1
Metal2
Paper3
Plastic4
Trash5

Available Models

Four trained models are hosted in this repository.

ModelFilenameTest Accuracy
Custom CNNcnn_model.keras73.09%
MobileNetV2mobilenetv2_model.keras87.07%
VGG16vgg16_model.keras88.65%
VGG19vgg19_model.keras91.29%

All models use 224 × 224 RGB image inputs.

Model Evaluation

The models were evaluated on the same held-out test split from the Garbage Classification dataset.

ModelAccuracyMacro PrecisionMacro RecallMacro F1
VGG1991.29%90.43%89.76%89.93%
VGG1688.65%87.58%88.14%87.69%
MobileNetV287.07%87.29%85.67%86.01%
Custom CNN73.09%70.27%72.12%69.62%

VGG19 achieved the highest recorded test accuracy, while MobileNetV2 provides a smaller model with a competitive result.

These metrics describe the project's held-out test set. They are not guarantees of performance on unseen real-world waste images.

Dataset

The project uses the Garbage Classification dataset on Kaggle.

The Stage 2 dataset split contains:

Dataset SplitNumber of Images
Training1,768
Validation379
Testing379
Total2,526

Dataset configuration:

  • Image dimensions: 224 × 224 pixels
  • Color channels: RGB
  • Random seed: 42
  • Training split: 70%
  • Validation split: 15%
  • Testing split: 15%

The original dataset is not included in this repository.

Image Preprocessing

All models use RGB images resized to 224 × 224 pixels.

The training pipeline first converts images to floating-point values and divides pixel values by 255. Architecture-specific preprocessing is then applied.

ModelPreprocessing
Custom CNNPixel values scaled to [0, 1]
MobileNetV2Keras MobileNetV2 preprocess_input
VGG16Keras VGG16 preprocess_input
VGG19Keras VGG19 preprocess_input

For MobileNetV2, VGG16 and VGG19, the common normalized tensor is multiplied by 255 before applying the corresponding Keras preprocessing function.

Important: Use the preprocessing associated with the selected model. Applying the wrong normalization can significantly affect predictions.

Loading a Model

Install the required libraries:

pip install tensorflow keras huggingface_hub pillow numpy

Example: download and load the VGG19 model.

import tensorflow as tf
from huggingface_hub import hf_hub_download

MODEL_REPO = "Atchyuteswar/wasteai-models"

model_path = hf_hub_download(
    repo_id=MODEL_REPO,
    filename="vgg19_model.keras"
)

model = tf.keras.models.load_model(
    model_path,
    compile=False
)

print("VGG19 model loaded successfully!")

To load another architecture, change the filename to one of:

  • cnn_model.keras
  • mobilenetv2_model.keras
  • vgg16_model.keras
  • vgg19_model.keras

Technology Stack

  • Python 3.11
  • TensorFlow 2.21.0
  • Keras 3.13.2
  • NumPy
  • Pillow
  • scikit-learn
  • Hugging Face Hub
  • Streamlit

Intended Use

These models are intended for:

  • Educational and academic research.
  • Experimentation with image classification.
  • Comparing convolutional neural network architectures.
  • Exploring computer-vision applications for waste classification.
  • Developing experimental waste-recognition applications.

Limitations and Responsible Use

WasteAI is an academic research prototype and is not a certified waste-management or recycling system.

The models predict one of six dataset categories. They do not determine exact material composition, contamination, plastic resin type or whether an item is recyclable under local rules.

Model scores are outputs of the classification model and should not be interpreted as calibrated probabilities of correctness.

Performance on the held-out dataset may not generalize to different environments, lighting conditions, camera types or real-world waste streams.

Project Information

Project: WasteAI
Version: 1.0.0
Category: Computer Vision / Deep Learning
Developer: Atchyuteswar Gottumukkala

Related repositories:


WasteAI — Exploring smarter waste recognition through deep learning.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · keras

Нельзя запустить

Keras/TensorFlow-модели рантайм не загружает.

Ревизия весов
cb5293b

0 моделей