mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-05 17:34:21 +00:00
AlexNet
AlexNet Inference on CUDANet
Usage
- Export pytorch AlexNet weight pretrained on ImageNet (requires pytorch and torchvision):
python alexnet.py
-
Follow the instructions from repository root to build CUDANet library.
-
Build AlexNet
mkdir build
cd build
cmake -S ..
make
- Run AlexNet inference
alexnet ../alexnet_weights.bin ../image.jpg