How to use Alexnet in fast.ai?

I want to use Alexnet pretrained model with fast.ai library, but can’t figure out how. Any help would be appreciated.
Thanks in advance.

2 Likes

Not sure, but I think we can use as below.

learn_alex = vision_learner(dataset, alexnet, metrics=[error_rate, accuracy])
learn_alex.fine_tune(5)