Code DAO
Author

Code DAO

We deliver AI algorithm tutorials and the latest news, curated by a team of researchers from Peking University, Shanghai Jiao Tong University, Central South University, and leading AI companies such as Huawei, Kuaishou, and SenseTime. Join us in the AI alchemy—making life better!

100
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Code DAO

100 recent articles max
Code DAO
Code DAO
Jun 7, 2022 · Artificial Intelligence

How to Implement SRCNN for Image Super‑Resolution in PyTorch

This article walks through a complete PyTorch implementation of the SRCNN model for image super‑resolution, covering dataset preparation, patch extraction, model architecture, training on a GTX 770 GPU for 2500 epochs, PSNR evaluation, and visual comparisons with bicubic up‑sampling.

PSNRPatchifyPyTorch
0 likes · 22 min read
How to Implement SRCNN for Image Super‑Resolution in PyTorch
Code DAO
Code DAO
Jun 3, 2022 · Artificial Intelligence

Decomposing PointGAN: Teaching a Machine to Generate a Single Point

This article walks through building and analyzing a minimal GAN—PointGAN—that learns to output the single value 1, covering the linear generator, a two‑layer discriminator, training loops, loss visualizations, instability diagnostics, and practical fixes such as loss easing, weighted examples, weight decay, and noisy generator parameters.

DiscriminatorGANGenerator
0 likes · 24 min read
Decomposing PointGAN: Teaching a Machine to Generate a Single Point
Code DAO
Code DAO
May 31, 2022 · Artificial Intelligence

How Deep Convolutional Networks Boost Image Super-Resolution: A Paper Review

This article reviews the seminal SRCNN paper, detailing its contributions, architecture, training pipeline, hyper‑parameters, and extensive experiments that show how a shallow fully‑convolutional network achieves superior PSNR and runtime compared to traditional sparse‑coding and bicubic methods.

CNNDeep LearningPSNR
0 likes · 12 min read
How Deep Convolutional Networks Boost Image Super-Resolution: A Paper Review
Code DAO
Code DAO
May 28, 2022 · Artificial Intelligence

How to Build an Image Duplicate Detection System

This article explains how to construct an image duplicate and near‑duplicate detection system, compares five similarity methods (Euclidean distance, SSIM, image hashing, cosine similarity, and CNN‑based feature similarity), provides Python implementations, evaluates them on two datasets, and discusses speed, accuracy, and robustness results.

CNNEfficientNetPython
0 likes · 18 min read
How to Build an Image Duplicate Detection System
Code DAO
Code DAO
May 27, 2022 · Artificial Intelligence

Building an Image Classification Model with CNNs

This article explains how to train a convolutional neural network on a remote GPU for image classification, covering convolution, padding, activation, pooling, dropout, flattening, fully‑connected layers, dataset preparation, model definition, training, and prediction using TensorFlow/Keras.

CNNFood-101GPU training
0 likes · 13 min read
Building an Image Classification Model with CNNs
Code DAO
Code DAO
May 26, 2022 · Artificial Intelligence

Understanding Denoising Diffusion Probabilistic Models: Fundamentals and Process

This article explains the fundamentals of denoising diffusion probabilistic models, detailing the forward Gaussian noise injection, the reverse reconstruction via learned conditional densities, model architecture, loss functions, and experimental results on synthetic datasets, all supported by key research citations.

Markov chainarXivdiffusion models
0 likes · 8 min read
Understanding Denoising Diffusion Probabilistic Models: Fundamentals and Process
Code DAO
Code DAO
May 21, 2022 · Artificial Intelligence

How Quantization and Fusion Accelerate CNN Inference on Edge Devices

The article explains CNN inference optimization by applying PyTorch quantization and module‑fusion techniques, compares model size and latency before and after quantization, shows code for building, quantizing, and fusing a simple CNN, and presents benchmark results on CPU, highlighting a four‑fold size reduction and up to 1.7× speed‑up.

CNNPyTorchedge inference
0 likes · 11 min read
How Quantization and Fusion Accelerate CNN Inference on Edge Devices
Code DAO
Code DAO
May 20, 2022 · Artificial Intelligence

Building a Collaborative Denoising Autoencoder with PyTorch Lightning

This article explains the collaborative denoising autoencoder (CDAE) for recommendation, walks through data preparation with MovieLens, shows a full PyTorch Lightning implementation, tunes hyper‑parameters using Ray Tune and CometML, and reports detailed evaluation metrics.

AutoencoderCDAECometML
0 likes · 11 min read
Building a Collaborative Denoising Autoencoder with PyTorch Lightning
Code DAO
Code DAO
May 19, 2022 · Artificial Intelligence

Semi‑Supervised Training Methods for Transformers

This article explains an end‑to‑end semi‑supervised training pipeline for Transformer‑based NLP models, detailing the unsupervised language‑model pre‑training, supervised fine‑tuning, and the internal architecture of embeddings, encoder layers, and downstream tasks such as text classification and NER.

BERTFine-tuningMasked Language Model
0 likes · 9 min read
Semi‑Supervised Training Methods for Transformers
Code DAO
Code DAO
May 18, 2022 · Artificial Intelligence

A Practical Guide to PyTorch Visualization Tools for Deep Learning

This article walks through the core PyTorch visualization utilities—making image grids, drawing bounding boxes, segmentation masks, and keypoints—explaining why they are needed, how to set up the pipeline, and providing complete code examples for each computer‑vision task.

Bounding BoxesComputer VisionKeypoints
0 likes · 18 min read
A Practical Guide to PyTorch Visualization Tools for Deep Learning