MindSpore Data Pipeline: Loading, Transforming, and Customizing Datasets
Data is the cornerstone of deep learning—its quality, structure, and preprocessing directly influence model convergence and generalization. MindSpore’s mindspore.dataset module provides a high-performance, pipeline-based data engine that decouples data loading from transformation logic, enabling scalable and composable preprocessing workflows.
...
Posted on Wed, 23 Sep 2026 16:52:47 +0000 by Fazer
MindSpore Quick Start: An End-to-End MNIST Classifier
The MNIST dataset contains 60,000 training and 10,000 test grayscale images of handwritten digits, each 28×28 pixels. A complete MindSpore workflow loads this data, defines a feed-forward neural network, optimizes the parameters, and persists the trained weights.
Data Loading
Place the raw files under MNIST_Data/ with train/ and test/ subdirect ...
Posted on Sat, 05 Sep 2026 16:53:12 +0000 by who_cares
BERT-based Emotion Recognition in Dialog Systems
Model Overview
BERT (Bidirectional Encoder Representations from Transformers) is a language model developed by Google that uses Transformer encoder architecture with bidirectional context processing. Unlike traditional recurrent networks, BERT processes input sequences in both directions simultaneously, enabling comprehensive contextual underst ...
Posted on Thu, 03 Sep 2026 16:11:08 +0000 by mattheww
Transfer Learning Strategies with ResNet50 for Visual Recognition Tasks
Transfer learning in computer vision typically employs convolutional neural networks pre-trained on massive datasets such as ImageNet, which contains 1.2 million annotated images spanning 1,000 object categories. These pre-trained models capture hierarchical visuall representations transferable to specialized downstream tasks.
Two fundamental a ...
Posted on Mon, 24 Aug 2026 16:56:56 +0000 by admin101
Functional Automatic Differentiation in MindSpore
Introduction to Functional Automatic Differentiation
Automatic differentiation is a core technique in neural network training that enables efficient computation of gradients for optimization. MindSpore implements a functional approach to automatic differentiation through its grad and value_and_grad interfaces, which provide mathematical semanti ...
Posted on Fri, 14 Aug 2026 16:50:33 +0000 by private_click
Implementing Vision Transformers for Image Classification
Understanding Vision Transformers for Image Classification
The Vision Transformer (ViT) represents a groundbreaking approach that merges principles from natural language processing with computer vision. This architecture leverages self-attention mechanisms to achieve impressive results in image classification tasks without relying on traditiona ...
Posted on Thu, 06 Aug 2026 16:38:07 +0000 by jola
Accelerating Neural Network Execution with Static Graph Mode in MindSpore
Understanding Execution Modes in AI Compilation Frameworks
Deep learning frameworks support two primary execution modes: dynamic graph and static graph. MindSpore defaults to dynamic graph mode but provides mechanisms to utilize static graph compilation for performance optimization.
Dynamic Graph Mode (PyNative)
Dynamic graph mode executes oper ...
Posted on Mon, 22 Jun 2026 18:01:36 +0000 by rinventive
CycleGAN Implementation for Unpaired Image Translation
CycleGAN Architecture Overview
CycleGAN enables unpaired image-to-image translation using cycle-consistent adversarial networks. This approach learns mappings between domains without requiring paired training examples, making it suitable for style transfer applications like converting apples to oranges.
Dataset Preparation
The dataset consists ...
Posted on Sat, 20 Jun 2026 17:38:35 +0000 by mrjam
Implementing ResNet50 for Image Classification on CIFAR-10 with MindSpore
Image classification, a fundamental computer vision task, falls under supervised learning. Given an image, the goal is to predict its category. This article demonstrates how too use a ResNet50 network to classify the CIFAR-10 dataset using the MindSpore framework.
ResNet Architecture
ResNet50, introduced by Kaiming He et al. in 2015, won the IL ...
Posted on Tue, 26 May 2026 17:23:47 +0000 by tempi
ResNet50 Implementation for CIFAR-10 Image Classification
Image Classification Fundamentals
Image classification represents a foundational computer vision task within supervised learning paradigms. Given input imagery (e.g., cats, vehicles, aircraft), the objective is too assign the correct category label. This implementation demonstrates ResNet50 architecture applied to the CIFAR-10 dataset for class ...
Posted on Sat, 16 May 2026 14:01:15 +0000 by soulrazer