@olof
We have integrated postprocessor for the SCRFD models into PySDK thereby making it easy to run these models. Most of your code was correct: we made minor improvements so that the dequantization of output tensors based on values returned by device (as suggested by @pierrem). Now the same postprocessor can be used for all the 3 flavors of SCRFD models: 10g, 2.5g, and 500m.
Here is a link to our post in case you are interested: SCRFD Model Support in DeGirum PySDK