mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
394 B
394 B
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