8 Repos
Tools for quantifying and comparing the computational resource requirements and efficiency of different neural network architectures.
Distinct from System Requirement Definitions: Closest candidates focus on software requirements tracking or system definitions, not the mathematical/computational complexity of AI models.
Explore 8 awesome GitHub repositories matching artificial intelligence & ml · Model Complexity Analysis. Refine with filters or upvote what's useful.
BasicSR is a PyTorch-based image restoration toolbox and framework designed for training and deploying deep learning models to upscale, denoise, and deblur images and videos. It serves as a comprehensive system for image super-resolution and video quality restoration, providing the necessary infrastructure to recover fine visual details and increase pixel density. The project distinguishes itself through specialized toolkits for facial image enhancement and high-fidelity face synthesis, as well as a dedicated video quality restoration suite that utilizes deformable convolutions and generative
Analyzes and compares the computational resource requirements and efficiency of various restoration architectures.
mmagic is a multimodal training pipeline and framework for generative AI, focusing on visual synthesis and restoration. It provides the infrastructure to build and train models for tasks such as text-to-image and text-to-video generation, 3D-aware content synthesis, and high-fidelity image translation using diffusion models and generative adversarial networks. The project distinguishes itself through specialized capabilities for generative model personalization, including techniques for fine-tuning subjects and styles. It also supports advanced visual manipulations such as latent space interp
Evaluates the computational cost of neural networks by calculating parameter counts and floating-point operations (FLOPs).
mmcv is a foundation library for computer vision based on PyTorch. It provides a comprehensive system for constructing convolutional neural networks, a toolkit for image and video preprocessing, and a collection of high-performance deep learning vision operators. The project is distinguished by its hardware-accelerated kernels for complex operations such as deformable convolutions and region pooling. It features a configuration-driven framework that allows for the dynamic instantiation of network layers and the registration of custom modules without modifying code. The library covers a broad
Calculates the computational complexity and resource requirements of neural network architectures to optimize inference.
pytorch-OpCounter is a profiling utility for PyTorch neural networks designed to quantify model efficiency by calculating floating point operations and multiply-accumulate counts. It functions as a complexity analyzer to measure the computational cost and theoretical workload of different model architectures. The tool allows for the definition of custom operation counting rules to support third-party modules not covered by default. It uses forward hooks to intercept module calls and recursive traversal of the module tree to aggregate operations across child sub-modules. The project provides
Quantifies the theoretical workload of a model to estimate its efficiency and resource requirements before deployment.
This project is a PyTorch person re-identification framework designed for training and evaluating models that identify individuals across different camera views. It provides a complete model training pipeline, a deep learning feature extractor for converting images into numeric vectors, and a suite of computer vision benchmarking tools to measure identity retrieval accuracy. The framework includes a specialized transfer learning toolkit that supports layer freezing, staged learning rate optimization, and differential learning rates for fine-tuning pretrained models. It distinguishes itself th
Calculates theoretical time complexity by counting total parameters and floating point operations.
mmocr ist ein auf PyTorch basierendes Framework für optische Zeichenerkennung (OCR), das für das Training und Deployment von Modellen zur Texterkennung, -identifizierung und Extraktion von Schlüsselinformationen entwickelt wurde. Es dient als umfassende Toolbox für die Erkennung und Identifizierung von Text in Szenen und bietet spezialisierte Bibliotheken zum Lokalisieren von Textregionen und zum Konvertieren von visuellem Text in maschinell kodierte Strings. Das Projekt zeichnet sich durch ein Forschungs-Framework für die Extraktion von Schlüsselinformationen und fortgeschrittene Text-Spotting-Funktionen aus. Dazu gehören punktbasiertes Spotting mittels Transformern und die Verwendung parametrisierter Bezier-Kurven, um beliebig geformten Text zu identifizieren und zu transkribieren. Das Framework deckt ein breites Spektrum an Computer-Vision-Funktionen ab, einschließlich Daten-Pipeline-Management zur Augmentierung und Standardisierung diverser OCR-Datensätze, Modelltraining mit verteilter Skalierung und Performance-Evaluierung unter Verwendung von Standard-OCR-Metriken. Es bietet zudem Dienstprogramme für geometrische Polygon-Manipulation und Ergebnisvisualisierung zur Überprüfung von Vorhersagen gegen Ground-Truth-Annotationen. Das System ist in Python implementiert und unterstützt die Installation über Docker-Umgebungs-Packaging.
Calculates model parameter counts and floating point operations to quantify computational resource requirements.
Dieses Projekt ist eine umfassende Lehrressource und ein Kurs zum Aufbau neuronaler Netze mit PyTorch. Es deckt die grundlegenden Bausteine des Deep Learning ab, einschließlich Tensor-Manipulation, automatischer Differenzierung und der Konstruktion modularer Komponenten für neuronale Netze. Das Repository dient als technischer Leitfaden für verschiedene spezialisierte Bereiche. Es bietet Implementierungsdetails für Computer-Vision-Aufgaben wie Bildklassifizierung, Objekterkennung und semantische Segmentierung sowie Workflows für die Verarbeitung natürlicher Sprache (NLP) mit Transformern, rekurrenten Netzen und generativen Modellen. Zudem enthält es eine Referenz für generative KI, mit Fokus auf die Synthese von Bildern mittels Diffusionsmodellen und adversarialen Netzwerken. Das Material erstreckt sich auf Modelloptimierung und Deployment-Pipelines. Es behandelt Techniken zur Reduzierung der Modellgröße und zur Erhöhung der Inferenzgeschwindigkeit durch Quantisierung und den Export von Modellen in Formate wie ONNX und TensorRT. Weitere Kompetenzbereiche umfassen Data Engineering für paralleles Laden, Modellevaluierung mittels benutzerdefinierter Metriken und das Deployment von Open-Source Large Language Models. Das Projekt wird primär als eine Reihe von Jupyter Notebooks bereitgestellt.
Provides tools to calculate parameter counts and floating-point operations to evaluate the computational requirements of neural networks.
RecBole ist ein PyTorch-basiertes Empfehlungs-Framework, das für das Erstellen, Trainieren und Evaluieren einer Vielzahl von Empfehlungsalgorithmen entwickelt wurde. Es dient als standardisierte Benchmark-Umgebung, die den Vergleich verschiedener Modellarchitekturen unter Verwendung öffentlicher Datensätze und konsistenter Evaluierungsmetriken ermöglicht. Das Projekt bietet spezialisierte Toolkits für sequenzielle Empfehlungen und Knowledge-Graph-Integration, was die Vorhersage von Item-Sequenzen basierend auf der Nutzerhistorie oder die Einbindung von strukturiertem externem Wissen ermöglicht. Es enthält eine dedizierte Hyperparameter-Optimierungs-Engine, die Grid-Search und Bayesian-Optimierung nutzt, um Modellkonfigurationen abzustimmen. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich Datenmanagement zur Standardisierung von Interaktionslogs, Trainings-Pipelines mit verteilter Gradienten-Synchronisierung und Mixed-Precision-Ausführung sowie umfassende Evaluierungstools für Kandidaten-Ranking und Diversitätsanalyse. Es unterstützt mehrere Empfehlungstypen, wie allgemeines Collaborative Filtering und Click-Through-Rate-Vorhersage. Die Bibliothek ist in Python implementiert und nutzt PyTorch als zugrunde liegendes Empfehlungs-Framework.
Analyzes computational complexity by computing floating point operations for each operator in a model.