fengbingchun/NN_Test

This project contains some deep learning code

What it solves

This project provides a comprehensive collection of code examples and implementations for deep learning, machine learning, and mathematical algorithms. It serves as a practical reference for developers looking to understand how these concepts are built from scratch or integrated using popular libraries.

How it works

The repository is divided into two main sections: C++ implementations and Python demonstrations. The C++ section focuses on building fundamental neural network components, optimization algorithms, and mathematical operations (like linear algebra and probability) from the ground up, while also showing how to interface with libraries like OpenCV and libtorch. The Python section provides ready-to-run scripts for modern AI tasks, including RAG (Retrieval-Augmented Generation) with Ollama, object detection with YOLO, face recognition with InsightFace, and OCR with PaddleOCR.

Who it’s for

This project is for developers and students who want to see concrete, working code for deep learning and machine learning algorithms. It is particularly useful for those who prefer learning by reading and running code rather than just studying theory, and for those working on Windows-based development environments.

Highlights

  • Extensive C++ library of neural network building blocks, including activation functions, loss functions, and optimization methods like Adam and SGD.
  • Practical implementations of mathematical foundations such as SVD, eigenvalue decomposition, and covariance matrices.
  • A wide range of Python demos covering modern AI workflows like YOLOv8/11, RAG pipelines, and model pruning.
  • Integration guides for popular tools like OpenCV, MediaPipe, Ultralytics, and PaddleOCR.
  • Support for building and testing on Windows 10 with Visual Studio.

Related

  • Project
  • Project
  • Project
  • Project
  • Project