You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use insightface model inside pipeless. I've process.py where I write everything for the inference, while this works fine using CPU, when I switch to Cuda execution, I'm thrown with segmentation fault, in fact the stages do not load themselves. So we're halted on the very first step.
The onnx model loading part is added in init.py as model = insightface.model_zoo.get_model('det_500m.onnx', providers=['CPUExecutionProvider']) . It is working fine with 'CPUExecutionProvider'.
But when the provider is changed to 'CUDAExecutionProvider', it is showing Segmentation fault.
Any help to figure out this would be much much appreciated. We've run the same script away from pipeless and it works just fine.
Thanks
V
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use insightface model inside pipeless. I've process.py where I write everything for the inference, while this works fine using CPU, when I switch to Cuda execution, I'm thrown with segmentation fault, in fact the stages do not load themselves. So we're halted on the very first step.
The onnx model loading part is added in init.py as
model = insightface.model_zoo.get_model('det_500m.onnx', providers=['CPUExecutionProvider'])
. It is working fine with 'CPUExecutionProvider'.But when the provider is changed to 'CUDAExecutionProvider', it is showing Segmentation fault.
Any help to figure out this would be much much appreciated. We've run the same script away from pipeless and it works just fine.
Thanks
V
The text was updated successfully, but these errors were encountered: