The Tensorflow slim library provides the graph structure for alexnet, however it doesn't seem to provide a pre-trained (on Imagenet) alexnet checkpoint (https://github.com/tensorflow/models/tree/master/research/slim). Is there anywhere a pre-trained alexnet checkpoint for TF-slim is provided?
Unlike VGG or Inception, TensorFlow doesn’t ship with a pretrained AlexNet. Caffe does but it's not a trivial task to convert to tensorflow.
Thanks to Frederik Kratzert, he did that job and share here
In summary, you need to:
Download Caffe model and weights
Use the caffe-to-tensorflow to convert the Caffe model to Tensorflow model
Refer the diferences if any between the converted model and the slim model and make the adaptation
For more details, please look here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With