Use of Xception pretrained model in fastai

Hi friends,
I had used resnet50 model and got good accuracy and while I was trying for pre-trained Xception model it’s giving a type error as follows

.

If anybody has solved with this type of error. Please let us know.
Thanks in advance.

1 Like

I would recommend using the Cadene pretrained models (which is now included as part of fastai in the latest version)… According to the source code of the Xception model, it is experimental and no pretrained model is available for the native fastai implementation…

2 Likes

Thanks for your reply. Actually, I didn’t use pytorch before instead, I had used keras. It seems I have to start learning pytorch.

You can use cadene pretrained models with fastai…

1 Like

Yeah, fine Thank you.

Hello! How to use cadene pretrained models in fast.ai-v3? Please help me!