Implement a model with AlexNet

I’m new to pytorch and i want to implement an example on Alextnet with pytorch , where can i find a good exmaple with all details which run an alextnet on a model ?
thanks

Hi torchvision includes AlexNet implementation. https://github.com/pytorch/vision/tree/master/torchvision/models

1 Like

I came here with similar question.
alexnet.py is an implenmentation

some more explanation here.
https://pytorch.org/docs/master/torchvision/models.html

I was going to reimplement this example of squeezenet using alexnet.

http://blog.outcome.io/pytorch-quick-start-classifying-an-image/

but I haven’t worked out how to load the image file and transform it to suit alexnet.

1 Like

The blog post you shared seems to explain the image loading and processing quite well. Where do you get stuck?