awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

8 个仓库

Awesome GitHub RepositoriesLoss Function Implementations

Implementations of error metrics used to calculate the difference between neural network predictions and targets.

Distinct from Cross-Entropy Loss Functions: Covers a general set of L1, L2, and cross-entropy losses rather than a specific domain like object detection.

Explore 8 awesome GitHub repositories matching artificial intelligence & ml · Loss Function Implementations. Refine with filters or upvote what's useful.

Awesome Loss Function Implementations GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • open-mmlab/mmagicopen-mmlab 的头像

    open-mmlab/mmagic

    7,434在 GitHub 上查看↗

    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

    Defines new loss modules by wrapping functional implementations in classes and registering them via configuration.

    Jupyter Notebookaigccomputer-visiondeep-learning
    在 GitHub 上查看↗7,434
  • kevinmusgrave/pytorch-metric-learningKevinMusgrave 的头像

    KevinMusgrave/pytorch-metric-learning

    6,328在 GitHub 上查看↗

    PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving embedding spaces. It provides a modular framework where interchangeable loss functions, mining strategies, and evaluation tools can be composed to learn representations that map similar items to nearby points and dissimilar items to distant points in the embedding space. The library distinguishes itself through a highly configurable architecture that separates concerns across several interchangeable components. Users can assemble custom loss functions from pluggable distance metrics

    Trains embeddings by minimizing distance between similar pairs and maximizing distance between dissimilar pairs.

    Pythoncomputer-visioncontrastive-learningdeep-learning
    在 GitHub 上查看↗6,328
  • google-research/simclrgoogle-research 的头像

    google-research/simclr

    4,502在 GitHub 上查看↗

    此项目是一个自监督对比学习框架,旨在训练深度学习模型从图像中学习视觉表示,而无需使用人类提供的标签。它提供了一个系统,用于开发可适应下游计算机视觉任务的预训练视觉表示模型。 该框架包括用于半监督图像分类的工具,它结合了大型未标记数据集和小型标记集以提高准确性。它还具有线性探测评估工具,通过在冻结的表示之上训练简单的线性分类器来评估学习到的图像特征的质量。 代码库涵盖了分布式深度学习训练和硬件加速以处理大批量数据,以及优化原语,如余弦衰减学习率调度和权重衰减正则化。它还提供了模型管理实用程序,包括在不同深度学习框架格式之间转换预训练检查点,以及用于模型部署的工具。 该实现以 Jupyter Notebooks 集合的形式提供。

    Analyzes the behavior of contrastive loss functions to understand their influence on visual representation learning.

    Jupyter Notebookcomputer-visioncontrastive-learningrepresentation-learning
    在 GitHub 上查看↗4,502
  • nvlabs/tiny-cuda-nnNVlabs 的头像

    NVlabs/tiny-cuda-nn

    4,418在 GitHub 上查看↗

    This project is a high-performance C++ and CUDA neural network library designed for fast training and inference of small networks on NVIDIA GPUs. It serves as a specialized backend for neural radiance fields and coordinate-based networks, providing a fused GPU kernel library and a hash grid encoder for transforming raw input dimensions into high-dimensional representations. The library distinguishes itself through the use of C++ template metaprogramming and fused-kernel execution, which merge neural network layers into single GPU device functions to eliminate memory bottlenecks. It leverages

    Computes the standard L2 loss between network predictions and targets.

    C++cudadeep-learninggpu
    在 GitHub 上查看↗4,418
  • morvanzhou/tensorflow-tutorialMorvanZhou 的头像

    MorvanZhou/Tensorflow-Tutorial

    4,334在 GitHub 上查看↗

    本项目是使用 TensorFlow 进行神经网络开发的教育资源和参考实现集合。它作为一个全面的学习课程、机器学习课程大纲和构建深度学习架构的实践指南。 该代码库提供了涵盖广泛模型类型的教学材料和示例,包括用于图像分类的卷积神经网络、用于序列数据的循环网络和长短期记忆单元,以及用于生成式建模的自动编码器。它还包括用于深度强化学习智能体和将预训练模型适配到新任务的迁移学习技术的实现。 该项目涵盖了完整的开发生命周期,包括数据预处理、计算图定义和权重优化。它提供了用于模型评估和训练优化的实用工具(如 Dropout 和正则化),以及用于可视化网络架构和监控训练指标的工具。

    Implements various loss functions to calculate the error between predictions and actual values for minimization via gradient descent.

    Pythonautoencoderclassificationcnn
    在 GitHub 上查看↗4,334
  • snowkylin/tensorflow-handbooksnowkylin 的头像

    snowkylin/tensorflow-handbook

    3,927在 GitHub 上查看↗

    这是一个使用 TensorFlow 2 构建、训练和部署机器学习模型的综合教育资源和教程手册。它作为结构化学习指南,涵盖了深度学习的核心概念,包括神经网络架构、自动微分和张量运算。 该手册提供了关于通过 GPU 内存管理、分布式训练和模型量化来优化执行效率的技术指导。它还包括用于构建高性能数据管道以及将模型导出到生产服务器、移动设备和 Web 浏览器的详细手册。 该材料涵盖了广泛的功能,包括使用卷积和循环网络的模型开发、自定义损失函数和层的实现,以及使用预训练模型进行迁移学习。它还探讨了边缘设备的部署策略以及使用基于云的运行时进行硬件加速。 该资源以 Jupyter Notebooks 集合的形式实现。

    Demonstrates how to implement custom mathematical loss functions to calculate error metrics during training.

    Jupyter Notebook
    在 GitHub 上查看↗3,927
  • christianversloot/machine-learning-articleschristianversloot 的头像

    christianversloot/machine-learning-articles

    3,683在 GitHub 上查看↗

    This project is a machine learning educational archive and technical documentation collection. It serves as a deep learning tutorial series and implementation guide, providing theoretical explanations and practical walkthroughs for constructing and optimizing neural networks. The content focuses on the design and construction of diverse model architectures, including convolutional neural networks, Long Short-Term Memory networks, and generative adversarial networks. It details specific implementation patterns for autoencoders, sentiment analysis models, and various classification approaches.

    Provides implementations of error metrics, including binary crossentropy, to quantify the difference between predictions and targets.

    albertbertclustering
    在 GitHub 上查看↗3,683
  • lightly-ai/lightlylightly-ai 的头像

    lightly-ai/lightly

    3,684在 GitHub 上查看↗

    Lightly is a self-supervised learning framework and computer vision data curation tool designed to manage large image datasets and train models on unlabeled data. It functions as a PyTorch vision library and dataset management SDK, providing tools to convert raw images into high-dimensional vectors for similarity search, visualization, and feature extraction. The project implements a variety of self-supervised architectures, including MoCo, SimCLR, VICReg, Barlow Twins, and masked image modeling. It distinguishes itself by combining these learning frameworks with active learning capabilities,

    Implements specialized contrastive loss functions and memory banks to store past examples as negative samples.

    Pythoncomputer-visioncontrastive-learningcontributions-welcome
    在 GitHub 上查看↗3,684
  1. Home
  2. Artificial Intelligence & ML
  3. Loss Function Implementations

探索子标签

  • Contrastive Loss Implementations1 个子标签Specific implementations of contrastive objectives and memory banks for self-supervised learning. **Distinct from Loss Function Implementations:** Specializes in contrastive loss specifically, whereas the parent is a general collection of L1/L2/Cross-Entropy losses.
  • Relative L1 Loss FunctionsComputes L1 loss normalized by the network prediction. **Distinct from Loss Function Implementations:** Distinct from Loss Function Implementations: focuses on the specific relative L1 loss variant, not general loss function implementations.
  • Relative L2 Loss FunctionsComputes L2 loss normalized by the network prediction. **Distinct from Loss Function Implementations:** Distinct from Loss Function Implementations: focuses on the specific relative L2 loss variant, not general loss function implementations.
  • Relative L2 Luminance Loss FunctionsComputes L2 loss normalized by the luminance of the network prediction for RGB outputs. **Distinct from Loss Function Implementations:** Distinct from Loss Function Implementations: focuses on the specific luminance-normalized L2 loss variant, not general loss function implementations.