Hi,
I always getting the error shown in the picture.

I didn't used the pretrained model to train my own one, so I changed the number of classes to 1.
Can someone help me with this problem?
I am using:
Python 3.8.8
CoreML toolkit 4.1
Thanks for the help.