mirror of
https://github.com/deepinsight/insightface.git
synced 2025-12-30 08:02:27 +00:00
Fixing a bug in the prepare function arguments.
This commit is contained in:
committed by
GitHub
parent
2fb2cb7865
commit
0fc64615e7
@@ -122,7 +122,7 @@ app.prepare(ctx_id=0, det_size=(640, 640))
|
||||
|
||||
# Method-2, load model directly
|
||||
detector = insightface.model_zoo.get_model('your_detection_model.onnx')
|
||||
detector.prepare(ctx_id=0, det_size=(640, 640))
|
||||
detector.prepare(ctx_id=0, input_size=(640, 640))
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user