Files
CUDANet/examples/alexnet
..
2024-04-22 22:04:46 +02:00
2024-04-18 22:31:14 +02:00
2024-04-22 21:59:08 +02:00
2024-04-22 22:56:29 +02:00

AlexNet

AlexNet Inference on CUDANet

Usage

  1. Export pytorch AlexNet weight pretrained on ImageNet (requires pytorch and torchvision):
python alexnet.py
  1. Follow the instructions from repository root to build CUDANet library.

  2. Build AlexNet (requires OpenCV for image loading and normalization)

mkdir build
cd build
cmake -S ..
make
  1. Run AlexNet inference
alexnet ../alexnet_weights.bin ../image.jpg