Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

LightNet

Implemented in pure pascal LightNet is an artificial intelligence neural network library Inspired by Darknet and yolo library which can run most of the darknet including YOLO models nativly and self dependently in pascal, tests are provided for both Lazarus and Delphi

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

# LightNet Implemented in pure pascal LightNet is an artificial intelligence neural network library Inspired by Darknet and YOLOv7 github C library, this implementation can run most of the darknet including YOLO models nativly and self dependently no external libraries required.

  • Currently training & inference runs on CPU , however i have notice that inference runs faster than the Optimized C CPU implementation
  • Optionally, using -dOPENBLAS or -dMKL ( Custom options in Lazarus-Ide for example ) will enable "libopenblas" or "Intel's Math Kernel Library" which is further optimized for CPU, however, on lazarus no significant improvement was noticed.
  • Before running the test make sure that yolov7.weights file is placed next to the test project executable.
  • Other .weights models should work (check "cfg" folder)
  • More Examples coming soon

Work pending

  • OpenCL and CUDA implementation
  • Test on other platforms (MacOS, Linux)
  • Test on Single Board Computers (NVIDIA Jetson, Raspberry PI, etc..)

tests provided for both Lazarus and Delphi

this project is still at the early stage, if you wish to see more models running in pure pascal, please consider donating here