Files
CUDANet/examples/alexnet/README.md
2024-04-22 21:59:08 +02:00

394 B

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

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