Use of Xception pretrained model in fastai


(P MD ZEESHAN SHEIKH) #1

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.


#2

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…


(P MD ZEESHAN SHEIKH) #3

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


#4

You can use cadene pretrained models with fastai…


(P MD ZEESHAN SHEIKH) #5

Yeah, fine Thank you.