iOS 14.5 Coreml got error and not release the resource

Devices: iphone X, iPhone 12
iOS version: 14.5
Using customized model

Got this error after update to iOS 14.5 when coreml running :
Error Domain=com.apple.vis Code=11 "encountered unknown exception" UserInfo={NSLocalizedDescription=encountered unknown exception}

And then the coreml seems keep holding the resource and make AVCaptureOutput will not got any new frame.

I found a similar issue from stackoverflow but seems no good solution:
stackoverflow issue

Is there any solution for this? Or I have to change the structure of the model?

Does your model use a NonMaximumSuppression layer (or as part of a pipeline)?
iOS 14.5 Coreml got error and not release the resource
 
 
Q